CloudpaymentsApplePay class
Contains helper methods that allow you to interact with Apple Pay.
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
-
isApplePayAvailable(
) → Future< bool> - Checks whether an Apple Pay is available on this device and can process payment requests using Cloudpayments payment network brands (Visa and Mastercard).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestApplePayPayment(
{required String merchantId, required String currencyCode, required String countryCode, required List< Map< products}) → Future<String, String> >ApplePayResponse> - Requests Apple Pay payment. Returns payment token that you can use for Cloudpayments payment by a cryptogram.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited