Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name / description of this discount | |
AdditionalCostId | Pointer to int32 | The ID of the additional cost. | |
AdditionalCost | Pointer to string | The name of the additional cost. | |
Value | Pointer to float32 | The total monetary value of the discount. | |
DesiredValue | Pointer to float32 | The original value of the discount. | [optional] |
func (o *SetDiscountPerAdditionalCostEffectProps) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SetDiscountPerAdditionalCostEffectProps) 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 *SetDiscountPerAdditionalCostEffectProps) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *SetDiscountPerAdditionalCostEffectProps) GetAdditionalCostId() int32
GetAdditionalCostId returns the AdditionalCostId field if non-nil, zero value otherwise.
func (o *SetDiscountPerAdditionalCostEffectProps) GetAdditionalCostIdOk() (int32, bool)
GetAdditionalCostIdOk returns a tuple with the AdditionalCostId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) HasAdditionalCostId() bool
HasAdditionalCostId returns a boolean if a field has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) SetAdditionalCostId(v int32)
SetAdditionalCostId gets a reference to the given int32 and assigns it to the AdditionalCostId field.
func (o *SetDiscountPerAdditionalCostEffectProps) GetAdditionalCost() string
GetAdditionalCost returns the AdditionalCost field if non-nil, zero value otherwise.
func (o *SetDiscountPerAdditionalCostEffectProps) GetAdditionalCostOk() (string, bool)
GetAdditionalCostOk returns a tuple with the AdditionalCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) HasAdditionalCost() bool
HasAdditionalCost returns a boolean if a field has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) SetAdditionalCost(v string)
SetAdditionalCost gets a reference to the given string and assigns it to the AdditionalCost field.
func (o *SetDiscountPerAdditionalCostEffectProps) GetValue() float32
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *SetDiscountPerAdditionalCostEffectProps) 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 *SetDiscountPerAdditionalCostEffectProps) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) SetValue(v float32)
SetValue gets a reference to the given float32 and assigns it to the Value field.
func (o *SetDiscountPerAdditionalCostEffectProps) GetDesiredValue() float32
GetDesiredValue returns the DesiredValue field if non-nil, zero value otherwise.
func (o *SetDiscountPerAdditionalCostEffectProps) 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 *SetDiscountPerAdditionalCostEffectProps) HasDesiredValue() bool
HasDesiredValue returns a boolean if a field has been set.
func (o *SetDiscountPerAdditionalCostEffectProps) SetDesiredValue(v float32)
SetDesiredValue gets a reference to the given float32 and assigns it to the DesiredValue field.