HttpPaymentsRepository class

Implemented types

Constructors

HttpPaymentsRepository({required BaseTokensRepository tokensRepo, required dynamic headers, required ApiBase apiBase})

Properties

apiBase ApiBase
final
hashCode int
The hash code for this object.
no setterinherited
headers → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokensRepo BaseTokensRepository
final

Methods

getPaymentDetails(String id) Future<PaymentResponse>
Returns the details of the payment with the specified identifier string.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestIdPayment({required PaymentRequest paymentRequest}) Future<PaymentResponse>
override
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)
override
toString() String
A string representation of this object.
inherited

Operators

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