目录

CLASS info
public class WalletPassApiResponse implements Parcelable
Entry point for the pass functionality in HUAWEI Wallet.

Field Summary

TypeNameDesc

public static final 

Creator<WalletPassApiResponse> CREATOR

CREATORInstantiates the static object to implement Parcelable.Creator.

Public Method Summary

Return typeMethod name
StringgetReturnCode()
StringgetReturnRes()
StringgetAccessToken()
StringgetTempAccessSec()
StringgetCardParams()
List<WalletPassStatus>getPassStatusList()
StringgetTeeTempAccessSec()
StringgetTeeTempTransId()
WalletPassStatusgetPassStatus()
StringgetVersion()
StringgetReadNFCResult()
StringgetPassDeviceId()
StringgetTransactionId()
StringgetTransactionIdSign()
StringgetAuthResult()

Public Methods

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

Typedesc
StringResult code.
Method

public String getReturnRes()

Obtains the result description.

Return

Typedesc
StringResult description.
Method

public String getAccessToken()

Obtains the token for interacting with the card.

Return

Typedesc
StringToken.
Method

public String getTempAccessSec()

Obtains the temporary public key for communicating with the card.

Return

Typedesc
StringTemporary public key for communicating with the card.
Method

public String getCardParams()

Obtains pass parameters in JSON format.

Return

Typedesc
StringPass parameters in JSON format.
Method

public List<WalletPassStatus> getPassStatusList()

Obtains the collection of WalletPassStatus.

Return

Typedesc
List<WalletPassStatus>Collection of WalletPassStatus.
Method

public String getTeeTempAccessSec()

Obtains the temporary public key for communicating with TEE.

Return

Typedesc
StringTemporary public key for communicating with TEE.
Method

public String getTeeTempTransId()

Obtains the temporary transaction ID for communicating with TEE.

Return

Typedesc
StringTemporary transaction ID for communicating with TEE.
Method

public WalletPassStatus getPassStatus()

Obtains the pass status.

Return

Typedesc
WalletPassStatusPass status.
Method

public String getVersion()

Obtains the version number.

Return

Typedesc
StringVersion number.
Method

public String getReadNFCResult()

Obtains the card reading result.

Return

Typedesc
StringCard reading result.
Method

public String getPassDeviceId()

Obtains the unique ID of the device where the account is used.

Return

Typedesc
StringUnique ID of the device where the account is used.
Method

public String getTransactionId()

Obtains the transaction ID.

Return

Typedesc
StringTransaction ID.
Method

public String getTransactionIdSign()

Obtains the transaction ID signature.

Return

Typedesc
StringTransaction ID signature.
Method

public String getAuthResult()

Obtains the APDU execution result for auth0 or auth1.

Return

Typedesc
StringAPDU execution result for auth0 or auth1.