Name | Type | Description | Notes |
---|---|---|---|
Key | string | ||
Discount | float64 |
func NewCouponCheckoutSession(key string, discount float64, ) *CouponCheckoutSession
NewCouponCheckoutSession instantiates a new CouponCheckoutSession 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 NewCouponCheckoutSessionWithDefaults() *CouponCheckoutSession
NewCouponCheckoutSessionWithDefaults instantiates a new CouponCheckoutSession 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 *CouponCheckoutSession) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *CouponCheckoutSession) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponCheckoutSession) SetKey(v string)
SetKey sets Key field to given value.
func (o *CouponCheckoutSession) GetDiscount() float64
GetDiscount returns the Discount field if non-nil, zero value otherwise.
func (o *CouponCheckoutSession) GetDiscountOk() (*float64, bool)
GetDiscountOk returns a tuple with the Discount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponCheckoutSession) SetDiscount(v float64)
SetDiscount sets Discount field to given value.