Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.18 KB

CreateCheckoutSessionProduct.md

File metadata and controls

72 lines (39 loc) · 2.18 KB

CreateCheckoutSessionProduct

Properties

Name Type Description Notes
Product string
Quantity int32

Methods

NewCreateCheckoutSessionProduct

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

NewCreateCheckoutSessionProductWithDefaults

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

GetProduct

func (o *CreateCheckoutSessionProduct) GetProduct() string

GetProduct returns the Product field if non-nil, zero value otherwise.

GetProductOk

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.

SetProduct

func (o *CreateCheckoutSessionProduct) SetProduct(v string)

SetProduct sets Product field to given value.

GetQuantity

func (o *CreateCheckoutSessionProduct) GetQuantity() int32

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

GetQuantityOk

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.

SetQuantity

func (o *CreateCheckoutSessionProduct) SetQuantity(v int32)

SetQuantity sets Quantity field to given value.

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