Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.41 KB

SandboxCreateCouponRequest.md

File metadata and controls

108 lines (59 loc) · 3.41 KB

SandboxCreateCouponRequest

Properties

Name Type Description Notes
Amount Pointer to int32 [optional]
ApplicableBillItemName Pointer to string [optional]
ExpiryYearMonth Pointer to string [optional]

Methods

NewSandboxCreateCouponRequest

func NewSandboxCreateCouponRequest() *SandboxCreateCouponRequest

NewSandboxCreateCouponRequest instantiates a new SandboxCreateCouponRequest 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

NewSandboxCreateCouponRequestWithDefaults

func NewSandboxCreateCouponRequestWithDefaults() *SandboxCreateCouponRequest

NewSandboxCreateCouponRequestWithDefaults instantiates a new SandboxCreateCouponRequest 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

GetAmount

func (o *SandboxCreateCouponRequest) GetAmount() int32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

func (o *SandboxCreateCouponRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAmount

func (o *SandboxCreateCouponRequest) SetAmount(v int32)

SetAmount sets Amount field to given value.

HasAmount

func (o *SandboxCreateCouponRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

GetApplicableBillItemName

func (o *SandboxCreateCouponRequest) GetApplicableBillItemName() string

GetApplicableBillItemName returns the ApplicableBillItemName field if non-nil, zero value otherwise.

GetApplicableBillItemNameOk

func (o *SandboxCreateCouponRequest) GetApplicableBillItemNameOk() (*string, bool)

GetApplicableBillItemNameOk returns a tuple with the ApplicableBillItemName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetApplicableBillItemName

func (o *SandboxCreateCouponRequest) SetApplicableBillItemName(v string)

SetApplicableBillItemName sets ApplicableBillItemName field to given value.

HasApplicableBillItemName

func (o *SandboxCreateCouponRequest) HasApplicableBillItemName() bool

HasApplicableBillItemName returns a boolean if a field has been set.

GetExpiryYearMonth

func (o *SandboxCreateCouponRequest) GetExpiryYearMonth() string

GetExpiryYearMonth returns the ExpiryYearMonth field if non-nil, zero value otherwise.

GetExpiryYearMonthOk

func (o *SandboxCreateCouponRequest) GetExpiryYearMonthOk() (*string, bool)

GetExpiryYearMonthOk returns a tuple with the ExpiryYearMonth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpiryYearMonth

func (o *SandboxCreateCouponRequest) SetExpiryYearMonth(v string)

SetExpiryYearMonth sets ExpiryYearMonth field to given value.

HasExpiryYearMonth

func (o *SandboxCreateCouponRequest) HasExpiryYearMonth() bool

HasExpiryYearMonth returns a boolean if a field has been set.

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