PayClient.RequestType
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Method Summary
From interface java.lang.annotation.Annotation
Constants
public static final int
CARD_PROVISIONING_DEEP_LINK
Checks support of card provisioning deep links.
Constant Value:
1
public static final int
SAVE_PASSES
public static final int
SAVE_PASSES_JWT
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003ePayClient.RequestType\u003c/code\u003e is an annotation that defines request types for checking Google Pay API availability.\u003c/p\u003e\n"],["\u003cp\u003eThese request types are used with \u003ccode\u003ePayClient.getPayApiAvailabilityStatus(int)\u003c/code\u003e to determine supported features.\u003c/p\u003e\n"],["\u003cp\u003eThree key request types are available: \u003ccode\u003eCARD_PROVISIONING_DEEP_LINK\u003c/code\u003e, \u003ccode\u003eSAVE_PASSES\u003c/code\u003e, and \u003ccode\u003eSAVE_PASSES_JWT\u003c/code\u003e, each corresponding to a specific Google Pay API functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from the \u003ccode\u003ejava.lang.annotation.Annotation\u003c/code\u003e interface like \u003ccode\u003eannotationType()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"]]],["`PayClient.RequestType` defines request types for use with `PayClient.getPayApiAvailabilityStatus(int)`. Three constants are available: `CARD_PROVISIONING_DEEP_LINK` (value: 1) checks for card provisioning deep link support. `SAVE_PASSES` (value: 2) checks for the `PayClient.savePasses` API. `SAVE_PASSES_JWT` (value: 3) verifies availability of the `PayClient.savePassesJwt` API. It also inherits methods such as `annotationType()`, `equals()`, `hashCode()`, and `toString()` from the `Annotation` interface.\n"],null,["# PayClient.RequestType\n\npublic static abstract @interface **PayClient.RequestType** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nAll possible request types that will be used by callers of [PayClient.getPayApiAvailabilityStatus(int)](/android/reference/com/google/android/gms/pay/PayClient#getPayApiAvailabilityStatus(int)). \n\n### Constant Summary\n\n|-----|--------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int | [CARD_PROVISIONING_DEEP_LINK](/android/reference/com/google/android/gms/pay/PayClient.RequestType#CARD_PROVISIONING_DEEP_LINK) | Checks support of card provisioning deep links. |\n| int | [SAVE_PASSES](/android/reference/com/google/android/gms/pay/PayClient.RequestType#SAVE_PASSES) | Checks availability of the [PayClient.savePasses(String, Activity, int)](/android/reference/com/google/android/gms/pay/PayClient#savePasses(java.lang.String,%20android.app.Activity,%20int)) API. |\n| int | [SAVE_PASSES_JWT](/android/reference/com/google/android/gms/pay/PayClient.RequestType#SAVE_PASSES_JWT) | Checks availability of the [PayClient.savePassesJwt(String, Activity, int)](/android/reference/com/google/android/gms/pay/PayClient#savePassesJwt(java.lang.String,%20android.app.Activity,%20int)) API. |\n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| abstract [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c? extends [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html)\\\u003e | annotationType() |\n| abstract boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| abstract int | hashCode() |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n\nConstants\n---------\n\n#### public static final int\n**CARD_PROVISIONING_DEEP_LINK**\n\nChecks support of card provisioning deep links. \nConstant Value: 1 \n\n#### public static final int\n**SAVE_PASSES**\n\nChecks availability of the [PayClient.savePasses(String, Activity, int)](/android/reference/com/google/android/gms/pay/PayClient#savePasses(java.lang.String,%20android.app.Activity,%20int)) API. \nConstant Value: 2 \n\n#### public static final int\n**SAVE_PASSES_JWT**\n\nChecks availability of the [PayClient.savePassesJwt(String, Activity, int)](/android/reference/com/google/android/gms/pay/PayClient#savePassesJwt(java.lang.String,%20android.app.Activity,%20int)) API. \nConstant Value: 3"]]