Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 983 Bytes

File metadata and controls

31 lines (22 loc) · 983 Bytes

Payment

Properties

Name Type Description Notes
method str payment name, eg, visa, masterCard. [optional]
funding_type str fundingType name, eg, credit, debit. [optional]
amount_in_min int amount paid by this payment method. [optional]

Example

from grabfood.models.payment import Payment

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

# convert the object into a dict
payment_dict = payment_instance.to_dict()
# create an instance of Payment from a dict
payment_from_dict = Payment.from_dict(payment_dict)

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