Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name / description of this loyalty point addition. | |
ProgramId | Pointer to int32 | The ID of the loyalty program where these points were added. | |
SubLedgerId | Pointer to string | The ID of the subledger within the loyalty program where these points were added. | |
Value | Pointer to float32 | The amount of points that were added. | |
DesiredValue | Pointer to float32 | The original amount of loyalty points to be awarded. | [optional] |
RecipientIntegrationId | Pointer to string | The user for whom these points were added. | |
StartDate | Pointer to time.Time | Date after which points will be valid. | [optional] |
ExpiryDate | Pointer to time.Time | Date after which points will expire. | [optional] |
TransactionUUID | Pointer to string | The identifier of this addition in the loyalty ledger. | |
CartItemPosition | Pointer to float32 | The index of the item in the cart items list on which the loyal points addition should be applied. | [optional] |
CartItemSubPosition | Pointer to float32 | The sub position is triggered when application flattening is enabled. It indicates to which item the loyalty points addition applies, for cart items with `quantity` > 1. | [optional] |
CardIdentifier | Pointer to string | The alphanumeric identifier of the loyalty card. | [optional] |
BundleIndex | Pointer to int32 | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] |
BundleName | Pointer to string | The name of the bundle definition. | [optional] |
func (o *AddLoyaltyPointsEffectProps) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) 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 *AddLoyaltyPointsEffectProps) HasName() bool
HasName returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *AddLoyaltyPointsEffectProps) GetProgramId() int32
GetProgramId returns the ProgramId field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) 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 *AddLoyaltyPointsEffectProps) HasProgramId() bool
HasProgramId returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetProgramId(v int32)
SetProgramId gets a reference to the given int32 and assigns it to the ProgramId field.
func (o *AddLoyaltyPointsEffectProps) GetSubLedgerId() string
GetSubLedgerId returns the SubLedgerId field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) 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 *AddLoyaltyPointsEffectProps) HasSubLedgerId() bool
HasSubLedgerId returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetSubLedgerId(v string)
SetSubLedgerId gets a reference to the given string and assigns it to the SubLedgerId field.
func (o *AddLoyaltyPointsEffectProps) GetValue() float32
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetValueOk() (float32, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetValue(v float32)
SetValue gets a reference to the given float32 and assigns it to the Value field.
func (o *AddLoyaltyPointsEffectProps) GetDesiredValue() float32
GetDesiredValue returns the DesiredValue field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetDesiredValueOk() (float32, bool)
GetDesiredValueOk returns a tuple with the DesiredValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasDesiredValue() bool
HasDesiredValue returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetDesiredValue(v float32)
SetDesiredValue gets a reference to the given float32 and assigns it to the DesiredValue field.
func (o *AddLoyaltyPointsEffectProps) GetRecipientIntegrationId() string
GetRecipientIntegrationId returns the RecipientIntegrationId field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetRecipientIntegrationIdOk() (string, bool)
GetRecipientIntegrationIdOk returns a tuple with the RecipientIntegrationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasRecipientIntegrationId() bool
HasRecipientIntegrationId returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetRecipientIntegrationId(v string)
SetRecipientIntegrationId gets a reference to the given string and assigns it to the RecipientIntegrationId field.
func (o *AddLoyaltyPointsEffectProps) GetStartDate() time.Time
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) 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 *AddLoyaltyPointsEffectProps) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (o *AddLoyaltyPointsEffectProps) GetExpiryDate() time.Time
GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) 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 *AddLoyaltyPointsEffectProps) HasExpiryDate() bool
HasExpiryDate returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetExpiryDate(v time.Time)
SetExpiryDate gets a reference to the given time.Time and assigns it to the ExpiryDate field.
func (o *AddLoyaltyPointsEffectProps) GetTransactionUUID() string
GetTransactionUUID returns the TransactionUUID field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetTransactionUUIDOk() (string, bool)
GetTransactionUUIDOk returns a tuple with the TransactionUUID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasTransactionUUID() bool
HasTransactionUUID returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetTransactionUUID(v string)
SetTransactionUUID gets a reference to the given string and assigns it to the TransactionUUID field.
func (o *AddLoyaltyPointsEffectProps) GetCartItemPosition() float32
GetCartItemPosition returns the CartItemPosition field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetCartItemPositionOk() (float32, bool)
GetCartItemPositionOk returns a tuple with the CartItemPosition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasCartItemPosition() bool
HasCartItemPosition returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetCartItemPosition(v float32)
SetCartItemPosition gets a reference to the given float32 and assigns it to the CartItemPosition field.
func (o *AddLoyaltyPointsEffectProps) GetCartItemSubPosition() float32
GetCartItemSubPosition returns the CartItemSubPosition field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetCartItemSubPositionOk() (float32, bool)
GetCartItemSubPositionOk returns a tuple with the CartItemSubPosition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasCartItemSubPosition() bool
HasCartItemSubPosition returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetCartItemSubPosition(v float32)
SetCartItemSubPosition gets a reference to the given float32 and assigns it to the CartItemSubPosition field.
func (o *AddLoyaltyPointsEffectProps) GetCardIdentifier() string
GetCardIdentifier returns the CardIdentifier field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetCardIdentifierOk() (string, bool)
GetCardIdentifierOk returns a tuple with the CardIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasCardIdentifier() bool
HasCardIdentifier returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetCardIdentifier(v string)
SetCardIdentifier gets a reference to the given string and assigns it to the CardIdentifier field.
func (o *AddLoyaltyPointsEffectProps) GetBundleIndex() int32
GetBundleIndex returns the BundleIndex field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetBundleIndexOk() (int32, bool)
GetBundleIndexOk returns a tuple with the BundleIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasBundleIndex() bool
HasBundleIndex returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetBundleIndex(v int32)
SetBundleIndex gets a reference to the given int32 and assigns it to the BundleIndex field.
func (o *AddLoyaltyPointsEffectProps) GetBundleName() string
GetBundleName returns the BundleName field if non-nil, zero value otherwise.
func (o *AddLoyaltyPointsEffectProps) GetBundleNameOk() (string, bool)
GetBundleNameOk returns a tuple with the BundleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPointsEffectProps) HasBundleName() bool
HasBundleName returns a boolean if a field has been set.
func (o *AddLoyaltyPointsEffectProps) SetBundleName(v string)
SetBundleName gets a reference to the given string and assigns it to the BundleName field.