Skip to content

Latest commit

 

History

History
325 lines (174 loc) · 10.4 KB

LedgerTransactionLogEntryIntegrationApi.md

File metadata and controls

325 lines (174 loc) · 10.4 KB

LedgerTransactionLogEntryIntegrationApi

Properties

Name Type Description Notes
Created Pointer to time.Time Date and time the loyalty transaction occurred.
ProgramId Pointer to int32 ID of the loyalty program.
CustomerSessionId Pointer to string ID of the customer session where the transaction occurred. [optional]
Type Pointer to string Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points.
Name Pointer to string Name or reason of 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 Date when points expire. Possible values are: - `unlimited`: Points have no expiration date. - `timestamp value`: Points expire on the given date.
SubledgerId Pointer to string ID of the subledger.
Amount Pointer to float32 Amount of loyalty points added or deducted in the transaction.
Id Pointer to int32 ID of the loyalty ledger transaction.
RulesetId Pointer to int32 The ID of the ruleset containing the rule that triggered this effect. [optional]
RuleName Pointer to string The name of the rule that triggered this effect. [optional]

Methods

GetCreated

func (o *LedgerTransactionLogEntryIntegrationApi) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasCreated

func (o *LedgerTransactionLogEntryIntegrationApi) HasCreated() bool

HasCreated returns a boolean if a field has been set.

SetCreated

func (o *LedgerTransactionLogEntryIntegrationApi) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

GetProgramId

func (o *LedgerTransactionLogEntryIntegrationApi) GetProgramId() int32

GetProgramId returns the ProgramId field if non-nil, zero value otherwise.

GetProgramIdOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasProgramId

func (o *LedgerTransactionLogEntryIntegrationApi) HasProgramId() bool

HasProgramId returns a boolean if a field has been set.

SetProgramId

func (o *LedgerTransactionLogEntryIntegrationApi) SetProgramId(v int32)

SetProgramId gets a reference to the given int32 and assigns it to the ProgramId field.

GetCustomerSessionId

func (o *LedgerTransactionLogEntryIntegrationApi) GetCustomerSessionId() string

GetCustomerSessionId returns the CustomerSessionId field if non-nil, zero value otherwise.

GetCustomerSessionIdOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasCustomerSessionId

func (o *LedgerTransactionLogEntryIntegrationApi) HasCustomerSessionId() bool

HasCustomerSessionId returns a boolean if a field has been set.

SetCustomerSessionId

func (o *LedgerTransactionLogEntryIntegrationApi) SetCustomerSessionId(v string)

SetCustomerSessionId gets a reference to the given string and assigns it to the CustomerSessionId field.

GetType

func (o *LedgerTransactionLogEntryIntegrationApi) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasType

func (o *LedgerTransactionLogEntryIntegrationApi) HasType() bool

HasType returns a boolean if a field has been set.

SetType

func (o *LedgerTransactionLogEntryIntegrationApi) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

GetName

func (o *LedgerTransactionLogEntryIntegrationApi) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasName

func (o *LedgerTransactionLogEntryIntegrationApi) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *LedgerTransactionLogEntryIntegrationApi) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

GetStartDate

func (o *LedgerTransactionLogEntryIntegrationApi) GetStartDate() string

GetStartDate returns the StartDate field if non-nil, zero value otherwise.

GetStartDateOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasStartDate

func (o *LedgerTransactionLogEntryIntegrationApi) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

SetStartDate

func (o *LedgerTransactionLogEntryIntegrationApi) SetStartDate(v string)

SetStartDate gets a reference to the given string and assigns it to the StartDate field.

GetExpiryDate

func (o *LedgerTransactionLogEntryIntegrationApi) GetExpiryDate() string

GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.

GetExpiryDateOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasExpiryDate

func (o *LedgerTransactionLogEntryIntegrationApi) HasExpiryDate() bool

HasExpiryDate returns a boolean if a field has been set.

SetExpiryDate

func (o *LedgerTransactionLogEntryIntegrationApi) SetExpiryDate(v string)

SetExpiryDate gets a reference to the given string and assigns it to the ExpiryDate field.

GetSubledgerId

func (o *LedgerTransactionLogEntryIntegrationApi) GetSubledgerId() string

GetSubledgerId returns the SubledgerId field if non-nil, zero value otherwise.

GetSubledgerIdOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasSubledgerId

func (o *LedgerTransactionLogEntryIntegrationApi) HasSubledgerId() bool

HasSubledgerId returns a boolean if a field has been set.

SetSubledgerId

func (o *LedgerTransactionLogEntryIntegrationApi) SetSubledgerId(v string)

SetSubledgerId gets a reference to the given string and assigns it to the SubledgerId field.

GetAmount

func (o *LedgerTransactionLogEntryIntegrationApi) GetAmount() float32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasAmount

func (o *LedgerTransactionLogEntryIntegrationApi) HasAmount() bool

HasAmount returns a boolean if a field has been set.

SetAmount

func (o *LedgerTransactionLogEntryIntegrationApi) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

GetId

func (o *LedgerTransactionLogEntryIntegrationApi) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasId

func (o *LedgerTransactionLogEntryIntegrationApi) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *LedgerTransactionLogEntryIntegrationApi) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

GetRulesetId

func (o *LedgerTransactionLogEntryIntegrationApi) GetRulesetId() int32

GetRulesetId returns the RulesetId field if non-nil, zero value otherwise.

GetRulesetIdOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasRulesetId

func (o *LedgerTransactionLogEntryIntegrationApi) HasRulesetId() bool

HasRulesetId returns a boolean if a field has been set.

SetRulesetId

func (o *LedgerTransactionLogEntryIntegrationApi) SetRulesetId(v int32)

SetRulesetId gets a reference to the given int32 and assigns it to the RulesetId field.

GetRuleName

func (o *LedgerTransactionLogEntryIntegrationApi) GetRuleName() string

GetRuleName returns the RuleName field if non-nil, zero value otherwise.

GetRuleNameOk

func (o *LedgerTransactionLogEntryIntegrationApi) 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.

HasRuleName

func (o *LedgerTransactionLogEntryIntegrationApi) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

SetRuleName

func (o *LedgerTransactionLogEntryIntegrationApi) SetRuleName(v string)

SetRuleName gets a reference to the given string and assigns it to the RuleName field.

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