Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
10 lines (7 loc) · 714 Bytes

EarningRuleProportionalOrderItemsAmount.md

File metadata and controls

10 lines (7 loc) · 714 Bytes

VoucherifySdk::EarningRuleProportionalOrderItemsAmount

Properties

Name Type Description Notes
type String Defines how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio. [default to 'PROPORTIONAL']
calculation_type String ORDER_ITEMS_AMOUNT; Pre-discount amount spent on items defined in the order_items.amount.object & .id (X points for every Y spent on items excluding discounts) [default to 'ORDER_ITEMS_AMOUNT']
order_items EarningRuleProportionalOrderItemsAmountOrderItems