Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.36 KB

EarningRuleBaseLoyalty.md

File metadata and controls

43 lines (27 loc) · 1.36 KB

EarningRuleBaseLoyalty

Properties

Name Type Description
type TypeEnum
calculationType CalculationTypeEnum
order EarningRuleBaseLoyaltyOrder
orderItems EarningRuleBaseLoyaltyOrderItems
customer EarningRuleBaseLoyaltyCustomer
customEvent EarningRuleBaseLoyaltyCustomEvent
points Integer Defines how the points will be added to the loyalty card. FIXED adds a fixed number of points.

Enum: TypeEnum

Name Value
PROPORTIONAL "PROPORTIONAL"
FIXED "FIXED"

Enum: CalculationTypeEnum

Name Value
ORDER_AMOUNT "ORDER_AMOUNT"
ORDER_TOTAL_AMOUNT "ORDER_TOTAL_AMOUNT"
ORDER_METADATA "ORDER_METADATA"
ORDER_ITEMS_QUANTITY "ORDER_ITEMS_QUANTITY"
ORDER_ITEMS_AMOUNT "ORDER_ITEMS_AMOUNT"
ORDER_ITEMS_SUBTOTAL_AMOUNT "ORDER_ITEMS_SUBTOTAL_AMOUNT"
CUSTOMER_METADATA "CUSTOMER_METADATA"
CUSTOM_EVENT_METADATA "CUSTOM_EVENT_METADATA"