Class DefaultWeChatPayPaymentInfoStrategy
- java.lang.Object
-
- de.hybris.platform.chinesepspwechatpayservices.strategies.impl.DefaultWeChatPayPaymentInfoStrategy
-
- All Implemented Interfaces:
WeChatPayPaymentInfoStrategy
public class DefaultWeChatPayPaymentInfoStrategy extends java.lang.Object implements WeChatPayPaymentInfoStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultWeChatPayPaymentInfoStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelServicegetModelService()UserServicegetUserService()voidsetModelService(ModelService modelService)voidsetUserService(UserService userService)ChinesePaymentInfoModelupdatePaymentInfoForPayemntMethod(ChinesePaymentInfoModel chinesePaymentInfoModel)update paymentinfo once payment method is chosen.voidupdatePaymentInfoForPlaceOrder(OrderModel order)update paymentinfo once order is placed.
-
-
-
Method Detail
-
getUserService
public UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getModelService
public ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
updatePaymentInfoForPayemntMethod
public ChinesePaymentInfoModel updatePaymentInfoForPayemntMethod(ChinesePaymentInfoModel chinesePaymentInfoModel)
Description copied from interface:WeChatPayPaymentInfoStrategyupdate paymentinfo once payment method is chosen.- Specified by:
updatePaymentInfoForPayemntMethodin interfaceWeChatPayPaymentInfoStrategy- Parameters:
chinesePaymentInfoModel- ChinesePaymentInfoModel to be updatedChinesePaymentInfoModel- Returns:
- updated ChinesePaymentInfoModel
-
updatePaymentInfoForPlaceOrder
public void updatePaymentInfoForPlaceOrder(OrderModel order)
Description copied from interface:WeChatPayPaymentInfoStrategyupdate paymentinfo once order is placed.- Specified by:
updatePaymentInfoForPlaceOrderin interfaceWeChatPayPaymentInfoStrategy- Parameters:
order- Placed orderOrderModel
-
-