def _createTemporaryShippingProduct(self):
        """
        """
        temp_shipping_product = Product("shipping")
        temp_shipping_product.setPrice(self.getPriceGross())
        temp_shipping_product.context = self.context

        return temp_shipping_product
示例#2
0
    def _createTemporaryPaymentProduct(self):
        """
        """
        temp_payment_product = Product("payment")
        temp_payment_product.setPrice(self.getPriceGross())
        temp_payment_product.context = self.context

        return temp_payment_product