Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 3.55 KB

LedgerTransactionLogEntryManagementAPI.md

File metadata and controls

45 lines (36 loc) · 3.55 KB

LedgerTransactionLogEntryManagementAPI

Properties

Name Type Description Notes
transaction_uuid str 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. [optional]
rule_name str The name of the rule that triggered this effect. [optional]
flags LoyaltyLedgerEntryFlags 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

from talon_one.models.ledger_transaction_log_entry_management_api import LedgerTransactionLogEntryManagementAPI

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

# convert the object into a dict
ledger_transaction_log_entry_management_api_dict = ledger_transaction_log_entry_management_api_instance.to_dict()
# create an instance of LedgerTransactionLogEntryManagementAPI from a dict
ledger_transaction_log_entry_management_api_from_dict = LedgerTransactionLogEntryManagementAPI.from_dict(ledger_transaction_log_entry_management_api_dict)

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