Interface AlipayPaymentInfoStrategy
-
- All Known Implementing Classes:
DefaultAlipayPaymentInfoStrategy
public interface AlipayPaymentInfoStrategyUpdates payment information after payment method is changed or order is placed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChinesePaymentInfoModelupdatePaymentInfoForPayemntMethod(ChinesePaymentInfoModel chinesePaymentInfoModel)Updates payment information once payment method is chosenvoidupdatePaymentInfoForPlaceOrder(OrderModel order)Updates payment information once order is placed
-
-
-
Method Detail
-
updatePaymentInfoForPayemntMethod
ChinesePaymentInfoModel updatePaymentInfoForPayemntMethod(ChinesePaymentInfoModel chinesePaymentInfoModel)
Updates payment information once payment method is chosen- Parameters:
chinesePaymentInfoModel- ChinesePaymentInfoModel to be updatedChinesePaymentInfoModel- Returns:
- updated ChinesePaymentInfoModel
-
updatePaymentInfoForPlaceOrder
void updatePaymentInfoForPlaceOrder(OrderModel order)
Updates payment information once order is placed- Parameters:
order- the placed orderOrderModel
-
-