Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the quantity discount configuration satisfying given quantity for given offer.
Syntax
public container getQuantityDiscountLevelByQuantity(RetailMultibuyDiscountId _offerId, RetailQtyLowest _quantity)
Run On
Called
Parameters
- _offerId
Type: RetailMultibuyDiscountId Extended Data Type
Offer Id to search by.
- _quantity
Type: RetailQtyLowest Extended Data Type
The quantity to search by. Configuration line will be for closest quantity less than or equal to this.
Return Value
Type: container
Quantity discount configuration containing offer Id, quantity threshold, and discount price/percent.