| CLASS info |
| public class WalletPassApiResponse implements Parcelable |
| Entry point for the pass functionality in HUAWEI Wallet. |
| Type | Name | Desc |
public static final Creator<WalletPassApiResponse> CREATOR | CREATOR | Instantiates the static object to implement Parcelable.Creator. |
| Return type | Method name |
| String | getReturnCode() |
| String | getReturnRes() |
| String | getAccessToken() |
| String | getTempAccessSec() |
| String | getCardParams() |
| List<WalletPassStatus> | getPassStatusList() |
| String | getTeeTempAccessSec() |
| String | getTeeTempTransId() |
| WalletPassStatus | getPassStatus() |
| String | getVersion() |
| String | getReadNFCResult() |
| String | getPassDeviceId() |
| String | getTransactionId() |
| String | getTransactionIdSign() |
| String | getAuthResult() |
| Method |
public String getReturnCode() |
| Obtains the result code, for example, result code 0 indicates a successful operation. For details about the result codes, please refer to the Result Codes section. |
Return
| Type | desc |
| String | Result code. |
| Method |
public String getReturnRes() |
| Obtains the result description. |
Return
| Type | desc |
| String | Result description. |
| Method |
public String getAccessToken() |
| Obtains the token for interacting with the card. |
Return
| Type | desc |
| String | Token. |
| Method |
public String getTempAccessSec() |
| Obtains the temporary public key for communicating with the card. |
Return
| Type | desc |
| String | Temporary public key for communicating with the card. |
| Method |
public String getCardParams() |
| Obtains pass parameters in JSON format. |
Return
| Type | desc |
| String | Pass parameters in JSON format. |
| Method |
public List<WalletPassStatus> getPassStatusList() |
| Obtains the collection of WalletPassStatus. |
Return
| Type | desc |
| List<WalletPassStatus> | Collection of WalletPassStatus. |
| Method |
public String getTeeTempAccessSec() |
| Obtains the temporary public key for communicating with TEE. |
Return
| Type | desc |
| String | Temporary public key for communicating with TEE. |
| Method |
public String getTeeTempTransId() |
| Obtains the temporary transaction ID for communicating with TEE. |
Return
| Type | desc |
| String | Temporary transaction ID for communicating with TEE. |
| Method |
public WalletPassStatus getPassStatus() |
| Obtains the pass status. |
Return
| Type | desc |
| WalletPassStatus | Pass status. |
| Method |
public String getVersion() |
| Obtains the version number. |
Return
| Type | desc |
| String | Version number. |
| Method |
public String getReadNFCResult() |
| Obtains the card reading result. |
Return
| Type | desc |
| String | Card reading result. |
| Method |
public String getPassDeviceId() |
| Obtains the unique ID of the device where the account is used. |
Return
| Type | desc |
| String | Unique ID of the device where the account is used. |
| Method |
public String getTransactionId() |
| Obtains the transaction ID. |
Return
| Type | desc |
| String | Transaction ID. |
| Method |
public String getTransactionIdSign() |
| Obtains the transaction ID signature. |
Return
| Type | desc |
| String | Transaction ID signature. |
| Method |
public String getAuthResult() |
| Obtains the APDU execution result for auth0 or auth1. |
Return
| Type | desc |
| String | APDU execution result for auth0 or auth1. |