1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 19:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/invoice.md
2017-08-25 15:05:53 +02:00

1.0 KiB

title description
invoice Goods invoice

Constructor: invoice

Back to constructors index

Goods invoice

Attributes:

Name Type Required Description
currency string Yes ISO 4217 currency code
prices Array of labeledPrice Yes List of objects used to calculate total price
is_test Bool Yes True, if payment is test
need_name Bool Yes True, if user's name is needed for payment
need_phone_number Bool Yes True, if user's phone number is needed for payment
need_email Bool Yes True, if user's email is needed for payment
need_shipping_address Bool Yes True, if user's shipping address is needed for payment
is_flexible Bool Yes True, if total price depends on shipping method

Type: Invoice