public enum StandardPaymentProduct extends Enum<StandardPaymentProduct> implements PaymentProduct
| Enum Constant and Description |
|---|
PAIN_SEPA_CREDIT_TRANSFERS |
SEPA_CREDIT_TRANSFERS |
| Modifier and Type | Method and Description |
|---|---|
static StandardPaymentProduct |
fromSlug(String slug) |
String |
getMediaType() |
String |
getSlug() |
static StandardPaymentProduct |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardPaymentProduct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardPaymentProduct SEPA_CREDIT_TRANSFERS
public static final StandardPaymentProduct PAIN_SEPA_CREDIT_TRANSFERS
public static StandardPaymentProduct[] values()
for (StandardPaymentProduct c : StandardPaymentProduct.values()) System.out.println(c);
public static StandardPaymentProduct 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 static StandardPaymentProduct fromSlug(String slug)
public String getSlug()
getSlug in interface PaymentProductpublic String getMediaType()
getMediaType in interface PaymentProductCopyright © 2020. All rights reserved.