ApplePayMerchantCapability class

Merchant capabilities advertised to Apple Pay.

Defaults to threeDSecure which is required by Noon for processing. Use the predefined constants; a custom value can be supplied for forward compatibility, but only capabilities Apple recognizes are applied natively.

Constructors

ApplePayMerchantCapability(String value)
Creates a capability identifier. Prefer the predefined constants.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The identifier sent to the native platform.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

credit → const ApplePayMerchantCapability
Support for credit cards.
debit → const ApplePayMerchantCapability
Support for debit cards.
emv → const ApplePayMerchantCapability
Support for the EMV protocol.
threeDSecure → const ApplePayMerchantCapability
Support for the 3-D Secure protocol (required by Noon).