Cyberpayflutter class
API for processing payment using the Cyberpay SDK
Constructors
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
-
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
Static Properties
-
platformVersion
→ Future<
String?> -
This constructor is only used for testing and shouldn't be accessed by
users of the plugin. It isn't useful for this plugin.
no setter
Static Methods
-
makePayment(
{required String integrationKey, required double amount, required String customerEmail, required bool liveMode}) → Future< CyberpayResult> - Function to make a new payment. Returns a CyberpayResult class.
-
makePaymentWithReference(
{required String integrationKey, required String reference, required bool liveMode}) → Future< CyberpayResult> - Function to make a new payment, when transaction has already been initated from the server. Returns a CyberpayResult class.