PaymentInstrumentType

  • PaymentInstrumentType is a class that defines the types of payment instruments a merchant can support.

  • The constant values for payment instrument types include AMEX, DISCOVER, JCB, MASTER_CARD, and VISA.

  • The class provides a constructor and a static methodgetAll to retrieve a list of all supported payment instrument types.

public final classPaymentInstrumentType extendsObject

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.

Constant Summary

intAMEX
int DISCOVER
intJCB
int MASTER_CARD
intVISA

Public Constructor Summary

Public Method Summary

staticArrayList<Integer>

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final intAMEX

Constant Value:3

public static final intDISCOVER

Constant Value:4

public static final intJCB

Constant Value:5

public static final intMASTER_CARD

Constant Value:2

public static final intVISA

Constant Value:1

Public Constructors

publicPaymentInstrumentType()

Public Methods

public staticArrayList<Integer>getAll()

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.