Class GoogleProvisioningResult
- java.lang.Object
-
- com.thalesgroup.tpcsdk.provisioning.GoogleProvisioningResult
-
public final class GoogleProvisioningResult extends Object
Result of a Google Pay Universal Push Provisioning operation.The raw Google card-saved status is supplied for troubleshooting and UI handling. Tokenization outcome is represented by the listener success or error callback.
-
-
Constructor Summary
Constructors Constructor Description GoogleProvisioningResult(String tokenID, int googleCardSavedStatusCode, boolean isCardSavedToGoogle)Creates a result for a Google Pay Universal Push Provisioning operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetGoogleCardSavedStatusCode()Returns the raw card-saved status code reported by Google Pay.StringgetTokenID()Returns the identifier of the provisioned token.booleanisCardSavedToGoogle()Indicates whether Google Pay reports that the card was saved.
-
-
-
Constructor Detail
-
GoogleProvisioningResult
public GoogleProvisioningResult(String tokenID, int googleCardSavedStatusCode, boolean isCardSavedToGoogle)
Creates a result for a Google Pay Universal Push Provisioning operation.- Parameters:
tokenID- identifier of the provisioned token returned by Google Pay; may benullwhen a token identifier is not availablegoogleCardSavedStatusCode- raw card-saved status code returned by Google PayisCardSavedToGoogle- whether Google Pay reports that the card was saved
-
-
Method Detail
-
getTokenID
public String getTokenID()
Returns the identifier of the provisioned token.- Returns:
- the Google Pay token identifier, or
nullwhen it is not available
-
getGoogleCardSavedStatusCode
public int getGoogleCardSavedStatusCode()
Returns the raw card-saved status code reported by Google Pay.- Returns:
- the Google Pay card-saved status code
-
isCardSavedToGoogle
public boolean isCardSavedToGoogle()
Indicates whether Google Pay reports that the card was saved.- Returns:
trueif the card was saved to Google Pay;falseotherwise
-
-