ProductsForThePoints¶
The ProductsForThePoints object represents the settings for the points exchange conditions in loyalty program in the storefront.
classDiagram
direction LR
class ProductsForThePoints{
bool exchangeDuringShopping
bool exchangeMinimumBasket
Price exchangeMinimumBasketValue
bool exchangeProductsLimit
int exchangeProductsLimitValue
bool exchangePointsLimit
int exchangePointsLimitValue
Price exchangePrice
}
Properties¶
Attribute name | Type | Description |
---|---|---|
exchangeDuringShopping | bool |
Returns true is points can only be exchanged for products when shopping in the store. |
exchangeMinimumBasket | bool |
Returns true if there is a minimum order amount. |
exchangeMinimumBasketValue | Price |
Minimum order amount from which points can be exchanged for prizes. Represented by the Price object |
exchangeProductsLimit | bool |
Returns true if there is a limit for number of products that can be exchanged at one time. |
exchangeProductsLimitValue | int |
Maximum number of products that can be exchanged at one time. |
exchangePointsLimit | bool |
Returns true if there is a limit for number of points tha can be exchanged at one time. |
exchangePointsLimitValue | int |
Maximum number of points that can be exchanged at one time. |
exchangePrice | Price |
Fee charged per unit of product. Represented by the Price object |