@Service(value="blDefaultCODExtensionHandler") public class DefaultCODExtensionHandler extends AbstractExtensionHandler implements PaymentInfoServiceExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
protected CODPaymentInfoFactoryImpl |
codPaymentInfoFactory |
protected PaymentInfoServiceExtensionManager |
extensionManager |
enabled, priority| Constructor and Description |
|---|
DefaultCODExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
addAdditionalPaymentInfos(Map<PaymentInfo,Referenced> payments,
List<PaymentInfoType> paymentInfoTypeList,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
BillingInfoForm billingForm,
org.springframework.validation.BindingResult result)
Adds a COD PaymentInfo to the payments map and the order.
|
protected ExtensionResultStatusType |
addToPaymentsMap(Map<PaymentInfo,Referenced> payments)
Adds a COD PaymentInfo to the payments map and the order.
|
void |
init() |
getPriority, isEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, isEnabledprotected PaymentInfoServiceExtensionManager extensionManager
protected CODPaymentInfoFactoryImpl codPaymentInfoFactory
@PostConstruct public void init()
public ExtensionResultStatusType addAdditionalPaymentInfos(Map<PaymentInfo,Referenced> payments, List<PaymentInfoType> paymentInfoTypeList, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, BillingInfoForm billingForm, org.springframework.validation.BindingResult result)
addAdditionalPaymentInfos in interface PaymentInfoServiceExtensionHandlerpayments - paymentInfoTypeList - - Checks this list to decide if COD PaymentInfos should be added to the payments map.request - response - model - billingForm - result - protected ExtensionResultStatusType addToPaymentsMap(Map<PaymentInfo,Referenced> payments)
payments - Copyright © 2014. All Rights Reserved.