CanAddCardToWalletParams class
The params for checking if a card is in the wallet.
- Annotations
-
- @freezed
Constructors
- CanAddCardToWalletParams({String? primaryAccountIdentifier, required String cardLastFour, bool? testEnv, bool? hasPairedAppleWatch, bool? supportsTapToPay})
-
constfactory
-
CanAddCardToWalletParams.fromJson(Map<
String, dynamic> json) -
factory
Properties
- cardLastFour → String
-
Last 4 digits of the card number. Required for Android.
no setterinherited
-
copyWith
→ $CanAddCardToWalletParamsCopyWith<
CanAddCardToWalletParams> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPairedAppleWatch → bool?
-
iOS only. Set this to
true
if: your user has an Apple Watch device currently paired, and you want to check that device for the presence of the specified card.no setterinherited - primaryAccountIdentifier → String?
-
The
primary_account_identifier
value from the issued card. Can be an empty string.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsTapToPay → bool?
-
Android only, defaults to
true
. Set this tofalse
if you'd like to allow users without NFC-enabled devices to add cards to the wallet. NFC is required for paying in stores.no setterinherited - testEnv → bool?
-
iOS only. Set this to
true
until shipping through TestFlight || App Store. If false, you must be using live cards, and have the proper iOS entitlement set up. See https://stripe.com/docs/issuing/cards/digital-wallets?platform=react-native#requesting-access-for-iosno setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited