public enum PaymentServiceType extends Enum<PaymentServiceType>
| Modifier and Type | Method and Description |
|---|---|
Class<? extends AbstractScaTransaction> |
getClazz() |
String |
getType() |
static <P extends AbstractScaTransaction> |
resolve(P payment) |
static PaymentServiceType |
resolve(String service) |
static PaymentServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentServiceType SINGLE
public static final PaymentServiceType BULK
public static final PaymentServiceType PERIODIC
public static PaymentServiceType[] values()
for (PaymentServiceType c : PaymentServiceType.values()) System.out.println(c);
public static PaymentServiceType 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 getType()
public Class<? extends AbstractScaTransaction> getClazz()
public static PaymentServiceType resolve(String service)
public static <P extends AbstractScaTransaction> PaymentServiceType resolve(P payment)
Copyright © 2019. All rights reserved.