PayClient.ProductName
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.ProductName\u003c/code\u003e is an enum that indicates the product name in the current market.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two enum values: \u003ccode\u003eGOOGLE_PAY\u003c/code\u003e and \u003ccode\u003eGOOGLE_WALLET\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis enum inherits methods from \u003ccode\u003ejava.lang.Enum\u003c/code\u003e, \u003ccode\u003ejava.lang.Object\u003c/code\u003e, \u003ccode\u003ejava.lang.constant.Constable\u003c/code\u003e, and \u003ccode\u003ejava.lang.Comparable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese inherited methods provide functionalities like comparing enum values, getting their names, and describing them.\u003c/p\u003e\n"]]],["`PayClient.ProductName` is an enum indicating a product's market name, with `GOOGLE_PAY` and `GOOGLE_WALLET` as defined values. Inherited methods allow for comparing enums (`compareTo`), obtaining class information (`getDeclaringClass`), retrieving names (`name`), and getting a numeric position (`ordinal`). Additionally, there is the ability to check equality (`equals`), convert to a string representation (`toString`), and determine a consistent description (`describeConstable`). It can be used to define what the product is called in this market.\n"],null,["# PayClient.ProductName\n\npublic static final enum **PayClient.ProductName** extends [Enum](//developer.android.com/reference/java/lang/Enum.html)\\\u003c[PayClient.ProductName](/android/reference/com/google/android/gms/pay/PayClient.ProductName)\\\u003e \nIndicates what the product is called in this market \n\n### Inherited Method Summary\n\nFrom class java.lang.Enum \n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| final [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| final int | compareTo([PayClient.ProductName](/android/reference/com/google/android/gms/pay/PayClient.ProductName) arg0) |\n| int | compareTo([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| final [Optional](//developer.android.com/reference/java/util/Optional.html)\\\u003cEnumDesc\\\u003c[PayClient.ProductName](/android/reference/com/google/android/gms/pay/PayClient.ProductName)\\\u003e\\\u003e | describeConstable() |\n| final boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| final void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c[PayClient.ProductName](/android/reference/com/google/android/gms/pay/PayClient.ProductName)\\\u003e | getDeclaringClass() |\n| final int | hashCode() |\n| final [String](//developer.android.com/reference/java/lang/String.html) | name() |\n| final int | ordinal() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| static \\\u003cT extends [Enum](//developer.android.com/reference/java/lang/Enum.html)\\\u003cT\\\u003e\\\u003e T | valueOf([Class](//developer.android.com/reference/java/lang/Class.html)\\\u003cT\\\u003e arg0, [String](//developer.android.com/reference/java/lang/String.html) arg1) |\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface java.lang.constant.Constable \n\n|----------------------------------------------------------------------------------------------------------|---------------------|\n| abstract [Optional](//developer.android.com/reference/java/util/Optional.html)\\\u003c? extends ConstantDesc\\\u003e | describeConstable() |\n\nFrom interface java.lang.Comparable \n\n|--------------|--------------------------------------------------------------------------------------------------------------|\n| abstract int | compareTo([PayClient.ProductName](/android/reference/com/google/android/gms/pay/PayClient.ProductName) arg0) |\n\nEnum Values\n-----------\n\n#### public static final PayClient.ProductName **GOOGLE_PAY**\n\n#### public static final PayClient.ProductName **GOOGLE_WALLET**"]]