DonationFormMetaKeys.php
38 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\DonationForms\V2\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 | * @since 4.3.0 |
| 20 | * @method static DonationFormMetaKeys GOAL_FORMAT() |
| 21 | * @method static DonationFormMetaKeys RECURRING_GOAL_FORMAT() |
| 22 | * @method static DonationFormMetaKeys GOAL_AMOUNT() |
| 23 | */ |
| 24 | class DonationFormMetaKeys extends Enum |
| 25 | { |
| 26 | use EnumInteractsWithQueryBuilder; |
| 27 | |
| 28 | const FORM_EARNINGS = '_give_form_earnings'; |
| 29 | const FORM_SALES = '_give_form_sales'; |
| 30 | const DONATION_LEVELS = '_give_donation_levels'; |
| 31 | const SET_PRICE = '_give_set_price'; |
| 32 | const PRICE_OPTION = '_give_price_option'; |
| 33 | const GOAL_OPTION = '_give_goal_option'; |
| 34 | const GOAL_FORMAT = '_give_goal_format'; |
| 35 | const RECURRING_GOAL_FORMAT = '_give_recurring_goal_format'; |
| 36 | const GOAL_AMOUNT = '_give_set_goal'; |
| 37 | } |
| 38 |