PaymentDetailsProvider class abstract

A contract for obtaining payment information based on an order ID.

This abstract class defines the interface for retrieving payment details. Implementations of this class are responsible for fetching payment information from various sources (e.g., API, local storage, etc.).

The interface is designed to be flexible enough to support different payment detail providers while maintaining a consistent contract for the rest of the SDK.

Implementers

Constructors

PaymentDetailsProvider()

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 orderId, PaymentEnvironment paymentEnvironment) Future<PaymentDetailsEntity>
Returns an entity containing the necessary payment details for processing a payment.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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