CardInformation class

Constructors

CardInformation({required String tokenId, required String maskedCardNumber, int? cardholderName, required String expiryMonth, required String expiryYear, XenditCardType? type, XenditCardNetwork? network, String? country, String? issuer, int? fingerprint})
CardInformation.fromJson(Map<String, dynamic> json)
factory

Properties

cardholderName int?
Cardholder name is optional but recommended for 3DS 2 / AVS verification
final
country String?
2-letter country code of the issuing country of the card.
final
expiryMonth String
Card expiry month in MM format.
final
expiryYear String
Card expiry year in YYYY format.
final
fingerprint int?
Unique consistent identifier for the card. This does not change values over different authorizations.
final
hashCode int
The hash code for this object.
no setterinherited
issuer String?
Name of the issuing entity of the card
final
maskedCardNumber String
Masked card number
final
network XenditCardNetwork?
Card scheme of the card specified for tokenization.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenId String
Corresponding token ID of the card
final
type XenditCardType?
Type of card used.
final

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