Skip to content

Latest commit

 

History

History
282 lines (157 loc) · 11.5 KB

File metadata and controls

282 lines (157 loc) · 11.5 KB

PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner

Properties

Name Type Description Notes
Name Pointer to NullableString Name of the type of pricing. [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]
CurrencyCode Pointer to NullableString The 3-digit ISO currency code. [optional]
SubscriptionPeriod Pointer to NullableString The subscription period of the line item. [optional]

Methods

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner

func NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner() *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner instantiates a new PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner 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

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInnerWithDefaults

func NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInnerWithDefaults() *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner

NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInnerWithDefaults instantiates a new PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner 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

GetName

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) 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.

SetName

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetQuantity() string

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

GetQuantityOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) 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 *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetQuantity(v string)

SetQuantity sets Quantity field to given value.

HasQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

SetQuantityNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetQuantityNil(b bool)

SetQuantityNil sets the value for Quantity to be an explicit nil

UnsetQuantity

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetQuantity()

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

GetMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetMsrp() float32

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

GetMsrpOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) 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 *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetMsrp(v float32)

SetMsrp sets Msrp field to given value.

HasMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasMsrp() bool

HasMsrp returns a boolean if a field has been set.

SetMsrpNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetMsrpNil(b bool)

SetMsrpNil sets the value for Msrp to be an explicit nil

UnsetMsrp

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetMsrp()

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

GetUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetUnitPrice() float32

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

GetUnitPriceOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) 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 *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetUnitPrice(v float32)

SetUnitPrice sets UnitPrice field to given value.

HasUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasUnitPrice() bool

HasUnitPrice returns a boolean if a field has been set.

SetUnitPriceNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetUnitPriceNil(b bool)

SetUnitPriceNil sets the value for UnitPrice to be an explicit nil

UnsetUnitPrice

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetUnitPrice()

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

GetMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetMargin() float32

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

GetMarginOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) 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 *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetMargin(v float32)

SetMargin sets Margin field to given value.

HasMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasMargin() bool

HasMargin returns a boolean if a field has been set.

SetMarginNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetMarginNil(b bool)

SetMarginNil sets the value for Margin to be an explicit nil

UnsetMargin

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetMargin()

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

GetCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetCurrencyCode() string

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

GetCurrencyCodeOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) 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 *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetCurrencyCode(v string)

SetCurrencyCode sets CurrencyCode field to given value.

HasCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasCurrencyCode() bool

HasCurrencyCode returns a boolean if a field has been set.

SetCurrencyCodeNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetCurrencyCodeNil(b bool)

SetCurrencyCodeNil sets the value for CurrencyCode to be an explicit nil

UnsetCurrencyCode

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetCurrencyCode()

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

GetSubscriptionPeriod

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetSubscriptionPeriod() string

GetSubscriptionPeriod returns the SubscriptionPeriod field if non-nil, zero value otherwise.

GetSubscriptionPeriodOk

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetSubscriptionPeriodOk() (*string, bool)

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

SetSubscriptionPeriod

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetSubscriptionPeriod(v string)

SetSubscriptionPeriod sets SubscriptionPeriod field to given value.

HasSubscriptionPeriod

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) HasSubscriptionPeriod() bool

HasSubscriptionPeriod returns a boolean if a field has been set.

SetSubscriptionPeriodNil

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetSubscriptionPeriodNil(b bool)

SetSubscriptionPeriodNil sets the value for SubscriptionPeriod to be an explicit nil

UnsetSubscriptionPeriod

func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) UnsetSubscriptionPeriod()

UnsetSubscriptionPeriod ensures that no value is present for SubscriptionPeriod, not even an explicit nil

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