PayPalCard class

Represents the credit card details required for payment approval.

Constructors

PayPalCard({required String cardholderName, required String cardNumber, required String expirationMonth, required String expirationYear, required String securityCode, Map<String, String>? billingAddress})
const

Properties

billingAddress Map<String, String>?
Optional billing address if required by the merchant account.
final
cardholderName String
The cardholder's name as it appears on the card.
final
cardNumber String
The 13-19 digit card number.
final
expirationMonth String
The expiration month in MM format.
final
expirationYear String
The expiration year in YYYY format.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityCode String
The 3-4 digit security code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the card details to a map for native bridge communication.
toString() String
A string representation of this object.
inherited

Operators

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