PayClient.RequestType

  • PayClient.RequestType is an annotation that defines request types for checking Google Pay API availability.

  • These request types are used with PayClient.getPayApiAvailabilityStatus(int) to determine supported features.

  • Three key request types are available: CARD_PROVISIONING_DEEP_LINK, SAVE_PASSES, and SAVE_PASSES_JWT, each corresponding to a specific Google Pay API functionality.

  • It inherits methods from the java.lang.annotation.Annotation interface like annotationType(), equals(), hashCode(), and toString().

public static abstract @interface PayClient.RequestType implements Annotation

All possible request types that will be used by callers of PayClient.getPayApiAvailabilityStatus(int).

Constant Summary

int CARD_PROVISIONING_DEEP_LINK Checks support of card provisioning deep links.
int SAVE_PASSES Checks availability of the PayClient.savePasses(String, Activity, int) API.
int SAVE_PASSES_JWT Checks availability of the PayClient.savePassesJwt(String, Activity, int) API.

Inherited Method Summary

Constants

Checks support of card provisioning deep links.

Constant Value: 1

public static final int SAVE_PASSES

Checks availability of the PayClient.savePasses(String, Activity, int) API.

Constant Value: 2

public static final int SAVE_PASSES_JWT

Checks availability of the PayClient.savePassesJwt(String, Activity, int) API.

Constant Value: 3