Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.48 KB

EarningRuleBaseLoyalty.md

File metadata and controls

43 lines (27 loc) · 1.48 KB

EarningRuleBaseLoyalty

Properties

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

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"