Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.67 KB

RollbackAddedLoyaltyPointsEffectProps.md

File metadata and controls

31 lines (24 loc) · 1.67 KB

TalonOne::RollbackAddedLoyaltyPointsEffectProps

Properties

Name Type Description Notes
program_id Integer The ID of the loyalty program where the points were originally added.
sub_ledger_id String The ID of the subledger within the loyalty program where these points were originally added.
value Float The amount of points that were rolled back.
recipient_integration_id String The user for whom these points were originally added.
transaction_uuid String The identifier of 'deduction' entry added to the ledger as the `addLoyaltyPoints` effect is rolled back.
cart_item_position Float The index of the item in the cart items for which the loyalty points were rolled back. [optional]
cart_item_sub_position Float For cart items with `quantity` > 1, the sub-position indicates to which item the loyalty points were rolled back. [optional]
card_identifier String The alphanumeric identifier of the loyalty card. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::RollbackAddedLoyaltyPointsEffectProps.new(program_id: null,
                                 sub_ledger_id: null,
                                 value: null,
                                 recipient_integration_id: URNGV8294NV,
                                 transaction_uuid: null,
                                 cart_item_position: null,
                                 cart_item_sub_position: null,
                                 card_identifier: summer-loyalty-card-0543)