Class DefaultCurrentOrderPaymentRequestService
java.lang.Object
org.broadleafcommerce.core.web.payment.service.DefaultCurrentOrderPaymentRequestService
- All Implemented Interfaces:
org.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService
@Service("blDefaultCurrentPaymentRequestService")
public class DefaultCurrentOrderPaymentRequestService
extends Object
implements org.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService
- Author:
- Phillip Verheyden (phillipuniverse)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.core.order.service.OrderServiceprotected org.broadleafcommerce.core.payment.service.OrderToPaymentRequestDTOService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrderAttributeToCurrentOrder(String orderAttributeKey, String orderAttributeValue) voidaddOrderAttributeToOrder(Long orderId, String orderAttributeKey, String orderAttributeValue) org.broadleafcommerce.common.payment.dto.PaymentRequestDTOprotected voidlogWarningIfCartMismatch(Long currentCartId, Long orderId) retrieveOrderAttributeFromCurrentOrder(String orderAttributeKey) retrieveOrderAttributeFromOrder(Long orderId, String orderAttributeKey)
-
Field Details
-
paymentRequestDTOService
protected org.broadleafcommerce.core.payment.service.OrderToPaymentRequestDTOService paymentRequestDTOService -
orderService
protected org.broadleafcommerce.core.order.service.OrderService orderService
-
-
Constructor Details
-
DefaultCurrentOrderPaymentRequestService
public DefaultCurrentOrderPaymentRequestService()
-
-
Method Details
-
getPaymentRequestFromCurrentOrder
public org.broadleafcommerce.common.payment.dto.PaymentRequestDTO getPaymentRequestFromCurrentOrder()- Specified by:
getPaymentRequestFromCurrentOrderin interfaceorg.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService
-
addOrderAttributeToCurrentOrder
public void addOrderAttributeToCurrentOrder(String orderAttributeKey, String orderAttributeValue) throws org.broadleafcommerce.common.vendor.service.exception.PaymentException - Specified by:
addOrderAttributeToCurrentOrderin interfaceorg.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService- Throws:
org.broadleafcommerce.common.vendor.service.exception.PaymentException
-
addOrderAttributeToOrder
public void addOrderAttributeToOrder(Long orderId, String orderAttributeKey, String orderAttributeValue) throws org.broadleafcommerce.common.vendor.service.exception.PaymentException - Specified by:
addOrderAttributeToOrderin interfaceorg.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService- Throws:
org.broadleafcommerce.common.vendor.service.exception.PaymentException
-
logWarningIfCartMismatch
-
retrieveOrderAttributeFromCurrentOrder
- Specified by:
retrieveOrderAttributeFromCurrentOrderin interfaceorg.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService
-
retrieveOrderAttributeFromOrder
- Specified by:
retrieveOrderAttributeFromOrderin interfaceorg.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService
-