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

Mostra 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_oe static_oe property

public static decimal DISCOUNT_QUANTITY
return decimal

DISOUNT_IN_PERCENT public_oe static_oe property

public static decimal DISOUNT_IN_PERCENT
return decimal