Name | Type | Description | Notes |
---|---|---|---|
DiscountedPrice | Pointer to float32 | The price of the product after applying a discount. | [optional] |
DiscountDetails | Pointer to []DiscountDetails | [optional] |
func NewApplicableDiscounts() *ApplicableDiscounts
NewApplicableDiscounts instantiates a new ApplicableDiscounts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApplicableDiscountsWithDefaults() *ApplicableDiscounts
NewApplicableDiscountsWithDefaults instantiates a new ApplicableDiscounts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ApplicableDiscounts) GetDiscountedPrice() float32
GetDiscountedPrice returns the DiscountedPrice field if non-nil, zero value otherwise.
func (o *ApplicableDiscounts) GetDiscountedPriceOk() (*float32, bool)
GetDiscountedPriceOk returns a tuple with the DiscountedPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicableDiscounts) SetDiscountedPrice(v float32)
SetDiscountedPrice sets DiscountedPrice field to given value.
func (o *ApplicableDiscounts) HasDiscountedPrice() bool
HasDiscountedPrice returns a boolean if a field has been set.
func (o *ApplicableDiscounts) GetDiscountDetails() []DiscountDetails
GetDiscountDetails returns the DiscountDetails field if non-nil, zero value otherwise.
func (o *ApplicableDiscounts) GetDiscountDetailsOk() (*[]DiscountDetails, bool)
GetDiscountDetailsOk returns a tuple with the DiscountDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicableDiscounts) SetDiscountDetails(v []DiscountDetails)
SetDiscountDetails sets DiscountDetails field to given value.
func (o *ApplicableDiscounts) HasDiscountDetails() bool
HasDiscountDetails returns a boolean if a field has been set.