public enum TxnSourceEnum extends Enum<TxnSourceEnum>
Java class for TxnSourceEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TxnSourceEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="QBMobile"/> <enumeration value="GoPayment"/> <enumeration value="EInvoice"/> <enumeration value="Square"/> </restriction> </simpleType>
Enum Constant and Description |
---|
E_INVOICE |
GO_PAYMENT |
QB_MOBILE |
SQUARE |
Modifier and Type | Method and Description |
---|---|
static TxnSourceEnum |
fromValue(String v) |
String |
value() |
static TxnSourceEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnSourceEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxnSourceEnum QB_MOBILE
public static final TxnSourceEnum GO_PAYMENT
public static final TxnSourceEnum E_INVOICE
public static final TxnSourceEnum SQUARE
public static TxnSourceEnum[] values()
for (TxnSourceEnum c : TxnSourceEnum.values()) System.out.println(c);
public static TxnSourceEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static TxnSourceEnum fromValue(String v)
Copyright © 2017. All rights reserved.