Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.22 KB

Tier.md

File metadata and controls

25 lines (18 loc) · 1.22 KB

TalonOne::Tier

Properties

Name Type Description Notes
id Integer The internal ID of the tier.
name String The name of the tier.
start_date DateTime Date and time when the customer moved to this tier. This value uses the loyalty program's time zone setting. [optional]
expiry_date DateTime Date when tier level expires in the RFC3339 format (in the Loyalty Program's timezone). [optional]
downgrade_policy String The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::Tier.new(id: 11,
                                 name: bronze,
                                 start_date: null,
                                 expiry_date: null,
                                 downgrade_policy: null)