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) · 709 Bytes

EarningRuleProportionalOrderItemsQuantity.md

File metadata and controls

10 lines (7 loc) · 709 Bytes

VoucherifySdk::EarningRuleProportionalOrderItemsQuantity

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_QUANTITY`: Quantity of items defined in order_items.quantity.object & .id (X points for every Y items excluding free items) [default to 'ORDER_ITEMS_QUANTITY']
order_items EarningRuleProportionalOrderItemsQuantityOrderItems