ApplePayUtils class
Constructors
- ApplePayUtils()
-
factory
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
-
isSupportApplyPay(
) → Future< bool?> - 是否支持apple pay
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
payment(
{required String merchantId, String countryCode = "CN", String currencyCode = "CNY", required List< SummaryItem> summaryList, Express? express}) → void -
支付
merchantId在apple开发者平台申请的商户idcountryCode国家代码,默认CNcurrencyCode货币代码,默认CNYsummaryList商品列表express快递 -
supportType(
) → Future< int?> -
支持类型
return-1:不支持apple pay支付;1:允许支付;2:未添加银行卡,调用添加银行卡支付; -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ApplePayUtils
-
no setter