Skip to content

Latest commit

 

History

History
169 lines (90 loc) · 4.7 KB

LoyaltyProgramLedgers.md

File metadata and controls

169 lines (90 loc) · 4.7 KB

LoyaltyProgramLedgers

Properties

Name Type Description Notes
Id Pointer to int32 The internal ID of loyalty program.
Title Pointer to string Visible name of loyalty program.
Name Pointer to string Internal name of loyalty program.
JoinDate Pointer to time.Time The date on which the customer joined the loyalty program in RFC3339. Note: This is in the loyalty program's time zone. [optional]
Ledger Pointer to LedgerInfo
SubLedgers Pointer to map[string]LedgerInfo A map containing information about each loyalty subledger. [optional]

Methods

GetId

func (o *LoyaltyProgramLedgers) GetId() int32

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

GetIdOk

func (o *LoyaltyProgramLedgers) 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 *LoyaltyProgramLedgers) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *LoyaltyProgramLedgers) SetId(v int32)

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

GetTitle

func (o *LoyaltyProgramLedgers) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *LoyaltyProgramLedgers) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasTitle

func (o *LoyaltyProgramLedgers) HasTitle() bool

HasTitle returns a boolean if a field has been set.

SetTitle

func (o *LoyaltyProgramLedgers) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

GetName

func (o *LoyaltyProgramLedgers) GetName() string

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

GetNameOk

func (o *LoyaltyProgramLedgers) 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 *LoyaltyProgramLedgers) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *LoyaltyProgramLedgers) SetName(v string)

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

GetJoinDate

func (o *LoyaltyProgramLedgers) GetJoinDate() time.Time

GetJoinDate returns the JoinDate field if non-nil, zero value otherwise.

GetJoinDateOk

func (o *LoyaltyProgramLedgers) GetJoinDateOk() (time.Time, bool)

GetJoinDateOk returns a tuple with the JoinDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasJoinDate

func (o *LoyaltyProgramLedgers) HasJoinDate() bool

HasJoinDate returns a boolean if a field has been set.

SetJoinDate

func (o *LoyaltyProgramLedgers) SetJoinDate(v time.Time)

SetJoinDate gets a reference to the given time.Time and assigns it to the JoinDate field.

GetLedger

func (o *LoyaltyProgramLedgers) GetLedger() LedgerInfo

GetLedger returns the Ledger field if non-nil, zero value otherwise.

GetLedgerOk

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

HasLedger

func (o *LoyaltyProgramLedgers) HasLedger() bool

HasLedger returns a boolean if a field has been set.

SetLedger

func (o *LoyaltyProgramLedgers) SetLedger(v LedgerInfo)

SetLedger gets a reference to the given LedgerInfo and assigns it to the Ledger field.

GetSubLedgers

func (o *LoyaltyProgramLedgers) GetSubLedgers() map[string]LedgerInfo

GetSubLedgers returns the SubLedgers field if non-nil, zero value otherwise.

GetSubLedgersOk

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

HasSubLedgers

func (o *LoyaltyProgramLedgers) HasSubLedgers() bool

HasSubLedgers returns a boolean if a field has been set.

SetSubLedgers

func (o *LoyaltyProgramLedgers) SetSubLedgers(v map[string]LedgerInfo)

SetSubLedgers gets a reference to the given map[string]LedgerInfo and assigns it to the SubLedgers field.

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