Invoice class
Product invoice.
- Inheritance
- Available Extensions
Constructors
-
Invoice({required String currency, required List<
LabeledPricePart> price_parts, required int max_tip_amount, required List<int> suggested_tip_amounts, required String recurring_payment_terms_of_service_url, required String terms_of_service_url, required bool is_test, required bool need_name, required bool need_phone_number, required bool need_email_address, required bool need_shipping_address, required bool send_phone_number_to_provider, required bool send_email_address_to_provider, required bool is_flexible, int? extra, int? clientId}) - Product invoice
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- currency ↔ String
-
ISO 4217 currency code.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_flexible ↔ bool
-
True, if the total price depends on the shipping method.
read / write
- is_test ↔ bool
-
True, if the payment is a test payment.
read / write
- max_tip_amount ↔ int
-
The maximum allowed amount of tip in the smallest units of the currency.
read / write
- need_email_address ↔ bool
-
True, if the user's email address is needed for payment.
read / write
- need_name ↔ bool
-
True, if the user's name is needed for payment.
read / write
- need_phone_number ↔ bool
-
True, if the user's phone number is needed for payment.
read / write
- need_shipping_address ↔ bool
-
True, if the user's shipping address is needed for payment.
read / write
-
price_parts
↔ List<
LabeledPricePart> -
A list of objects used to calculate the total price of the product.
read / write
- recurring_payment_terms_of_service_url ↔ String
-
An HTTP URL with terms of service for recurring payments. If non-empty, the invoice payment will result in recurring payments and the user must accept the terms of service before allowed to pay.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- send_email_address_to_provider ↔ bool
-
True, if the user's email address will be sent to the provider.
read / write
- send_phone_number_to_provider ↔ bool
-
True, if the user's phone number will be sent to the provider.
read / write
-
suggested_tip_amounts
↔ List<
int> -
Suggested amounts of tip in the smallest units of the currency.
read / write
- terms_of_service_url ↔ String
-
An HTTP URL with terms of service for non-recurring payments. If non-empty, then the user must accept the terms of service before allowed to pay.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- CONSTRUCTOR → const String
-
@type
"invoice"