You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unique identifier of the transaction in the UUID format.
created
datetime
Date and time the loyalty transaction occurred.
program_id
int
ID of the loyalty program.
customer_session_id
str
ID of the customer session where the transaction occurred.
[optional]
store_integration_id
str
The integration ID of the store where the transaction occurred. Only set for transactions created by a customer session or event that referenced a store.
[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. - `on_action`: Points become active based on the customer's action. - 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 expire on 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 transaction.
ruleset_id
int
The ID of the ruleset containing the rule that triggered this effect.
The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance.
[optional]
validity_duration
str
The duration for which the points remain active, relative to the activation date. Note: This only applies to points for which `awaitsActivation` is `true` and `expiryDate` is not set.
[optional]
reference_transaction_uuids
List[str]
UUIDs of the addition transactions from which this subtraction deducted loyalty points. Only returned when `includeReferences` is `true` and the transaction has references.
[optional]
Example
fromtalon_one.models.ledger_transaction_log_entry_management_apiimportLedgerTransactionLogEntryManagementAPI# TODO update the JSON string belowjson="{}"# create an instance of LedgerTransactionLogEntryManagementAPI from a JSON stringledger_transaction_log_entry_management_api_instance=LedgerTransactionLogEntryManagementAPI.from_json(json)
# print the JSON string representation of the objectprint(LedgerTransactionLogEntryManagementAPI.to_json())
# convert the object into a dictledger_transaction_log_entry_management_api_dict=ledger_transaction_log_entry_management_api_instance.to_dict()
# create an instance of LedgerTransactionLogEntryManagementAPI from a dictledger_transaction_log_entry_management_api_from_dict=LedgerTransactionLogEntryManagementAPI.from_dict(ledger_transaction_log_entry_management_api_dict)