The python saleor.discount.models.Voucher.Voucher is a class that represents a voucher in the Saleor e-commerce platform. This class contains attributes and methods necessary for managing and applying discounts to customer orders. Vouchers can be used to offer promotional discounts, such as percentage-off or fixed amount discounts, to customers during the checkout process. The Voucher class enables the creation, modification, and deletion of vouchers, as well as the application of voucher discounts to eligible orders. It provides functionalities to validate the voucher code, check if a voucher is applicable to a specific order, and calculate the discounted amount.
Python Voucher.Voucher - 30 examples found. These are the top rated real world Python examples of saleor.discount.models.Voucher.Voucher extracted from open source projects. You can rate examples to help us improve the quality of examples.