Name | Type | Description | Notes |
---|---|---|---|
Created | Pointer to time.Time | ||
ProgramID | Pointer to int32 | ||
CustomerProfileID | Pointer to string | [optional] | |
CardID | Pointer to int32 | [optional] | |
CustomerSessionID | Pointer to string | [optional] | |
EventID | Pointer to int32 | [optional] | |
Type | Pointer to string | The type of the ledger transaction. Possible values are: - `addition` - `subtraction` - `expire` - `expiring` (for expiring points ledgers) | |
Amount | Pointer to float32 | ||
StartDate | Pointer to time.Time | [optional] | |
ExpiryDate | Pointer to time.Time | [optional] | |
Name | Pointer to string | A name referencing the condition or effect that added this entry, or the specific name provided in an API call. | |
SubLedgerID | Pointer to string | This specifies if we are adding loyalty points to the main ledger or a subledger. | |
UserID | Pointer to int32 | This is the ID of the user who created this entry, if the addition or subtraction was done manually. | [optional] |
Archived | Pointer to bool | Indicates if the entry belongs to the archived session. | [optional] |
func (o *LoyaltyLedgerEntry) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *LoyaltyLedgerEntry) GetProgramID() int32
GetProgramID returns the ProgramID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasProgramID() bool
HasProgramID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetProgramID(v int32)
SetProgramID gets a reference to the given int32 and assigns it to the ProgramID field.
func (o *LoyaltyLedgerEntry) GetCustomerProfileID() string
GetCustomerProfileID returns the CustomerProfileID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasCustomerProfileID() bool
HasCustomerProfileID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetCustomerProfileID(v string)
SetCustomerProfileID gets a reference to the given string and assigns it to the CustomerProfileID field.
func (o *LoyaltyLedgerEntry) GetCardID() int32
GetCardID returns the CardID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) GetCardIDOk() (int32, bool)
GetCardIDOk returns a tuple with the CardID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyLedgerEntry) HasCardID() bool
HasCardID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetCardID(v int32)
SetCardID gets a reference to the given int32 and assigns it to the CardID field.
func (o *LoyaltyLedgerEntry) GetCustomerSessionID() string
GetCustomerSessionID returns the CustomerSessionID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasCustomerSessionID() bool
HasCustomerSessionID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetCustomerSessionID(v string)
SetCustomerSessionID gets a reference to the given string and assigns it to the CustomerSessionID field.
func (o *LoyaltyLedgerEntry) GetEventID() int32
GetEventID returns the EventID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) GetEventIDOk() (int32, bool)
GetEventIDOk returns a tuple with the EventID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyLedgerEntry) HasEventID() bool
HasEventID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetEventID(v int32)
SetEventID gets a reference to the given int32 and assigns it to the EventID field.
func (o *LoyaltyLedgerEntry) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (o *LoyaltyLedgerEntry) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetAmount(v float32)
SetAmount gets a reference to the given float32 and assigns it to the Amount field.
func (o *LoyaltyLedgerEntry) GetStartDate() time.Time
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) GetStartDateOk() (time.Time, 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 *LoyaltyLedgerEntry) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (o *LoyaltyLedgerEntry) GetExpiryDate() time.Time
GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) GetExpiryDateOk() (time.Time, 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 *LoyaltyLedgerEntry) HasExpiryDate() bool
HasExpiryDate returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetExpiryDate(v time.Time)
SetExpiryDate gets a reference to the given time.Time and assigns it to the ExpiryDate field.
func (o *LoyaltyLedgerEntry) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *LoyaltyLedgerEntry) GetSubLedgerID() string
GetSubLedgerID returns the SubLedgerID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasSubLedgerID() bool
HasSubLedgerID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetSubLedgerID(v string)
SetSubLedgerID gets a reference to the given string and assigns it to the SubLedgerID field.
func (o *LoyaltyLedgerEntry) GetUserID() int32
GetUserID returns the UserID field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) 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 *LoyaltyLedgerEntry) HasUserID() bool
HasUserID returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetUserID(v int32)
SetUserID gets a reference to the given int32 and assigns it to the UserID field.
func (o *LoyaltyLedgerEntry) GetArchived() bool
GetArchived returns the Archived field if non-nil, zero value otherwise.
func (o *LoyaltyLedgerEntry) GetArchivedOk() (bool, bool)
GetArchivedOk returns a tuple with the Archived field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyLedgerEntry) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (o *LoyaltyLedgerEntry) SetArchived(v bool)
SetArchived gets a reference to the given bool and assigns it to the Archived field.