invoice
Signature
Section titled “Signature”invoice#049ee584 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string subscription_period:flags.11?int = Invoice;Result type
Section titled “Result type”Invoice
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| test | flags.0?true | flags.0 | — | |
| name_requested | flags.1?true | flags.1 | — | |
| phone_requested | flags.2?true | flags.2 | — | |
| email_requested | flags.3?true | flags.3 | — | |
| shipping_address_requested | flags.4?true | flags.4 | — | |
| flexible | flags.5?true | flags.5 | — | |
| phone_to_provider | flags.6?true | flags.6 | — | |
| email_to_provider | flags.7?true | flags.7 | — | |
| recurring | flags.9?true | flags.9 | — | |
| currency | string | — | — | |
| prices | Vector |
— | — | |
| max_tip_amount | flags.8?long | flags.8 | — | |
| suggested_tip_amounts | flags.8?Vector |
flags.8 | — | |
| terms_url | flags.10?string | flags.10 | — | |
| subscription_period | flags.11?int | flags.11 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| test | 0 | Controlled by flags; present when this bit is set. |
| name_requested | 1 | Controlled by flags; present when this bit is set. |
| phone_requested | 2 | Controlled by flags; present when this bit is set. |
| email_requested | 3 | Controlled by flags; present when this bit is set. |
| shipping_address_requested | 4 | Controlled by flags; present when this bit is set. |
| flexible | 5 | Controlled by flags; present when this bit is set. |
| phone_to_provider | 6 | Controlled by flags; present when this bit is set. |
| email_to_provider | 7 | Controlled by flags; present when this bit is set. |
| recurring | 9 | Controlled by flags; present when this bit is set. |
| max_tip_amount | 8 | Controlled by flags; present when this bit is set. |
| suggested_tip_amounts | 8 | Controlled by flags; present when this bit is set. |
| terms_url | 10 | Controlled by flags; present when this bit is set. |
| subscription_period | 11 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import InvoicePublic access: miniproto.raw.types.Invoice.