Name | Type | Description | Notes |
---|---|---|---|
AnnualPrice | float32 | The annual (discounted) price of this subscription. | |
DisplayName | string | The display name of this subscription. | |
Features | []Feature | Array of the features included in the subscription. | |
ListPrice | float32 | The list price of this subscription. | |
ProductCode | string | Unique identifier corresponding to this subscription. |
func NewSubscription(annualPrice float32, displayName string, features []Feature, listPrice float32, productCode string, ) *Subscription
NewSubscription instantiates a new Subscription 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 NewSubscriptionWithDefaults() *Subscription
NewSubscriptionWithDefaults instantiates a new Subscription 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 *Subscription) GetAnnualPrice() float32
GetAnnualPrice returns the AnnualPrice field if non-nil, zero value otherwise.
func (o *Subscription) GetAnnualPriceOk() (*float32, bool)
GetAnnualPriceOk returns a tuple with the AnnualPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Subscription) SetAnnualPrice(v float32)
SetAnnualPrice sets AnnualPrice field to given value.
func (o *Subscription) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *Subscription) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Subscription) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *Subscription) GetFeatures() []Feature
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *Subscription) GetFeaturesOk() (*[]Feature, bool)
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Subscription) SetFeatures(v []Feature)
SetFeatures sets Features field to given value.
func (o *Subscription) GetListPrice() float32
GetListPrice returns the ListPrice field if non-nil, zero value otherwise.
func (o *Subscription) GetListPriceOk() (*float32, bool)
GetListPriceOk returns a tuple with the ListPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Subscription) SetListPrice(v float32)
SetListPrice sets ListPrice field to given value.
func (o *Subscription) GetProductCode() string
GetProductCode returns the ProductCode field if non-nil, zero value otherwise.
func (o *Subscription) GetProductCodeOk() (*string, bool)
GetProductCodeOk returns a tuple with the ProductCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Subscription) SetProductCode(v string)
SetProductCode sets ProductCode field to given value.