Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.41 KB

DeductLoyaltyPointsEffectProps.md

File metadata and controls

29 lines (22 loc) · 1.41 KB

TalonOne::DeductLoyaltyPointsEffectProps

Properties

Name Type Description Notes
rule_title String The title of the rule that contained triggered this points deduction.
program_id Integer The ID of the loyalty program where these points were added.
sub_ledger_id String The ID of the subledger within the loyalty program where these points were added.
value Float The amount of points that were deducted.
transaction_uuid String The identifier of this deduction in the loyalty ledger.
name String The name property gets one of the following two values. It can be the loyalty program name or it can represent a reason for the respective deduction of loyalty points. The latter is an optional value defined in a deduction rule.
card_identifier String The alphanumeric identifier of the loyalty card. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::DeductLoyaltyPointsEffectProps.new(rule_title: null,
                                 program_id: null,
                                 sub_ledger_id: null,
                                 value: null,
                                 transaction_uuid: null,
                                 name: null,
                                 card_identifier: summer-loyalty-card-0543)