Name | Type | Description | Notes |
---|---|---|---|
Product | string | ||
Quantity | int32 |
func NewCreateCheckoutSessionProduct(product string, quantity int32, ) *CreateCheckoutSessionProduct
NewCreateCheckoutSessionProduct instantiates a new CreateCheckoutSessionProduct 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 NewCreateCheckoutSessionProductWithDefaults() *CreateCheckoutSessionProduct
NewCreateCheckoutSessionProductWithDefaults instantiates a new CreateCheckoutSessionProduct 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 *CreateCheckoutSessionProduct) GetProduct() string
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *CreateCheckoutSessionProduct) GetProductOk() (*string, bool)
GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateCheckoutSessionProduct) SetProduct(v string)
SetProduct sets Product field to given value.
func (o *CreateCheckoutSessionProduct) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *CreateCheckoutSessionProduct) 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 *CreateCheckoutSessionProduct) SetQuantity(v int32)
SetQuantity sets Quantity field to given value.