class Invoice_
extends _Invoice_
import { Invoice_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
Invoice
Constructors
new
Invoice_(params: { test?: true; name_requested?: true; phone_requested?: true; email_requested?: true; shipping_address_requested?: true; flexible?: true; phone_to_provider?: true; email_to_provider?: true; recurring?: true; currency: string; prices: Array<enums.LabeledPrice>; max_tip_amount?: bigint; suggested_tip_amounts?: Array<bigint>; terms_url?: string; })Properties
protected
readonly
[params]: ParamsThe maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45
pass amount = 145
. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
Price breakdown, a list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
Static Properties
readonly
[paramDesc]: ParamDesc