Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.17 KB

File metadata and controls

30 lines (21 loc) · 1.17 KB

GiftCardPurchase

Properties

Name Type Description Notes
amount float The total amount of gift cards purchased, depending on payment currency precision. - `CZK`: two digits - `EUR`: two digits - `HUF`: zero digits - `USD`: two digits [optional]
count int The number of gift cards purchased. [optional]

Example

from clientapi_barion.models.gift_card_purchase import GiftCardPurchase

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

# convert the object into a dict
gift_card_purchase_dict = gift_card_purchase_instance.to_dict()
# create an instance of GiftCardPurchase from a dict
gift_card_purchase_from_dict = GiftCardPurchase.from_dict(gift_card_purchase_dict)

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