Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.61 KB

GetDineInVoucherResponse.md

File metadata and controls

35 lines (25 loc) · 1.61 KB

GetDineInVoucherResponse

Properties

Name Type Description Notes
certificate_id str This certificateID is decoded from scanning the QR code, and 1:1 mapping with `voucherCode`. [optional]
voucher_code str A short code for the dine-in voucher purchased by the user. [optional]
voucher Voucher [optional]
voucher_status str The status of the dine-in voucher purchased. Only active voucher is eligible for redemption. [optional]
merchant_id str The merchant's ID that is in GrabFood's database. [optional]
campaign_id str The dine-in voucher campaign's ID in GrabFood's database. [optional]

Example

from grabfood.models.get_dine_in_voucher_response import GetDineInVoucherResponse

# TODO update the JSON string below
json = "{}"
# create an instance of GetDineInVoucherResponse from a JSON string
get_dine_in_voucher_response_instance = GetDineInVoucherResponse.from_json(json)
# print the JSON string representation of the object
print(GetDineInVoucherResponse.to_json())

# convert the object into a dict
get_dine_in_voucher_response_dict = get_dine_in_voucher_response_instance.to_dict()
# create an instance of GetDineInVoucherResponse from a dict
get_dine_in_voucher_response_from_dict = GetDineInVoucherResponse.from_dict(get_dine_in_voucher_response_dict)

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