Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.56 KB

File metadata and controls

41 lines (32 loc) · 2.56 KB

CardLedgerPointsEntryIntegrationAPI

Loyalty card 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 card points were added.
program_id int ID of the loyalty program.
customer_profile_id str Integration ID of the customer profile linked to the card. [optional]
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.card_ledger_points_entry_integration_api import CardLedgerPointsEntryIntegrationAPI

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

# convert the object into a dict
card_ledger_points_entry_integration_api_dict = card_ledger_points_entry_integration_api_instance.to_dict()
# create an instance of CardLedgerPointsEntryIntegrationAPI from a dict
card_ledger_points_entry_integration_api_from_dict = CardLedgerPointsEntryIntegrationAPI.from_dict(card_ledger_points_entry_integration_api_dict)

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