public interface CurrentOrderPaymentRequestService
PaymentRequestDTO based on the current order in the system (like something on
 threadlocal).| Modifier and Type | Method and Description | 
|---|---|
| void | addOrderAttributeToCurrentOrder(String orderAttributeKey,
                               String orderAttributeValue)adds a concept of an "order attribute" to the current order in the system | 
| void | addOrderAttributeToOrder(Long orderId,
                        String orderAttributeKey,
                        String orderAttributeValue)adds a concept of an "order attribute" to an order in the system based on ID. | 
| PaymentRequestDTO | getPaymentRequestFromCurrentOrder()Returns a  PaymentRequestDTObased on all the information from the current order in the system, like one
 on threadlocal | 
| String | retrieveOrderAttributeFromCurrentOrder(String orderAttributeKey)retrieve an "order attribute" value on the current order in the system | 
| String | retrieveOrderAttributeFromOrder(Long orderId,
                               String orderAttributeKey)retrieve an "order attribute" value based on the order id in the system | 
PaymentRequestDTO getPaymentRequestFromCurrentOrder()
PaymentRequestDTO based on all the information from the current order in the system, like one
 on threadlocalvoid addOrderAttributeToCurrentOrder(String orderAttributeKey, String orderAttributeValue) throws PaymentException
orderAttributeKey - orderAttributeValue - PaymentExceptionvoid addOrderAttributeToOrder(Long orderId, String orderAttributeKey, String orderAttributeValue) throws PaymentException
orderAttributeKey - orderAttributeValue - PaymentExceptionString retrieveOrderAttributeFromCurrentOrder(String orderAttributeKey)
orderAttributeKey - Copyright © 2020. All rights reserved.