Name | Type | Description | Notes |
---|---|---|---|
CertificateID | Pointer to string | This certificateID is decoded from scanning the QR code, and 1:1 mapping with `voucherCode`. | [optional] |
VoucherCode | Pointer to string | A short code for the dine-in voucher purchased by the user. | [optional] |
Voucher | Pointer to Voucher | [optional] | |
RedeemResult | Pointer to RedeemResult | [optional] | |
MerchantID | Pointer to string | The merchant's ID that is in GrabFood's database. | [optional] |
CampaignID | Pointer to string | The dine-in voucher campaign's ID in GrabFood's database. | [optional] |
func NewRedeemDineInVoucherResponse() *RedeemDineInVoucherResponse
NewRedeemDineInVoucherResponse instantiates a new RedeemDineInVoucherResponse 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 NewRedeemDineInVoucherResponseWithDefaults() *RedeemDineInVoucherResponse
NewRedeemDineInVoucherResponseWithDefaults instantiates a new RedeemDineInVoucherResponse 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 *RedeemDineInVoucherResponse) GetCertificateID() string
GetCertificateID returns the CertificateID field if non-nil, zero value otherwise.
func (o *RedeemDineInVoucherResponse) GetCertificateIDOk() (*string, bool)
GetCertificateIDOk returns a tuple with the CertificateID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RedeemDineInVoucherResponse) SetCertificateID(v string)
SetCertificateID sets CertificateID field to given value.
func (o *RedeemDineInVoucherResponse) HasCertificateID() bool
HasCertificateID returns a boolean if a field has been set.
func (o *RedeemDineInVoucherResponse) GetVoucherCode() string
GetVoucherCode returns the VoucherCode field if non-nil, zero value otherwise.
func (o *RedeemDineInVoucherResponse) 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 *RedeemDineInVoucherResponse) SetVoucherCode(v string)
SetVoucherCode sets VoucherCode field to given value.
func (o *RedeemDineInVoucherResponse) HasVoucherCode() bool
HasVoucherCode returns a boolean if a field has been set.
func (o *RedeemDineInVoucherResponse) GetVoucher() Voucher
GetVoucher returns the Voucher field if non-nil, zero value otherwise.
func (o *RedeemDineInVoucherResponse) GetVoucherOk() (*Voucher, bool)
GetVoucherOk returns a tuple with the Voucher field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RedeemDineInVoucherResponse) SetVoucher(v Voucher)
SetVoucher sets Voucher field to given value.
func (o *RedeemDineInVoucherResponse) HasVoucher() bool
HasVoucher returns a boolean if a field has been set.
func (o *RedeemDineInVoucherResponse) GetRedeemResult() RedeemResult
GetRedeemResult returns the RedeemResult field if non-nil, zero value otherwise.
func (o *RedeemDineInVoucherResponse) GetRedeemResultOk() (*RedeemResult, bool)
GetRedeemResultOk returns a tuple with the RedeemResult field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RedeemDineInVoucherResponse) SetRedeemResult(v RedeemResult)
SetRedeemResult sets RedeemResult field to given value.
func (o *RedeemDineInVoucherResponse) HasRedeemResult() bool
HasRedeemResult returns a boolean if a field has been set.
func (o *RedeemDineInVoucherResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field if non-nil, zero value otherwise.
func (o *RedeemDineInVoucherResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RedeemDineInVoucherResponse) SetMerchantID(v string)
SetMerchantID sets MerchantID field to given value.
func (o *RedeemDineInVoucherResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (o *RedeemDineInVoucherResponse) GetCampaignID() string
GetCampaignID returns the CampaignID field if non-nil, zero value otherwise.
func (o *RedeemDineInVoucherResponse) GetCampaignIDOk() (*string, bool)
GetCampaignIDOk returns a tuple with the CampaignID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RedeemDineInVoucherResponse) SetCampaignID(v string)
SetCampaignID sets CampaignID field to given value.
func (o *RedeemDineInVoucherResponse) HasCampaignID() bool
HasCampaignID returns a boolean if a field has been set.