PeachPaymentsPlatform class abstract

An abstract class representing the platform interface for Peach Payments.

Inheritance
  • Object
  • PlatformInterface
  • PeachPaymentsPlatform
Implementers

Constructors

PeachPaymentsPlatform()
Constructs a PeachPaymentsPlatform.

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

confirmWithCustomerDefaultPaymentMethod() → Future<Map<String, dynamic>?>
Presents the payment sheet.
confirmWithLastUsedPaymentMethod() → Future<Map<String, dynamic>?>
Confirm with Customer Last Used Payment Methods.
getCustomerLastUsedPaymentMethodData() → Future<Map<String, dynamic>?>
Get Customer Last Used Payment Methods.
getCustomerSavedPaymentMethodData() → Future<Map<String, dynamic>?>
Presents the payment sheet.
getCustomerSavedPaymentMethods() → Future<Map<String, dynamic>?>
Presents the payment sheet.
init(Map<String, dynamic> params) → dynamic
Initializes the payment sheet with the provided params.
initPaymentSession(Map<String, dynamic> params) → Future<Map<String, dynamic>?>
Initializes the payment sheet with the provided params.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
presentPaymentSheet() → Future<Map<String, dynamic>?>
Presents the payment sheet.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ PeachPaymentsPlatform
The default instance of PeachPaymentsPlatform to use.
getter/setter pair