public enum PaymentFlowMode extends java.lang.Enum<PaymentFlowMode>
Enum Constant and Description |
---|
CENTRAL_LIGHTNING_HANDLER
A distributed flow where paywalled services (including their own payment handler) is distributed on
different systems but have one central lightning handler node the end users are redirected
to for payments.
|
CENTRAL_PAYMENT_HANDLER
A distributed flow where paywalled services is distributed on
different systems but have one central payment handler and lightning handler node the end users are
redirected to for creating invoices and generating payments.
|
LOCAL
Local Flow where paywalled service, lightning handler and payment handler is in the same system and
symmentrical keys will be used to protect generated tokens.
|
Modifier and Type | Method and Description |
---|---|
static PaymentFlowMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentFlowMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentFlowMode LOCAL
public static final PaymentFlowMode CENTRAL_LIGHTNING_HANDLER
public static final PaymentFlowMode CENTRAL_PAYMENT_HANDLER
public static PaymentFlowMode[] values()
for (PaymentFlowMode c : PaymentFlowMode.values()) System.out.println(c);
public static PaymentFlowMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null