Invoice class

Inheritance

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
Invoice.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

currency String
currency ISO 4217 currency code
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isFlexible bool
isFlexible True, if the total price depends on the shipping method
read / write
isTest bool
isTest True, if the payment is a test payment
read / write
needEmailAddress bool
needEmailAddress True, if the user's email address is needed for payment
read / write
needName bool
needName True, if the user's name is needed for payment
read / write
needPhoneNumber bool
needPhoneNumber True, if the user's phone number is needed for payment
read / write
needShippingAddress bool
needShippingAddress True, if the user's shipping address is needed for payment
read / write
priceParts List<LabeledPricePart>
priceParts A list of objects used to calculate the total price of the product
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sendEmailAddressToProvider bool
sendEmailAddressToProvider True, if the user's email address will be sent to the provider
read / write
sendPhoneNumberToProvider bool
sendPhoneNumberToProvider True, if the user's phone number will be sent to the provider
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'invoice'