Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.66 KB

File metadata and controls

14 lines (10 loc) · 1.66 KB

ExtendLoyaltyPointsExpiryDateEffectProps

The properties specific to the "extendLoyaltyPointsExpiryDate" effect. This gets triggered when a validated rule contains the "extend expiry date" effect. The current expiry date gets extended by the time frame given in the effect.

Properties

Name Type Description Notes
program_id int ID of the loyalty program that contains these points.
sub_ledger_id str API name of the loyalty program subledger that contains these points. added.
extension_duration str Time frame by which the expiry date extends. The time format is either: - immediate, or - an integer followed by a letter indicating the time unit. Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year.
affected_transactions list[LoyaltyLedgerEntryExpiryDateChange] List of transactions affected by the expiry date update. [optional]

[Back to Model list] [Back to API list] [Back to README]