Class GoogleCardSavedStatusResult

java.lang.Object
com.thalesgroup.gemalto.d1.pushprovisioning.GoogleCardSavedStatusResult

public final class GoogleCardSavedStatusResult extends Object
Google Pay card-saved status returned by a Universal Push Provisioning operation.

The status code is the raw value supplied by Google Pay and is intended for troubleshooting. Applications should not use it to determine whether tokenization itself succeeded.

Since:
4.5.0
  • Constructor Details

    • GoogleCardSavedStatusResult

      public GoogleCardSavedStatusResult(int statusCode, boolean saved)
      Creates a card-saved status result.
      Parameters:
      statusCode - raw Google Pay card status code
      saved - whether Google Pay saved the card
  • Method Details

    • getStatusCode

      public int getStatusCode()
      Returns:
      raw Google Pay card status code
    • isSaved

      public boolean isSaved()
      Returns:
      true when Google Pay saved the card