ProductDiscountSource Methods |
The ProductDiscountSource type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddCatalogDiscounts |
Adds grouped catalog discounts applicable to the specified sku to the groups collection.
|
![]() | AddVolumeDiscounts |
Adds a new discount group containing the volume discount for the specified sku in the given Quantity quantity.
|
![]() | CreateFixedProductDiscount |
Creates a new fixed product discount of the specified displayName and value.
|
![]() | CreatePercentageProductDiscount |
Creates a new percentage product discount of the specified displayName.
The amount of the discount is specified by rate parameter.
|
![]() | GetDiscounts |
Returns groups of discounts for the specified sku and price.
|