CreditCardPayment class
Class responsible for storing information about credit card payment. You have to provide either creditCard or creditCardToken.
- creditCard - information about credit card
- creditCardToken - token of tokenized card (for returning customers)
- recursive - if present creates a recurring payment
- Inheritance
-
- Object
- ScreenlessPayment
- CreditCardPayment
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- CreditCardPayment({required PaymentDetails paymentDetails, required Payer payer, required Callbacks? callbacks, CreditCard? creditCard, String? creditCardToken, Recursive? recursive})
-
CreditCardPayment.fromJson(Map<
String, dynamic> json) -
factory
Properties
- callbacks → Callbacks?
-
finalinherited
- creditCard → CreditCard?
-
final
- creditCardToken → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- payer → Payer
-
finalinherited
- paymentDetails → PaymentDetails
-
finalinherited
- recursive → Recursive?
-
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