Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 670 Bytes

EarningRuleProportionalOrderMetadata.md

File metadata and controls

10 lines (7 loc) · 670 Bytes

VoucherifySdk::EarningRuleProportionalOrderMetadata

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_METADATA`: Order Metadata (X points for every Y in metadata attribute, defined in the property key under the order.metadata object) [default to 'ORDER_METADATA']
order EarningRuleProportionalOrderMetadataOrder