public class OrderPaymentStatus extends Object implements Serializable, BroadleafEnumerationType
OrderPayment
which is calculated based on the state of its containing
PaymentTransactions| Modifier and Type | Field and Description |
|---|---|
static OrderPaymentStatus |
AUTHORIZED
This is equivalent to having a successful
PaymentTransactionType.AUTHORIZE
transaction on the payment, but there are no transactions indicating that payment has been captured. |
static OrderPaymentStatus |
COMPLETE
This represents a completed state for this order payment wherein no more action can be performed on the original transaction.
|
static OrderPaymentStatus |
FULLY_CAPTURED
This is equivalent to having a successful
PaymentTransactionType.AUTHORIZE_AND_CAPTURE
transaction on the payment OR all the partial PaymentTransactionType.CAPTURE
transaction amounts equal the original order payment transaction,
but there are no transactions indicating that payment has had any refunds issued against it. |
static OrderPaymentStatus |
PARTIALLY_COMPLETE
This is equivalent to having a successful
PaymentTransactionType.AUTHORIZE_AND_CAPTURE
OR one or more PaymentTransactionType.CAPTURE transactions which
may have zero or more refund transactions issued against it. |
static OrderPaymentStatus |
PENDING
This represents the state where there is a
PaymentTransactionType.PENDING
transaction on the payment, but there is not yet a completed PaymentTransactionType.AUTHORIZE
or PaymentTransactionType.AUTHORIZE_AND_CAPTURE transaction. |
static OrderPaymentStatus |
UNCONFIRMED
This represents the state where there is only a
PaymentTransactionType.UNCONFIRMED
transaction on the payment. |
static OrderPaymentStatus |
UNDETERMINED
This is the default status for an Order Payment and is meant to encompass a state not
represented by the other payment statuses.
|
| Constructor and Description |
|---|
OrderPaymentStatus() |
OrderPaymentStatus(String type,
String friendlyType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFriendlyType() |
static OrderPaymentStatus |
getInstance(String type) |
String |
getType() |
int |
hashCode() |
public static final OrderPaymentStatus UNDETERMINED
public static final OrderPaymentStatus UNCONFIRMED
PaymentTransactionType.UNCONFIRMED
transaction on the payment.public static final OrderPaymentStatus PENDING
PaymentTransactionType.PENDING
transaction on the payment, but there is not yet a completed PaymentTransactionType.AUTHORIZE
or PaymentTransactionType.AUTHORIZE_AND_CAPTURE transaction.public static final OrderPaymentStatus AUTHORIZED
PaymentTransactionType.AUTHORIZE
transaction on the payment, but there are no transactions indicating that payment has been captured.public static final OrderPaymentStatus FULLY_CAPTURED
PaymentTransactionType.AUTHORIZE_AND_CAPTURE
transaction on the payment OR all the partial PaymentTransactionType.CAPTURE
transaction amounts equal the original order payment transaction,
but there are no transactions indicating that payment has had any refunds issued against it.public static final OrderPaymentStatus PARTIALLY_COMPLETE
PaymentTransactionType.AUTHORIZE_AND_CAPTURE
OR one or more PaymentTransactionType.CAPTURE transactions which
may have zero or more refund transactions issued against it.public static final OrderPaymentStatus COMPLETE
PaymentTransactionType.REVERSE_AUTH,
PaymentTransactionType.VOID, PaymentTransactionType.DETACHED_CREDIT
or the total transaction amount is equal to all the refund transactions.public static OrderPaymentStatus getInstance(String type)
public String getType()
getType in interface BroadleafEnumerationTypepublic String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypeCopyright © 2019. All rights reserved.