Name |
Type |
Description |
Notes |
id |
Integer |
Internal ID of this entity. |
|
created |
DateTime |
The time this entity was created. |
|
program_id |
Integer |
The ID of the loyalty program that owns this entity. |
|
status |
String |
Status of the loyalty card. Can be `active` or `inactive`. |
|
block_reason |
String |
Reason for transferring and blocking the loyalty card. |
[optional] |
identifier |
String |
The alphanumeric identifier of the loyalty card. |
|
users_per_card_limit |
Integer |
The max amount of customer profiles that can be linked to the card. 0 means unlimited. |
|
profiles |
Array<LoyaltyCardProfileRegistration> |
Integration IDs of the customers profiles linked to the card. |
[optional] |
ledger |
LedgerInfo |
|
[optional] |
subledgers |
Hash<String, LedgerInfo> |
Displays point balances of the card in the subledgers of the loyalty program. |
[optional] |
modified |
DateTime |
Timestamp of the most recent update of the loyalty card. |
[optional] |
old_card_identifier |
String |
The alphanumeric identifier of the loyalty card. |
[optional] |
new_card_identifier |
String |
The alphanumeric identifier of the loyalty card. |
[optional] |
batch_id |
String |
The ID of the batch in which the loyalty card was created. |
[optional] |
require 'TalonOne'
instance = TalonOne::LoyaltyCard.new(id: 6,
created: 2020-06-10T09:05:27.993483Z,
program_id: 125,
status: active,
block_reason: Current card lost. Customer needs a new card.,
identifier: summer-loyalty-card-0543,
users_per_card_limit: 111,
profiles: null,
ledger: null,
subledgers: null,
modified: 2021-09-12T10:12:42Z,
old_card_identifier: summer-loyalty-card-0543,
new_card_identifier: summer-loyalty-card-0543,
batch_id: wdefpov)