Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
addPass ({required String hwPassData })
→ Future <WalletPassApiResponse >
Adds a pass to Huawei Wallet, which will verify the signature of the pass.
canAddPass ({required String appid , required String passTypeId })
→ Future <WalletPassApiResponse >
Checks whether this type of pass can be added.
confirmPersonalize ({required String personalizeConfirmBody })
→ Future <WalletPassApiResponse >
Imports the personalized data of an applet.
confirmRegister ({required String registerConfirmBody })
→ Future <WalletPassApiResponse >
Imports applet authentication information.
confirmTransaction ({required String confirmTransBody })
→ Future <WalletPassApiResponse >
Sends transaction information.
deletePass ({required String passTypeId , required String passId , required String sign })
→ Future <WalletPassApiResponse >
Deletes a pass based on passId.
modifyNFCCard ({required String passTypeId , required String passId , required String cardParams , required String reason , required String sign })
→ Future <WalletPassApiResponse >
Modifies parameters of a pass (NFC pass only).
queryPass ({required String requestBody })
→ Future <WalletPassApiResponse >
Queries pass information.
queryPassStatus ({required String passTypeId , required String passId })
→ Future <WalletPassApiResponse >
Queries the status of a pass based on passId.
readNFCCard ({required String passTypeId , required String passId , required String cardParams , required String reason , required String sign })
→ Future <WalletPassApiResponse >
Queries designated parameters of a pass (NFC pass only).
The request should contain the specified temporary public key for encrypting the query result.
requestPersonalize ({required String personalizeRequestBody })
→ Future <WalletPassApiResponse >
Applies for personalized data of an applet.
requestRegister ({required String registerRequestBody })
→ Future <WalletPassApiResponse >
Obtains the applet public key and authentication request information.
requestTransaction ({required String requestTransBody })
→ Future <WalletPassApiResponse >
Applies for transaction.
requireAccessCardSec ({required String passTypeId , required String passId , required String sign })
→ Future <WalletPassApiResponse >
Requests a temporary public key for communicating with the NFC pass.
requireAccessToken ({required String passTypeId })
→ Future <WalletPassApiResponse >
Requests to modify the token of a pass (NFC pass only).
Upon successful request, a one-time token with a validity period will be returned.
requirePassDeviceId ({required String passTypeId })
→ Future <WalletPassApiResponse >
Queries the device ID.