Class DefaultAlipayPaymentInfoStrategy
java.lang.Object
de.hybris.platform.chinesepspalipayservices.strategies.impl.DefaultAlipayPaymentInfoStrategy
- All Implemented Interfaces:
AlipayPaymentInfoStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelServiceprotected UserServicevoidsetModelService(ModelService modelService) voidsetUserService(UserService userService) updatePaymentInfoForPayemntMethod(ChinesePaymentInfoModel chinesePaymentInfoModel) Updates payment information once payment method is chosenvoidUpdates payment information once order is placed
-
Constructor Details
-
DefaultAlipayPaymentInfoStrategy
public DefaultAlipayPaymentInfoStrategy()
-
-
Method Details
-
updatePaymentInfoForPayemntMethod
public ChinesePaymentInfoModel updatePaymentInfoForPayemntMethod(ChinesePaymentInfoModel chinesePaymentInfoModel) Description copied from interface:AlipayPaymentInfoStrategyUpdates payment information once payment method is chosen- Specified by:
updatePaymentInfoForPayemntMethodin interfaceAlipayPaymentInfoStrategy- Parameters:
chinesePaymentInfoModel- ChinesePaymentInfoModel to be updatedChinesePaymentInfoModel- Returns:
- updated ChinesePaymentInfoModel
-
updatePaymentInfoForPlaceOrder
Description copied from interface:AlipayPaymentInfoStrategyUpdates payment information once order is placed- Specified by:
updatePaymentInfoForPlaceOrderin interfaceAlipayPaymentInfoStrategy- Parameters:
order- the placed orderOrderModel
-
setModelService
-
setUserService
-
getUserService
-
getModelService
-