@Deprecated public class DefaultCartPaymentStatusService extends Object implements CartPaymentStatusService
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
authorizeReversalTypes
Deprecated.
|
protected Set<String> |
authorizeTypes
Deprecated.
|
protected Set<String> |
captureReversalTypes
Deprecated.
|
protected Set<String> |
captureTypes
Deprecated.
|
Constructor and Description |
---|
DefaultCartPaymentStatusService()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyPaymentStatus(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
void |
applyPaymentStatuses(com.broadleafcommerce.cart.client.domain.Cart cart)
Deprecated.
|
com.broadleafcommerce.cart.client.domain.enums.CartPaymentStatus |
determinePaymentStatus(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
Set<String> |
getAuthorizeReversalTransactionTypes()
Deprecated.
|
Set<String> |
getAuthorizeTransactionTypes()
Deprecated.
|
Set<String> |
getCaptureReversalTransactionTypes()
Deprecated.
|
Set<String> |
getCaptureTransactionTypes()
Deprecated.
|
protected com.broadleafcommerce.order.common.domain.PaymentTransaction |
getParentTransaction(com.broadleafcommerce.order.common.domain.Payment payment,
com.broadleafcommerce.order.common.domain.PaymentTransaction transaction)
Deprecated.
|
protected com.broadleafcommerce.order.common.domain.PaymentTransaction |
getTransactionById(com.broadleafcommerce.order.common.domain.Payment payment,
String transactionId)
Deprecated.
|
protected List<com.broadleafcommerce.order.common.domain.PaymentTransaction> |
getTransactionsOfTypes(com.broadleafcommerce.order.common.domain.Payment payment,
Collection<String> types)
Deprecated.
|
protected List<com.broadleafcommerce.order.common.domain.PaymentTransaction> |
getTransactionsOfTypes(com.broadleafcommerce.order.common.domain.Payment payment,
String... rawTypes)
Deprecated.
|
protected boolean |
isAuthorized(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
protected boolean |
isAuthorizedReversed(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
protected boolean |
isCaptured(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
protected boolean |
isCapturedReversed(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
protected boolean |
isPending(com.broadleafcommerce.order.common.domain.Payment payment)
Deprecated.
|
public DefaultCartPaymentStatusService()
public void applyPaymentStatuses(com.broadleafcommerce.cart.client.domain.Cart cart)
applyPaymentStatuses
in interface CartPaymentStatusService
public void applyPaymentStatus(com.broadleafcommerce.order.common.domain.Payment payment)
applyPaymentStatus
in interface CartPaymentStatusService
public com.broadleafcommerce.cart.client.domain.enums.CartPaymentStatus determinePaymentStatus(com.broadleafcommerce.order.common.domain.Payment payment)
determinePaymentStatus
in interface CartPaymentStatusService
protected boolean isCapturedReversed(com.broadleafcommerce.order.common.domain.Payment payment)
protected boolean isCaptured(com.broadleafcommerce.order.common.domain.Payment payment)
protected boolean isAuthorizedReversed(com.broadleafcommerce.order.common.domain.Payment payment)
protected boolean isAuthorized(com.broadleafcommerce.order.common.domain.Payment payment)
protected boolean isPending(com.broadleafcommerce.order.common.domain.Payment payment)
protected List<com.broadleafcommerce.order.common.domain.PaymentTransaction> getTransactionsOfTypes(com.broadleafcommerce.order.common.domain.Payment payment, String... rawTypes)
protected List<com.broadleafcommerce.order.common.domain.PaymentTransaction> getTransactionsOfTypes(com.broadleafcommerce.order.common.domain.Payment payment, Collection<String> types)
@Nullable protected com.broadleafcommerce.order.common.domain.PaymentTransaction getTransactionById(com.broadleafcommerce.order.common.domain.Payment payment, String transactionId)
protected com.broadleafcommerce.order.common.domain.PaymentTransaction getParentTransaction(com.broadleafcommerce.order.common.domain.Payment payment, com.broadleafcommerce.order.common.domain.PaymentTransaction transaction)
public Set<String> getCaptureTransactionTypes()
getCaptureTransactionTypes
in interface CartPaymentStatusService
public Set<String> getCaptureReversalTransactionTypes()
getCaptureReversalTransactionTypes
in interface CartPaymentStatusService
public Set<String> getAuthorizeTransactionTypes()
getAuthorizeTransactionTypes
in interface CartPaymentStatusService
public Set<String> getAuthorizeReversalTransactionTypes()
getAuthorizeReversalTransactionTypes
in interface CartPaymentStatusService
Copyright © 2021. All rights reserved.