| Package | Description |
|---|---|
| org.broadleafcommerce.core.payment.domain | |
| org.broadleafcommerce.core.payment.service | |
| org.broadleafcommerce.core.payment.service.type |
| Modifier and Type | Method and Description |
|---|---|
OrderPaymentStatus |
OrderPayment.getStatus()
Convenience method to get the calculated status of this order payment based on the
state of the
OrderPayment.getTransactions() |
OrderPaymentStatus |
OrderPaymentImpl.getStatus() |
| Modifier and Type | Method and Description |
|---|---|
OrderPaymentStatus |
OrderPaymentStatusService.determineOrderPaymentStatus(OrderPayment orderPayment) |
OrderPaymentStatus |
OrderPaymentStatusServiceImpl.determineOrderPaymentStatus(OrderPayment orderPayment) |
| Modifier and Type | Field and Description |
|---|---|
static OrderPaymentStatus |
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 |
OrderPaymentStatus.COMPLETE
This represents a completed state for this order payment wherein no more action can be performed on the original transaction.
|
static OrderPaymentStatus |
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 |
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 |
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 |
OrderPaymentStatus.UNCONFIRMED
This represents the state where there is only a
PaymentTransactionType.UNCONFIRMED
transaction on the payment. |
static OrderPaymentStatus |
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.
|
| Modifier and Type | Method and Description |
|---|---|
static OrderPaymentStatus |
OrderPaymentStatus.getInstance(String type) |
Copyright © 2025. All rights reserved.