public enum DefaultGatewayFeatureType extends Enum<DefaultGatewayFeatureType>
Enum Constant and Description |
---|
BUY_NOW_PAY_LATER
Whether the gateway supports a buy-now-pay-later feature.
|
MULTI_USE_PAYMENT_METHODS
Whether payment methods (a.k.a tokens in some systems) can be reused to initiate a future
line of transaction.
|
PARTIAL_CAPTURE
Whether this gateway allows capturing less than the full amount.
|
PARTIAL_REFUND
Similar to
PARTIAL_CAPTURE but with refunds. |
RECURRING_PAYMENTS
Whether the gateway supports recurring or subscription payments.
|
SAVED_PAYMENTS
Whether the gateway supports saving customer payments for future use.
|
THREE_D_SECURE
Whether the payment gateway supports 3D Secure fraud detection.
|
Modifier and Type | Method and Description |
---|---|
static DefaultGatewayFeatureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultGatewayFeatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultGatewayFeatureType THREE_D_SECURE
public static final DefaultGatewayFeatureType PARTIAL_CAPTURE
WARNING: This does not imply that the same transaction can be captured on again. For some gateways, after doing a partial capture, the rest of the funds are released back to the customer. To capture the rest, a new transaction will need to be created.
public static final DefaultGatewayFeatureType PARTIAL_REFUND
PARTIAL_CAPTURE
but with refunds.public static final DefaultGatewayFeatureType BUY_NOW_PAY_LATER
public static final DefaultGatewayFeatureType MULTI_USE_PAYMENT_METHODS
Payment gateways that don't support multi-use methods/tokens, usually have some other means for allowing storing and reusing payment information such as Customer or Wallet features.
public static final DefaultGatewayFeatureType RECURRING_PAYMENTS
public static final DefaultGatewayFeatureType SAVED_PAYMENTS
public static DefaultGatewayFeatureType[] values()
for (DefaultGatewayFeatureType c : DefaultGatewayFeatureType.values()) System.out.println(c);
public static DefaultGatewayFeatureType 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 nullCopyright © 2021. All rights reserved.