Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.02 KB

CouponCheckoutSession.md

File metadata and controls

72 lines (39 loc) · 2.02 KB

CouponCheckoutSession

Properties

Name Type Description Notes
Key string
Discount float64

Methods

NewCouponCheckoutSession

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

NewCouponCheckoutSessionWithDefaults

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

GetKey

func (o *CouponCheckoutSession) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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.

SetKey

func (o *CouponCheckoutSession) SetKey(v string)

SetKey sets Key field to given value.

GetDiscount

func (o *CouponCheckoutSession) GetDiscount() float64

GetDiscount returns the Discount field if non-nil, zero value otherwise.

GetDiscountOk

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.

SetDiscount

func (o *CouponCheckoutSession) SetDiscount(v float64)

SetDiscount sets Discount field to given value.

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