Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 3.16 KB

File metadata and controls

44 lines (35 loc) · 3.16 KB

LedgerTransactionLogEntryIntegrationAPI

Log entry for a given loyalty profile 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 transaction occurred.
program_id int ID of the loyalty program.
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. - `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]

Example

from talon_one.models.ledger_transaction_log_entry_integration_api import LedgerTransactionLogEntryIntegrationAPI

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

# convert the object into a dict
ledger_transaction_log_entry_integration_api_dict = ledger_transaction_log_entry_integration_api_instance.to_dict()
# create an instance of LedgerTransactionLogEntryIntegrationAPI from a dict
ledger_transaction_log_entry_integration_api_from_dict = LedgerTransactionLogEntryIntegrationAPI.from_dict(ledger_transaction_log_entry_integration_api_dict)

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