Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.42 KB

RedeemDineInVoucherRequest.md

File metadata and controls

72 lines (39 loc) · 2.42 KB

RedeemDineInVoucherRequest

Properties

Name Type Description Notes
CertificateID string This certificateID is decoded from scanning the QR code, and 1:1 mapping with `voucherCode`.
MerchantID string The merchant's ID that is in GrabFood's database.

Methods

NewRedeemDineInVoucherRequest

func NewRedeemDineInVoucherRequest(certificateID string, merchantID string, ) *RedeemDineInVoucherRequest

NewRedeemDineInVoucherRequest instantiates a new RedeemDineInVoucherRequest 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

NewRedeemDineInVoucherRequestWithDefaults

func NewRedeemDineInVoucherRequestWithDefaults() *RedeemDineInVoucherRequest

NewRedeemDineInVoucherRequestWithDefaults instantiates a new RedeemDineInVoucherRequest 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

GetCertificateID

func (o *RedeemDineInVoucherRequest) GetCertificateID() string

GetCertificateID returns the CertificateID field if non-nil, zero value otherwise.

GetCertificateIDOk

func (o *RedeemDineInVoucherRequest) 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.

SetCertificateID

func (o *RedeemDineInVoucherRequest) SetCertificateID(v string)

SetCertificateID sets CertificateID field to given value.

GetMerchantID

func (o *RedeemDineInVoucherRequest) GetMerchantID() string

GetMerchantID returns the MerchantID field if non-nil, zero value otherwise.

GetMerchantIDOk

func (o *RedeemDineInVoucherRequest) 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.

SetMerchantID

func (o *RedeemDineInVoucherRequest) SetMerchantID(v string)

SetMerchantID sets MerchantID field to given value.

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