C# Class Sage.Integration.Northwind.Adapter.Services.DiscountFactory

Show file Open project: Sage/SData-Contracts Class Usage Examples

Public Properties

Property Type Description
DISCOUNT_QUANTITY decimal
DISOUNT_IN_PERCENT decimal

Public Methods

Method Description
GetDiscount ( decimal unitPrice, decimal quantity ) : Discount

Method Details

GetDiscount() public static method

public static GetDiscount ( decimal unitPrice, decimal quantity ) : Discount
unitPrice decimal
quantity decimal
return Discount

Property Details

DISCOUNT_QUANTITY public static property

public static decimal DISCOUNT_QUANTITY
return decimal

DISOUNT_IN_PERCENT public static property

public static decimal DISOUNT_IN_PERCENT
return decimal