Name | Type | Description | Notes |
---|---|---|---|
Title | Pointer to string | The title of the voucher. | [optional] |
DiscountedPrice | Pointer to string | The amount paid after discount is applied in local currency. | [optional] |
OriginalPrice | Pointer to string | The original amount before discount is applied in local currency. | [optional] |
DescriptionInfo | Pointer to VoucherDescriptionInfo | [optional] | |
VoucherType | Pointer to string | The type of the dine-in voucher. | [optional] |
func NewVoucher() *Voucher
NewVoucher instantiates a new Voucher 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 NewVoucherWithDefaults() *Voucher
NewVoucherWithDefaults instantiates a new Voucher 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 *Voucher) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Voucher) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Voucher) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *Voucher) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *Voucher) GetDiscountedPrice() string
GetDiscountedPrice returns the DiscountedPrice field if non-nil, zero value otherwise.
func (o *Voucher) GetDiscountedPriceOk() (*string, bool)
GetDiscountedPriceOk returns a tuple with the DiscountedPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Voucher) SetDiscountedPrice(v string)
SetDiscountedPrice sets DiscountedPrice field to given value.
func (o *Voucher) HasDiscountedPrice() bool
HasDiscountedPrice returns a boolean if a field has been set.
func (o *Voucher) GetOriginalPrice() string
GetOriginalPrice returns the OriginalPrice field if non-nil, zero value otherwise.
func (o *Voucher) GetOriginalPriceOk() (*string, bool)
GetOriginalPriceOk returns a tuple with the OriginalPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Voucher) SetOriginalPrice(v string)
SetOriginalPrice sets OriginalPrice field to given value.
func (o *Voucher) HasOriginalPrice() bool
HasOriginalPrice returns a boolean if a field has been set.
func (o *Voucher) GetDescriptionInfo() VoucherDescriptionInfo
GetDescriptionInfo returns the DescriptionInfo field if non-nil, zero value otherwise.
func (o *Voucher) GetDescriptionInfoOk() (*VoucherDescriptionInfo, bool)
GetDescriptionInfoOk returns a tuple with the DescriptionInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Voucher) SetDescriptionInfo(v VoucherDescriptionInfo)
SetDescriptionInfo sets DescriptionInfo field to given value.
func (o *Voucher) HasDescriptionInfo() bool
HasDescriptionInfo returns a boolean if a field has been set.
func (o *Voucher) GetVoucherType() string
GetVoucherType returns the VoucherType field if non-nil, zero value otherwise.
func (o *Voucher) GetVoucherTypeOk() (*string, 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 *Voucher) SetVoucherType(v string)
SetVoucherType sets VoucherType field to given value.
func (o *Voucher) HasVoucherType() bool
HasVoucherType returns a boolean if a field has been set.