Invoice class

Implemented types

Constructors

Invoice({String currency, List<LabeledPricePart> priceParts, bool isTest, bool needName, bool needPhoneNumber, bool needEmailAddress, bool needShippingAddress, bool sendPhoneNumberToProvider, bool sendEmailAddressToProvider, bool isFlexible})
Product invoice. currency ISO 4217 currency code . priceParts A list of objects used to calculate the total price of the product . isTest True, if the payment is a test payment. needName True, if the user's name is needed for payment . needPhoneNumber True, if the user's phone number is needed for payment . needEmailAddress True, if the user's email address is needed for payment. needShippingAddress True, if the user's shipping address is needed for payment . sendPhoneNumberToProvider True, if the user's phone number will be sent to the provider. sendEmailAddressToProvider True, if the user's email address will be sent to the provider . isFlexible True, if the total price depends on the shipping method
Invoice.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isFlexible bool
read / write
isTest bool
read / write
needEmailAddress bool
read / write
needName bool
read / write
needPhoneNumber bool
read / write
needShippingAddress bool
read / write
priceParts List<LabeledPricePart>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sendEmailAddressToProvider bool
read / write
sendPhoneNumberToProvider bool
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"invoice"