Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.93 KB

SubscriptionItem.md

File metadata and controls

114 lines (61 loc) · 2.93 KB

SubscriptionItem

Properties

Name Type Description Notes
Id string [readonly]
Price Price [readonly]
PriceId string
Quantity int32

Methods

NewSubscriptionItem

func NewSubscriptionItem(id string, price Price, priceId string, quantity int32, ) *SubscriptionItem

NewSubscriptionItem instantiates a new SubscriptionItem 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

NewSubscriptionItemWithDefaults

func NewSubscriptionItemWithDefaults() *SubscriptionItem

NewSubscriptionItemWithDefaults instantiates a new SubscriptionItem 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

GetId

func (o *SubscriptionItem) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *SubscriptionItem) GetIdOk() (*string, bool)

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

SetId

func (o *SubscriptionItem) SetId(v string)

SetId sets Id field to given value.

GetPrice

func (o *SubscriptionItem) GetPrice() Price

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

func (o *SubscriptionItem) GetPriceOk() (*Price, bool)

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

SetPrice

func (o *SubscriptionItem) SetPrice(v Price)

SetPrice sets Price field to given value.

GetPriceId

func (o *SubscriptionItem) GetPriceId() string

GetPriceId returns the PriceId field if non-nil, zero value otherwise.

GetPriceIdOk

func (o *SubscriptionItem) GetPriceIdOk() (*string, bool)

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

SetPriceId

func (o *SubscriptionItem) SetPriceId(v string)

SetPriceId sets PriceId field to given value.

GetQuantity

func (o *SubscriptionItem) GetQuantity() int32

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

GetQuantityOk

func (o *SubscriptionItem) GetQuantityOk() (*int32, 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 *SubscriptionItem) SetQuantity(v int32)

SetQuantity sets Quantity field to given value.

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