Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.57 KB

File metadata and controls

43 lines (34 loc) · 2.57 KB

CardLedgerTransactionLogEntry

Log entry for a given loyalty card transaction.

Properties

Name Type Description Notes
transaction_uuid str Unique identifier of the transaction in the UUID format.
created datetime Date and time the loyalty card transaction occurred.
program_id int ID of the loyalty program.
card_identifier str The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
application_id int The ID of the Application that owns this entity. [optional]
session_id int The internal ID of the session. [optional]
customer_session_id str ID of the customer session where the transaction occurred. [optional]
type str Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points.
name str Name or reason of the loyalty ledger transaction.
start_date str When points become active. Possible values: - `immediate`: Points are immediately active. - a timestamp value: Points become active at a given date and time.
expiry_date str Date when points expire. Possible values are: - `unlimited`: Points have no expiration date. - `timestamp value`: Points become active from the given date.
subledger_id str ID of the subledger.
amount float Amount of loyalty points added or deducted in the transaction.
id int ID of the loyalty ledger entry.

Example

from talon_one.models.card_ledger_transaction_log_entry import CardLedgerTransactionLogEntry

# TODO update the JSON string below
json = "{}"
# create an instance of CardLedgerTransactionLogEntry from a JSON string
card_ledger_transaction_log_entry_instance = CardLedgerTransactionLogEntry.from_json(json)
# print the JSON string representation of the object
print(CardLedgerTransactionLogEntry.to_json())

# convert the object into a dict
card_ledger_transaction_log_entry_dict = card_ledger_transaction_log_entry_instance.to_dict()
# create an instance of CardLedgerTransactionLogEntry from a dict
card_ledger_transaction_log_entry_from_dict = CardLedgerTransactionLogEntry.from_dict(card_ledger_transaction_log_entry_dict)

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