public enum PaymentMethodType extends Enum<PaymentMethodType>
Java class for PaymentMethodType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PaymentMethodType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CreditCard"/>
<enumeration value="Invoice"/>
<enumeration value="Check"/>
<enumeration value="ElectronicFundsTransfer"/>
<enumeration value="PayPal"/>
<enumeration value="ELV"/>
<enumeration value="OfflinePaymentMethod"/>
<enumeration value="VBA"/>
<enumeration value="Boleto"/>
</restriction>
</simpleType>
Enum Constant and Description |
---|
BOLETO |
CHECK |
CREDIT_CARD |
ELECTRONIC_FUNDS_TRANSFER |
ELV |
INVOICE |
OFFLINE_PAYMENT_METHOD |
PAY_PAL |
VBA |
Modifier and Type | Method and Description |
---|---|
static PaymentMethodType |
fromValue(String v) |
String |
value() |
static PaymentMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentMethodType CREDIT_CARD
public static final PaymentMethodType INVOICE
public static final PaymentMethodType CHECK
public static final PaymentMethodType ELECTRONIC_FUNDS_TRANSFER
public static final PaymentMethodType PAY_PAL
public static final PaymentMethodType ELV
public static final PaymentMethodType OFFLINE_PAYMENT_METHOD
public static final PaymentMethodType VBA
public static final PaymentMethodType BOLETO
public static PaymentMethodType[] values()
for (PaymentMethodType c : PaymentMethodType.values()) System.out.println(c);
public static PaymentMethodType 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 PaymentMethodType fromValue(String v)
Copyright © 2024. All rights reserved.