Invoice class

Invoice.

ID: 5db95a15.

Inheritance

Constructors

Invoice({required bool test, required bool nameRequested, required bool phoneRequested, required bool emailRequested, required bool shippingAddressRequested, required bool flexible, required bool phoneToProvider, required bool emailToProvider, required bool recurring, required String currency, required List<LabeledPriceBase> prices, int? maxTipAmount, List<int>? suggestedTipAmounts, String? termsUrl})
Invoice constructor.
const
Invoice.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

currency String
Currency.
final
emailRequested bool
email_requested: bit 3 of flags.3?true
final
emailToProvider bool
email_to_provider: bit 7 of flags.7?true
final
flags int
Flags.
no setter
flexible bool
flexible: bit 5 of flags.5?true
final
hashCode int
The hash code for this object.
no setterinherited
maxTipAmount int?
Max Tip Amount.
final
nameRequested bool
name_requested: bit 1 of flags.1?true
final
phoneRequested bool
phone_requested: bit 2 of flags.2?true
final
phoneToProvider bool
phone_to_provider: bit 6 of flags.6?true
final
prices List<LabeledPriceBase>
Prices.
final
recurring bool
recurring: bit 9 of flags.9?true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddressRequested bool
shipping_address_requested: bit 4 of flags.4?true
final
suggestedTipAmounts List<int>?
Suggested Tip Amounts.
final
termsUrl String?
Terms Url.
final
test bool
test: bit 0 of flags.0?true
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited