| Name | Type | Description | Notes |
|---|---|---|---|
| VoucherCode | string | The code of the voucher you want to redeem. |
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
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
func (o *RedeemVoucherPayload) GetVoucherCode() string
GetVoucherCode returns the VoucherCode field if non-nil, zero value otherwise.
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.
func (o *RedeemVoucherPayload) SetVoucherCode(v string)
SetVoucherCode sets VoucherCode field to given value.