Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.39 KB

File metadata and controls

40 lines (31 loc) · 2.39 KB

LedgerPointsEntryIntegrationAPI

Loyalty profile points with start and expiry dates.

Properties

Name Type Description Notes
id int ID of the transaction that adds loyalty points.
transaction_uuid str Unique identifier of the transaction in the UUID format.
created datetime Date and time the loyalty points were added.
program_id int ID of the loyalty program.
customer_session_id str ID of the customer session where points were added. [optional]
name str Name or reason of the transaction that adds loyalty points.
start_date str When points become active. Possible values: - `immediate`: Points are active immediately. - `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 and time.
subledger_id str ID of the subledger.
amount float Amount of loyalty points added in the transaction.
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_points_entry_integration_api import LedgerPointsEntryIntegrationAPI

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

# convert the object into a dict
ledger_points_entry_integration_api_dict = ledger_points_entry_integration_api_instance.to_dict()
# create an instance of LedgerPointsEntryIntegrationAPI from a dict
ledger_points_entry_integration_api_from_dict = LedgerPointsEntryIntegrationAPI.from_dict(ledger_points_entry_integration_api_dict)

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