public enum TransactionGatewayResult extends java.lang.Enum<TransactionGatewayResult>
TransactionGatewayStatus
class,
representing the outcome returned by the method
TransactionGateway.sendOnlineRequest(com.yello.api.payment.emv.TransactionRecord)
of the transaction gateway class implementing the TransactionGateway
interface.Enum Constant and Description |
---|
APPROVED
Transaction or request has been approved by the transaction gateway
|
CUSTOM
Transaction gateway is sending custom EMV tags (for example issuer script) as part of the
approval/declined process.
|
DECLINED
Transaction or request has been declined by the transaction gateway
|
ERROR
System error at the transaction gateway level
|
Modifier and Type | Method and Description |
---|---|
static TransactionGatewayResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionGatewayResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionGatewayResult APPROVED
public static final TransactionGatewayResult DECLINED
public static final TransactionGatewayResult ERROR
public static final TransactionGatewayResult CUSTOM
TransactionGateway.sendOnlineRequest(com.yello.api.payment.emv.TransactionRecord)
.
TransactionGatewayStatus
class. For more information see
TransactionGatewayStatus
.public static TransactionGatewayResult[] values()
for (TransactionGatewayResult c : TransactionGatewayResult.values()) System.out.println(c);
public static TransactionGatewayResult 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 nullCopyright © 2019 Yello. All rights reserved.