File manager - Edit - /home/verseaumee/maze/wp-content/plugins/woocommerce/src/Api/Enums/Coupons/DiscountType.php
Back
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Api\Enums\Coupons; use Automattic\WooCommerce\Api\Attributes\Description; #[Description( 'The type of discount for a coupon.' )] enum DiscountType: string { #[Description( 'A percentage discount.' )] case Percent = 'percent'; #[Description( 'A fixed amount discount applied to the cart.' )] case FixedCart = 'fixed_cart'; #[Description( 'A fixed amount discount applied to each eligible product.' )] case FixedProduct = 'fixed_product'; #[Description( 'The discount type is not one of the standard WooCommerce values (e.g. added by a plugin). Inspect raw_discount_type for the underlying value.' )] case Other = 'other'; }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings