Interface AlipayPaymentInfoStrategy

  • All Known Implementing Classes:
    DefaultAlipayPaymentInfoStrategy

    public interface AlipayPaymentInfoStrategy
    Updates payment information after payment method is changed or order is placed
    • Method Detail

      • updatePaymentInfoForPayemntMethod

        ChinesePaymentInfoModel updatePaymentInfoForPayemntMethod​(ChinesePaymentInfoModel chinesePaymentInfoModel)
        Updates payment information once payment method is chosen
        Parameters:
        chinesePaymentInfoModel - ChinesePaymentInfoModel to be updated ChinesePaymentInfoModel
        Returns:
        updated ChinesePaymentInfoModel
      • updatePaymentInfoForPlaceOrder

        void updatePaymentInfoForPlaceOrder​(OrderModel order)
        Updates payment information once order is placed
        Parameters:
        order - the placed order OrderModel