Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.62 KB

RedeemVoucherPayload.md

File metadata and controls

51 lines (28 loc) · 1.62 KB

RedeemVoucherPayload

Properties

Name Type Description Notes
VoucherCode string The code of the voucher you want to redeem.

Methods

NewRedeemVoucherPayload

func NewRedeemVoucherPayload(voucherCode string, ) *RedeemVoucherPayload

NewRedeemVoucherPayload instantiates a new RedeemVoucherPayload 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

NewRedeemVoucherPayloadWithDefaults

func NewRedeemVoucherPayloadWithDefaults() *RedeemVoucherPayload

NewRedeemVoucherPayloadWithDefaults instantiates a new RedeemVoucherPayload 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

GetVoucherCode

func (o *RedeemVoucherPayload) GetVoucherCode() string

GetVoucherCode returns the VoucherCode field if non-nil, zero value otherwise.

GetVoucherCodeOk

func (o *RedeemVoucherPayload) GetVoucherCodeOk() (*string, bool)

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

SetVoucherCode

func (o *RedeemVoucherPayload) SetVoucherCode(v string)

SetVoucherCode sets VoucherCode field to given value.

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