Name | Type | Description | Notes |
---|---|---|---|
VoucherCode | Pointer to string | Voucher Code | [optional] |
VoucherType | Pointer to int64 | Voucher Type | [optional] |
func NewGetAllOrders200ResponseDataInnerVoucherInfo() *GetAllOrders200ResponseDataInnerVoucherInfo
NewGetAllOrders200ResponseDataInnerVoucherInfo instantiates a new GetAllOrders200ResponseDataInnerVoucherInfo 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 NewGetAllOrders200ResponseDataInnerVoucherInfoWithDefaults() *GetAllOrders200ResponseDataInnerVoucherInfo
NewGetAllOrders200ResponseDataInnerVoucherInfoWithDefaults instantiates a new GetAllOrders200ResponseDataInnerVoucherInfo 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 *GetAllOrders200ResponseDataInnerVoucherInfo) GetVoucherCode() string
GetVoucherCode returns the VoucherCode field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerVoucherInfo) 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 *GetAllOrders200ResponseDataInnerVoucherInfo) SetVoucherCode(v string)
SetVoucherCode sets VoucherCode field to given value.
func (o *GetAllOrders200ResponseDataInnerVoucherInfo) HasVoucherCode() bool
HasVoucherCode returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerVoucherInfo) GetVoucherType() int64
GetVoucherType returns the VoucherType field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerVoucherInfo) GetVoucherTypeOk() (*int64, bool)
GetVoucherTypeOk returns a tuple with the VoucherType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerVoucherInfo) SetVoucherType(v int64)
SetVoucherType sets VoucherType field to given value.
func (o *GetAllOrders200ResponseDataInnerVoucherInfo) HasVoucherType() bool
HasVoucherType returns a boolean if a field has been set.