Skip to content

Latest commit

 

History

History
210 lines (117 loc) · 9.18 KB

File metadata and controls

210 lines (117 loc) · 9.18 KB

PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner

Properties

Name Type Description Notes
CurrencyCode Pointer to NullableString The 3-digit ISO currency code. [optional]
Quantity Pointer to NullableString Quantity of the line item. [optional]
Msrp Pointer to NullableFloat32 Manufacturer Suggested Retail Price. [optional]
UnitPrice Pointer to NullableFloat32 The unit price of the line item. [optional]
Margin Pointer to NullableFloat32 Reseller’s margin percentage [optional]

Methods

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner

func NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner() *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner instantiates a new PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner 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

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInnerWithDefaults

func NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInnerWithDefaults() *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInnerWithDefaults instantiates a new PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner 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

GetCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetCurrencyCode() string

GetCurrencyCode returns the CurrencyCode field if non-nil, zero value otherwise.

GetCurrencyCodeOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetCurrencyCodeOk() (*string, bool)

GetCurrencyCodeOk returns a tuple with the CurrencyCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetCurrencyCode(v string)

SetCurrencyCode sets CurrencyCode field to given value.

HasCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) HasCurrencyCode() bool

HasCurrencyCode returns a boolean if a field has been set.

SetCurrencyCodeNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetCurrencyCodeNil(b bool)

SetCurrencyCodeNil sets the value for CurrencyCode to be an explicit nil

UnsetCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) UnsetCurrencyCode()

UnsetCurrencyCode ensures that no value is present for CurrencyCode, not even an explicit nil

GetQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantity() string

GetQuantity returns the Quantity field if non-nil, zero value otherwise.

GetQuantityOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetQuantity(v string)

SetQuantity sets Quantity field to given value.

HasQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

SetQuantityNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetQuantityNil(b bool)

SetQuantityNil sets the value for Quantity to be an explicit nil

UnsetQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) UnsetQuantity()

UnsetQuantity ensures that no value is present for Quantity, not even an explicit nil

GetMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetMsrp() float32

GetMsrp returns the Msrp field if non-nil, zero value otherwise.

GetMsrpOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetMsrpOk() (*float32, bool)

GetMsrpOk returns a tuple with the Msrp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetMsrp(v float32)

SetMsrp sets Msrp field to given value.

HasMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) HasMsrp() bool

HasMsrp returns a boolean if a field has been set.

SetMsrpNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetMsrpNil(b bool)

SetMsrpNil sets the value for Msrp to be an explicit nil

UnsetMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) UnsetMsrp()

UnsetMsrp ensures that no value is present for Msrp, not even an explicit nil

GetUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetUnitPrice() float32

GetUnitPrice returns the UnitPrice field if non-nil, zero value otherwise.

GetUnitPriceOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetUnitPriceOk() (*float32, bool)

GetUnitPriceOk returns a tuple with the UnitPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetUnitPrice(v float32)

SetUnitPrice sets UnitPrice field to given value.

HasUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) HasUnitPrice() bool

HasUnitPrice returns a boolean if a field has been set.

SetUnitPriceNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetUnitPriceNil(b bool)

SetUnitPriceNil sets the value for UnitPrice to be an explicit nil

UnsetUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) UnsetUnitPrice()

UnsetUnitPrice ensures that no value is present for UnitPrice, not even an explicit nil

GetMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetMargin() float32

GetMargin returns the Margin field if non-nil, zero value otherwise.

GetMarginOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetMarginOk() (*float32, bool)

GetMarginOk returns a tuple with the Margin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetMargin(v float32)

SetMargin sets Margin field to given value.

HasMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) HasMargin() bool

HasMargin returns a boolean if a field has been set.

SetMarginNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetMarginNil(b bool)

SetMarginNil sets the value for Margin to be an explicit nil

UnsetMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) UnsetMargin()

UnsetMargin ensures that no value is present for Margin, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]