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] |
func (o *LoyaltyProgramLedgers) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *LoyaltyProgramLedgers) HasId() bool
HasId returns a boolean if a field has been set.
func (o *LoyaltyProgramLedgers) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *LoyaltyProgramLedgers) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
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.
func (o *LoyaltyProgramLedgers) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *LoyaltyProgramLedgers) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *LoyaltyProgramLedgers) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *LoyaltyProgramLedgers) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LoyaltyProgramLedgers) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *LoyaltyProgramLedgers) GetJoinDate() time.Time
GetJoinDate returns the JoinDate field if non-nil, zero value otherwise.
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.
func (o *LoyaltyProgramLedgers) HasJoinDate() bool
HasJoinDate returns a boolean if a field has been set.
func (o *LoyaltyProgramLedgers) SetJoinDate(v time.Time)
SetJoinDate gets a reference to the given time.Time and assigns it to the JoinDate field.
func (o *LoyaltyProgramLedgers) GetLedger() LedgerInfo
GetLedger returns the Ledger field if non-nil, zero value otherwise.
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.
func (o *LoyaltyProgramLedgers) HasLedger() bool
HasLedger returns a boolean if a field has been set.
func (o *LoyaltyProgramLedgers) SetLedger(v LedgerInfo)
SetLedger gets a reference to the given LedgerInfo and assigns it to the Ledger field.
func (o *LoyaltyProgramLedgers) GetSubLedgers() map[string]LedgerInfo
GetSubLedgers returns the SubLedgers field if non-nil, zero value otherwise.
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.
func (o *LoyaltyProgramLedgers) HasSubLedgers() bool
HasSubLedgers returns a boolean if a field has been set.
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.