Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
Price | Price | [readonly] | |
PriceId | string | ||
Quantity | int32 |
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
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
func (o *SubscriptionItem) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *SubscriptionItem) SetId(v string)
SetId sets Id field to given value.
func (o *SubscriptionItem) GetPrice() Price
GetPrice returns the Price field if non-nil, zero value otherwise.
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.
func (o *SubscriptionItem) SetPrice(v Price)
SetPrice sets Price field to given value.
func (o *SubscriptionItem) GetPriceId() string
GetPriceId returns the PriceId field if non-nil, zero value otherwise.
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.
func (o *SubscriptionItem) SetPriceId(v string)
SetPriceId sets PriceId field to given value.
func (o *SubscriptionItem) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
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.
func (o *SubscriptionItem) SetQuantity(v int32)
SetQuantity sets Quantity field to given value.