Click or drag to resize
ProductDiscountSource Methods

The ProductDiscountSource type exposes the following members.

Methods
  NameDescription
Protected methodAddCatalogDiscounts
Adds grouped catalog discounts applicable to the specified sku to the groups collection.
Protected methodAddVolumeDiscounts
Adds a new discount group containing the volume discount for the specified sku in the given Quantity quantity.
Protected methodCreateFixedProductDiscount
Creates a new fixed product discount of the specified displayName and value.
Protected methodCreatePercentageProductDiscount
Creates a new percentage product discount of the specified displayName. The amount of the discount is specified by rate parameter.
Public methodGetDiscounts
Returns groups of discounts for the specified sku and price.
Top
See Also