BasePaymentsRepository class abstract

To accept payments from cards, digital wallets and many alternative payment methods, specify the source.type field, along with the source-specific data.

To pay out to a card, specify the destination of your payout using the destination.type field, along with the destination-specific data.

To verify the success of the payment, check the approved field in the response.

Implementers

Constructors

BasePaymentsRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPaymentDetails(String id) Future<PaymentResponse>
Returns the details of the payment with the specified identifier string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestIdPayment({required PaymentRequest paymentRequest}) Future<PaymentResponse>
requestTokenPayment({required PaymentRequest paymentRequest, CreditCard? card, ApplePayTokenData? applePayTokenData, required PaymentMethod method}) Future<PaymentResponse>
pay using The Checkout.com token (e.g., a card or digital wallet token)
toString() String
A string representation of this object.
inherited

Operators

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