Skip to content

OrdersMode

The OrdersMode object represents settings in loyalty program in the storefront.

classDiagram
  direction LR
  class OrdersMode{
    int points
    Price amountOfCurrency
  }

Properties

Attribute name Type Description
points int Number of points given for purchases made at the store.
amountOfCurrency Price The sum of money spent on purchases for which points are awarded. Represented by the Price object

Examples

points property

You will receive {{ loyaltyProgramSettings.ordersMode.points }} points for every {{ loyaltyProgramSettings.ordersMode.amountOfCurrency }} spent.
 You will receive 140 points for every 15 € spent.

amountOfCurrency property

You will receive {{ loyaltyProgramSettings.ordersMode.points }} points for every {{ loyaltyProgramSettings.ordersMode.amountOfCurrency }} spent.
 You will receive 10 points for every $20 spent.