Capture class

Payment related capture

Annotations
  • @JsonSerializable()

Constructors

Capture({required String? identifier, required dynamic rate, required dynamic rateFormatted, required dynamic correctionRate, required String? phoneNumber, required dynamic failureMessage, required dynamic failureErrorCode, required dynamic failureErrorType, required Metadata? metadata, required int? amount, required String? amountFormatted, required Currency? currency, required Method? method, required Gateway? gateway, required Context? context})
Capture.fromJson(Map<String, dynamic> json)
factory

Properties

amount int?
final
amountFormatted String?
final
context Context?
final
correctionRate → dynamic
final
currency Currency?
final
failureErrorCode → dynamic
final
failureErrorType → dynamic
final
failureMessage → dynamic
final
gateway Gateway?
final
hashCode int
The hash code for this object.
no setterinherited
identifier String?
final
metadata Metadata?
final
method Method?
final
phoneNumber String?
final
rate → dynamic
final
rateFormatted → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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