Constructor: invoice

Back to constructors index

Invoice

Attributes:

Name Type Required Description
test Bool Optional Test?
name_requested Bool Optional Name requested?
phone_requested Bool Optional Phone requested?
email_requested Bool Optional Email requested?
shipping_address_requested Bool Optional Shipping address requested?
flexible Bool Optional Flexible?
phone_to_provider Bool Optional Phone to provider?
email_to_provider Bool Optional Email to provider?
currency string Yes Currency
prices Array of LabeledPrice Yes Prices

Type: Invoice

Example:

$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice]];

Or, if you’re into Lua:

invoice={_='invoice', test=Bool, name_requested=Bool, phone_requested=Bool, email_requested=Bool, shipping_address_requested=Bool, flexible=Bool, phone_to_provider=Bool, email_to_provider=Bool, currency='string', prices={LabeledPrice}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.