DonationFormMetaKeys.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\DonationForms\ValueObjects; |
| 4 | |
| 5 | use Give\Framework\Support\ValueObjects\Enum; |
| 6 | use Give\Framework\Support\ValueObjects\EnumInteractsWithQueryBuilder; |
| 7 | |
| 8 | /** |
| 9 | * Donation Form Meta keys |
| 10 | * |
| 11 | * @since 2.21.0 |
| 12 | * |
| 13 | * @method static DonationFormMetaKeys FORM_EARNINGS() |
| 14 | * @method static DonationFormMetaKeys FORM_SALES() |
| 15 | * @method static DonationFormMetaKeys DONATION_LEVELS() |
| 16 | * @method static DonationFormMetaKeys SET_PRICE() |
| 17 | * @method static DonationFormMetaKeys PRICE_OPTION() |
| 18 | * @method static DonationFormMetaKeys GOAL_OPTION() |
| 19 | */ |
| 20 | class DonationFormMetaKeys extends Enum |
| 21 | { |
| 22 | use EnumInteractsWithQueryBuilder; |
| 23 | |
| 24 | const FORM_EARNINGS = '_give_form_earnings'; |
| 25 | const FORM_SALES = '_give_form_sales'; |
| 26 | const DONATION_LEVELS = '_give_donation_levels'; |
| 27 | const SET_PRICE = '_give_set_price'; |
| 28 | const PRICE_OPTION = '_give_price_option'; |
| 29 | const GOAL_OPTION = '_give_goal_option'; |
| 30 | } |
| 31 |