PurchaseResponse class

Inheritance

Constructors

PurchaseResponse.from({required int statusCode, required String reasonPhrase, required Map<String, String> headers, required Invoice? invoice})
Returns the new instance of PurchaseResponse based on arguments.

Properties

hashCode int
The hash code for this object.
no setteroverride
headers Map<String, String>
The http headers
finalinherited
invoice Invoice?
The invoice
final
isEstablished bool
Returns true if purchase request was succeeded, otherwise false.
no setter
isNotEstablished bool
Returns true if purchase request was failed, otherwise false.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status
The http status
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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