Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | ID of the loyalty ledger transaction. | |
ProgramId | Pointer to int32 | ID of the loyalty program. | |
CampaignId | Pointer to int32 | ID of the campaign. | [optional] |
Created | Pointer to time.Time | Date and time the loyalty transaction occurred. | |
Type | Pointer to string | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. | |
Amount | Pointer to float32 | Amount of loyalty points added or deducted in the transaction. | |
Name | Pointer to string | Name or reason for the loyalty ledger transaction. | |
StartDate | Pointer to string | When points become active. Possible values: - `immediate`: Points are immediately active. - a timestamp value: Points become active at a given date and time. | |
ExpiryDate | Pointer to string | When points expire. Possible values: - `unlimited`: Points have no expiration date. - a timestamp value: Points expire at a given date and time. | |
CustomerProfileId | Pointer to string | Customer profile integration ID used in the loyalty program. | [optional] |
CardIdentifier | Pointer to string | The alphanumeric identifier of the loyalty card. | [optional] |
SubledgerId | Pointer to string | ID of the subledger. | |
CustomerSessionId | Pointer to string | ID of the customer session where the transaction occurred. | [optional] |
ImportId | Pointer to int32 | ID of the import where the transaction occurred. | [optional] |
UserId | Pointer to int32 | ID of the user who manually added or deducted points. Applies only to manual transactions. | [optional] |
UserEmail | Pointer to string | The email of the Campaign Manager account that manually added or deducted points. Applies only to manual transactions. | [optional] |
RulesetId | Pointer to int32 | ID of the ruleset containing the rule that triggered the effect. Applies only for transactions that resulted from a customer session. | [optional] |
RuleName | Pointer to string | Name of the rule that triggered the effect. Applies only for transactions that resulted from a customer session. | [optional] |
func (o *LoyaltyProgramTransaction) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetIdOk() (int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasId() bool
HasId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *LoyaltyProgramTransaction) GetProgramId() int32
GetProgramId returns the ProgramId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetProgramIdOk() (int32, bool)
GetProgramIdOk returns a tuple with the ProgramId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasProgramId() bool
HasProgramId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetProgramId(v int32)
SetProgramId gets a reference to the given int32 and assigns it to the ProgramId field.
func (o *LoyaltyProgramTransaction) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetCampaignIdOk() (int32, bool)
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *LoyaltyProgramTransaction) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *LoyaltyProgramTransaction) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetTypeOk() (string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasType() bool
HasType returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (o *LoyaltyProgramTransaction) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetAmountOk() (float32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetAmount(v float32)
SetAmount gets a reference to the given float32 and assigns it to the Amount field.
func (o *LoyaltyProgramTransaction) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetNameOk() (string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *LoyaltyProgramTransaction) GetStartDate() string
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetStartDateOk() (string, bool)
GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetStartDate(v string)
SetStartDate gets a reference to the given string and assigns it to the StartDate field.
func (o *LoyaltyProgramTransaction) GetExpiryDate() string
GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetExpiryDateOk() (string, bool)
GetExpiryDateOk returns a tuple with the ExpiryDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasExpiryDate() bool
HasExpiryDate returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetExpiryDate(v string)
SetExpiryDate gets a reference to the given string and assigns it to the ExpiryDate field.
func (o *LoyaltyProgramTransaction) GetCustomerProfileId() string
GetCustomerProfileId returns the CustomerProfileId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetCustomerProfileIdOk() (string, bool)
GetCustomerProfileIdOk returns a tuple with the CustomerProfileId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasCustomerProfileId() bool
HasCustomerProfileId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetCustomerProfileId(v string)
SetCustomerProfileId gets a reference to the given string and assigns it to the CustomerProfileId field.
func (o *LoyaltyProgramTransaction) GetCardIdentifier() string
GetCardIdentifier returns the CardIdentifier field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetCardIdentifierOk() (string, bool)
GetCardIdentifierOk returns a tuple with the CardIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasCardIdentifier() bool
HasCardIdentifier returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetCardIdentifier(v string)
SetCardIdentifier gets a reference to the given string and assigns it to the CardIdentifier field.
func (o *LoyaltyProgramTransaction) GetSubledgerId() string
GetSubledgerId returns the SubledgerId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetSubledgerIdOk() (string, bool)
GetSubledgerIdOk returns a tuple with the SubledgerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasSubledgerId() bool
HasSubledgerId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetSubledgerId(v string)
SetSubledgerId gets a reference to the given string and assigns it to the SubledgerId field.
func (o *LoyaltyProgramTransaction) GetCustomerSessionId() string
GetCustomerSessionId returns the CustomerSessionId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetCustomerSessionIdOk() (string, bool)
GetCustomerSessionIdOk returns a tuple with the CustomerSessionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasCustomerSessionId() bool
HasCustomerSessionId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetCustomerSessionId(v string)
SetCustomerSessionId gets a reference to the given string and assigns it to the CustomerSessionId field.
func (o *LoyaltyProgramTransaction) GetImportId() int32
GetImportId returns the ImportId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetImportIdOk() (int32, bool)
GetImportIdOk returns a tuple with the ImportId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasImportId() bool
HasImportId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetImportId(v int32)
SetImportId gets a reference to the given int32 and assigns it to the ImportId field.
func (o *LoyaltyProgramTransaction) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetUserIdOk() (int32, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetUserId(v int32)
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (o *LoyaltyProgramTransaction) GetUserEmail() string
GetUserEmail returns the UserEmail field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetUserEmailOk() (string, bool)
GetUserEmailOk returns a tuple with the UserEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasUserEmail() bool
HasUserEmail returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetUserEmail(v string)
SetUserEmail gets a reference to the given string and assigns it to the UserEmail field.
func (o *LoyaltyProgramTransaction) GetRulesetId() int32
GetRulesetId returns the RulesetId field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetRulesetIdOk() (int32, bool)
GetRulesetIdOk returns a tuple with the RulesetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasRulesetId() bool
HasRulesetId returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetRulesetId(v int32)
SetRulesetId gets a reference to the given int32 and assigns it to the RulesetId field.
func (o *LoyaltyProgramTransaction) GetRuleName() string
GetRuleName returns the RuleName field if non-nil, zero value otherwise.
func (o *LoyaltyProgramTransaction) GetRuleNameOk() (string, bool)
GetRuleNameOk returns a tuple with the RuleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyProgramTransaction) HasRuleName() bool
HasRuleName returns a boolean if a field has been set.
func (o *LoyaltyProgramTransaction) SetRuleName(v string)
SetRuleName gets a reference to the given string and assigns it to the RuleName field.