Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
ProgramID | Pointer to int32 | The ID of the loyalty program that owns this entity. | |
Status | Pointer to string | Status of the loyalty card. Can be `active` or `inactive`. | |
BlockReason | Pointer to string | Reason for transferring and blocking the loyalty card. | [optional] |
Identifier | Pointer to string | The alphanumeric identifier of the loyalty card. | |
UsersPerCardLimit | Pointer to int32 | The max amount of customer profiles that can be linked to the card. 0 means unlimited. | |
Profiles | Pointer to []LoyaltyCardProfileRegistration | Integration IDs of the customers profiles linked to the card. | [optional] |
Ledger | Pointer to LedgerInfo | [optional] | |
Subledgers | Pointer to map[string]LedgerInfo | Displays point balances of the card in the subledgers of the loyalty program. | [optional] |
Modified | Pointer to time.Time | Timestamp of the most recent update of the loyalty card. | [optional] |
OldCardIdentifier | Pointer to string | The alphanumeric identifier of the loyalty card. | [optional] |
NewCardIdentifier | Pointer to string | The alphanumeric identifier of the loyalty card. | [optional] |
BatchId | Pointer to string | The ID of the batch in which the loyalty card was created. | [optional] |
func (o *LoyaltyCard) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *LoyaltyCard) 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 *LoyaltyCard) HasId() bool
HasId returns a boolean if a field has been set.
func (o *LoyaltyCard) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *LoyaltyCard) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *LoyaltyCard) 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 *LoyaltyCard) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *LoyaltyCard) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *LoyaltyCard) GetProgramID() int32
GetProgramID returns the ProgramID field if non-nil, zero value otherwise.
func (o *LoyaltyCard) 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 *LoyaltyCard) HasProgramID() bool
HasProgramID returns a boolean if a field has been set.
func (o *LoyaltyCard) SetProgramID(v int32)
SetProgramID gets a reference to the given int32 and assigns it to the ProgramID field.
func (o *LoyaltyCard) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetStatusOk() (string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *LoyaltyCard) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (o *LoyaltyCard) GetBlockReason() string
GetBlockReason returns the BlockReason field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetBlockReasonOk() (string, bool)
GetBlockReasonOk returns a tuple with the BlockReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasBlockReason() bool
HasBlockReason returns a boolean if a field has been set.
func (o *LoyaltyCard) SetBlockReason(v string)
SetBlockReason gets a reference to the given string and assigns it to the BlockReason field.
func (o *LoyaltyCard) GetIdentifier() string
GetIdentifier returns the Identifier field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetIdentifierOk() (string, bool)
GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (o *LoyaltyCard) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (o *LoyaltyCard) GetUsersPerCardLimit() int32
GetUsersPerCardLimit returns the UsersPerCardLimit field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetUsersPerCardLimitOk() (int32, bool)
GetUsersPerCardLimitOk returns a tuple with the UsersPerCardLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasUsersPerCardLimit() bool
HasUsersPerCardLimit returns a boolean if a field has been set.
func (o *LoyaltyCard) SetUsersPerCardLimit(v int32)
SetUsersPerCardLimit gets a reference to the given int32 and assigns it to the UsersPerCardLimit field.
func (o *LoyaltyCard) GetProfiles() []LoyaltyCardProfileRegistration
GetProfiles returns the Profiles field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetProfilesOk() ([]LoyaltyCardProfileRegistration, bool)
GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasProfiles() bool
HasProfiles returns a boolean if a field has been set.
func (o *LoyaltyCard) SetProfiles(v []LoyaltyCardProfileRegistration)
SetProfiles gets a reference to the given []LoyaltyCardProfileRegistration and assigns it to the Profiles field.
func (o *LoyaltyCard) GetLedger() LedgerInfo
GetLedger returns the Ledger field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetLedgerOk() (LedgerInfo, bool)
GetLedgerOk returns a tuple with the Ledger field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasLedger() bool
HasLedger returns a boolean if a field has been set.
func (o *LoyaltyCard) SetLedger(v LedgerInfo)
SetLedger gets a reference to the given LedgerInfo and assigns it to the Ledger field.
func (o *LoyaltyCard) GetSubledgers() map[string]LedgerInfo
GetSubledgers returns the Subledgers field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetSubledgersOk() (map[string]LedgerInfo, bool)
GetSubledgersOk returns a tuple with the Subledgers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasSubledgers() bool
HasSubledgers returns a boolean if a field has been set.
func (o *LoyaltyCard) SetSubledgers(v map[string]LedgerInfo)
SetSubledgers gets a reference to the given map[string]LedgerInfo and assigns it to the Subledgers field.
func (o *LoyaltyCard) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetModifiedOk() (time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *LoyaltyCard) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (o *LoyaltyCard) GetOldCardIdentifier() string
GetOldCardIdentifier returns the OldCardIdentifier field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetOldCardIdentifierOk() (string, bool)
GetOldCardIdentifierOk returns a tuple with the OldCardIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasOldCardIdentifier() bool
HasOldCardIdentifier returns a boolean if a field has been set.
func (o *LoyaltyCard) SetOldCardIdentifier(v string)
SetOldCardIdentifier gets a reference to the given string and assigns it to the OldCardIdentifier field.
func (o *LoyaltyCard) GetNewCardIdentifier() string
GetNewCardIdentifier returns the NewCardIdentifier field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetNewCardIdentifierOk() (string, bool)
GetNewCardIdentifierOk returns a tuple with the NewCardIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasNewCardIdentifier() bool
HasNewCardIdentifier returns a boolean if a field has been set.
func (o *LoyaltyCard) SetNewCardIdentifier(v string)
SetNewCardIdentifier gets a reference to the given string and assigns it to the NewCardIdentifier field.
func (o *LoyaltyCard) GetBatchId() string
GetBatchId returns the BatchId field if non-nil, zero value otherwise.
func (o *LoyaltyCard) GetBatchIdOk() (string, bool)
GetBatchIdOk returns a tuple with the BatchId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyCard) HasBatchId() bool
HasBatchId returns a boolean if a field has been set.
func (o *LoyaltyCard) SetBatchId(v string)
SetBatchId gets a reference to the given string and assigns it to the BatchId field.