Name | Type | Description | Notes |
---|---|---|---|
ProgramId | Pointer to int32 | The ID of the loyalty program where the points were originally added. | |
SubLedgerId | Pointer to string | The ID of the subledger within the loyalty program where these points were originally added. | |
Value | Pointer to float32 | The amount of points that were rolled back. | |
RecipientIntegrationId | Pointer to string | The user for whom these points were originally added. | |
TransactionUUID | Pointer to string | The identifier of 'deduction' entry added to the ledger as the `addLoyaltyPoints` effect is rolled back. | |
CartItemPosition | Pointer to float32 | The index of the item in the cart items for which the loyalty points were rolled back. | [optional] |
CartItemSubPosition | Pointer to float32 | For cart items with `quantity` > 1, the sub-position indicates to which item the loyalty points were rolled back. | [optional] |
CardIdentifier | Pointer to string | The alphanumeric identifier of the loyalty card. | [optional] |
func (o *RollbackAddedLoyaltyPointsEffectProps) GetProgramId() int32
GetProgramId returns the ProgramId field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasProgramId() bool
HasProgramId returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetProgramId(v int32)
SetProgramId gets a reference to the given int32 and assigns it to the ProgramId field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetSubLedgerId() string
GetSubLedgerId returns the SubLedgerId field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasSubLedgerId() bool
HasSubLedgerId returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetSubLedgerId(v string)
SetSubLedgerId gets a reference to the given string and assigns it to the SubLedgerId field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetValue() float32
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetValue(v float32)
SetValue gets a reference to the given float32 and assigns it to the Value field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetRecipientIntegrationId() string
GetRecipientIntegrationId returns the RecipientIntegrationId field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasRecipientIntegrationId() bool
HasRecipientIntegrationId returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetRecipientIntegrationId(v string)
SetRecipientIntegrationId gets a reference to the given string and assigns it to the RecipientIntegrationId field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetTransactionUUID() string
GetTransactionUUID returns the TransactionUUID field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasTransactionUUID() bool
HasTransactionUUID returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetTransactionUUID(v string)
SetTransactionUUID gets a reference to the given string and assigns it to the TransactionUUID field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetCartItemPosition() float32
GetCartItemPosition returns the CartItemPosition field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasCartItemPosition() bool
HasCartItemPosition returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetCartItemPosition(v float32)
SetCartItemPosition gets a reference to the given float32 and assigns it to the CartItemPosition field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetCartItemSubPosition() float32
GetCartItemSubPosition returns the CartItemSubPosition field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasCartItemSubPosition() bool
HasCartItemSubPosition returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetCartItemSubPosition(v float32)
SetCartItemSubPosition gets a reference to the given float32 and assigns it to the CartItemSubPosition field.
func (o *RollbackAddedLoyaltyPointsEffectProps) GetCardIdentifier() string
GetCardIdentifier returns the CardIdentifier field if non-nil, zero value otherwise.
func (o *RollbackAddedLoyaltyPointsEffectProps) 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 *RollbackAddedLoyaltyPointsEffectProps) HasCardIdentifier() bool
HasCardIdentifier returns a boolean if a field has been set.
func (o *RollbackAddedLoyaltyPointsEffectProps) SetCardIdentifier(v string)
SetCardIdentifier gets a reference to the given string and assigns it to the CardIdentifier field.