PaymentInstrumentType
Stay organized with collections
Save and categorize content based on your preferences.
Payment instrument types that a merchant can support. The values match
CreditCardFormFields.FopType, except UNKNOWN, which is not a valid payment instrument type
for a merchant to support.
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Constants
public static final int
AMEX
public static final int
DISCOVER
public static final int
JCB
public static final int
MASTER_CARD
public static final int
VISA
Public Constructors
public
PaymentInstrumentType
()
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\u003ePaymentInstrumentType\u003c/code\u003e defines the supported payment types by a merchant, mirroring \u003ccode\u003eCreditCardFormFields.FopType\u003c/code\u003e but excluding \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIncludes constants for common payment types like VISA, MASTER_CARD, AMEX, DISCOVER, and JCB.\u003c/p\u003e\n"],["\u003cp\u003eProvides a method \u003ccode\u003egetAll()\u003c/code\u003e to retrieve all supported payment instrument types as an ArrayList of Integers.\u003c/p\u003e\n"],["\u003cp\u003eInherits standard methods from the \u003ccode\u003eObject\u003c/code\u003e class such as \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# PaymentInstrumentType\n\npublic final class **PaymentInstrumentType** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nPayment instrument types that a merchant can support. The values match\nCreditCardFormFields.FopType, except UNKNOWN, which is not a valid payment instrument type\nfor a merchant to support. \n\n### Constant Summary\n\n|-----|---------------------------------------------------------------------------------------------------|---|\n| int | [AMEX](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#AMEX) | |\n| int | [DISCOVER](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#DISCOVER) | |\n| int | [JCB](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#JCB) | |\n| int | [MASTER_CARD](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#MASTER_CARD) | |\n| int | [VISA](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#VISA) | |\n\n### Public Constructor Summary\n\n|---|---------------------------------------------------------------------------------------------------------------------------|\n| | [PaymentInstrumentType](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#PaymentInstrumentType())() |\n\n### Public Method Summary\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| static [ArrayList](//developer.android.com/reference/java/util/ArrayList.html)\\\u003c[Integer](//developer.android.com/reference/java/lang/Integer.html)\\\u003e | [getAll](/android/reference/com/google/android/gms/wallet/PaymentInstrumentType#getAll())() |\n\n### Inherited Method Summary\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\nConstants\n---------\n\n#### public static final int\n**AMEX**\n\nConstant Value: 3 \n\n#### public static final int\n**DISCOVER**\n\nConstant Value: 4 \n\n#### public static final int\n**JCB**\n\nConstant Value: 5 \n\n#### public static final int\n**MASTER_CARD**\n\nConstant Value: 2 \n\n#### public static final int\n**VISA**\n\nConstant Value: 1\n\nPublic Constructors\n-------------------\n\n#### public **PaymentInstrumentType** ()\n\nPublic Methods\n--------------\n\n#### public static [ArrayList](//developer.android.com/reference/java/util/ArrayList.html)\\\u003c[Integer](//developer.android.com/reference/java/lang/Integer.html)\\\u003e\n**getAll** ()"]]