CardPaymentDetails class

Reflects the current status of a card payment.

Annotations
  • @JsonSerializable()

Constructors

CardPaymentDetails({String? status, Card? card, String? entryMethod, String? cvvStatus, String? avsStatus, String? authResultCode, String? applicationIdentifier, String? applicationName, String? applicationCryptogram, String? verificationMethod, String? verificationResults, String? statementDescription, DeviceDetails? deviceDetails, DeviceDetails? refundRequiresCardPresence})
@macro Reflects the current status of a card payment.
const
CardPaymentDetails.fromJson(Map<String, dynamic> json)
Converts a Map to an CardPaymentDetails
factory

Properties

applicationCryptogram String?
For EMV payments, the cryptogram generated for the payment.
final
applicationIdentifier String?
For EMV payments, the application ID identifies the EMV application used for the payment.
final
applicationName String?
For EMV payments, the human-readable name of the EMV application used for the payment.
final
authResultCode String?
The status code returned by the card issuer that describes the payment's authorization status.
final
avsStatus String?
The status code returned from the Address Verification System (AVS) check. The code can be AVS_ACCEPTED, AVS_REJECTED, or AVS_NOT_CHECKED.
final
card Card?
check. The code can be AVS_ACCEPTED, AVS_REJECTED, or AVS_NOT_CHECKED.
final
cvvStatus String?
The status code returned from the Card Verification Value (CVV) check. The code can be CVV_ACCEPTED, CVV_REJECTED, or CVV_NOT_CHECKED.
final
deviceDetails DeviceDetails?
Details about the device that took the payment.
final
entryMethod String?
The method used to enter the card's details for the payment. The method can be KEYED, SWIPED, EMV, ON_FILE, or CONTACTLESS.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
refundRequiresCardPresence DeviceDetails?
Whether the card must be physically present for the payment to be refunded. If set to true, the card must be present.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statementDescription String?
The statement description sent to the card networks. Note: The actual statement description varies and is likely to be truncated and appended with additional information on a per issuer basis.
final
status String?
The card payment's current state. The state can be AUTHORIZED, CAPTURED, VOIDED, or FAILED.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
verificationMethod String?
For EMV payments, the method used to verify the cardholder's identity. The method can be PIN, SIGNATURE, PIN_AND_SIGNATURE, ON_DEVICE, or NONE.
final
verificationResults String?
For EMV payments, the results of the cardholder verification. The result can be SUCCESS, FAILURE, or UNKNOWN.
final

Methods

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

Operators

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