DonationMetaKeys.php
65 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Donations\ValueObjects; |
| 4 | |
| 5 | use Give\Framework\Support\ValueObjects\Enum; |
| 6 | use Give\Framework\Support\ValueObjects\EnumInteractsWithQueryBuilder; |
| 7 | |
| 8 | /** |
| 9 | * @since 2.19.6 |
| 10 | * |
| 11 | * @method static AMOUNT() |
| 12 | * @method static CURRENCY() |
| 13 | * @method static GATEWAY() |
| 14 | * @method static DONOR_ID() |
| 15 | * @method static FIRST_NAME() |
| 16 | * @method static LAST_NAME() |
| 17 | * @method static EMAIL() |
| 18 | * @method static SUBSCRIPTION_ID() |
| 19 | * @method static MODE() |
| 20 | * @method static FORM_ID() |
| 21 | * @method static FORM_TITLE() |
| 22 | * @method static BILLING_COUNTRY() |
| 23 | * @method static BILLING_ADDRESS1() |
| 24 | * @method static BILLING_ADDRESS2() |
| 25 | * @method static BILLING_CITY() |
| 26 | * @method static BILLING_STATE() |
| 27 | * @method static BILLING_ZIP() |
| 28 | * @method static PURCHASE_KEY() |
| 29 | * @method static DONOR_IP() |
| 30 | * @method static ANONYMOUS() |
| 31 | * @method static LEVEL_ID() |
| 32 | * @method static COMPANY() |
| 33 | * @method static GATEWAY_TRANSACTION_ID() |
| 34 | * @method static SUBSCRIPTION_INITIAL_DONATION() |
| 35 | */ |
| 36 | class DonationMetaKeys extends Enum |
| 37 | { |
| 38 | use EnumInteractsWithQueryBuilder; |
| 39 | |
| 40 | const AMOUNT = '_give_payment_total'; |
| 41 | const CURRENCY = '_give_payment_currency'; |
| 42 | const GATEWAY = '_give_payment_gateway'; |
| 43 | const DONOR_ID = '_give_payment_donor_id'; |
| 44 | const FIRST_NAME = '_give_donor_billing_first_name'; |
| 45 | const LAST_NAME = '_give_donor_billing_last_name'; |
| 46 | const EMAIL = '_give_payment_donor_email'; |
| 47 | const SUBSCRIPTION_ID = 'subscription_id'; |
| 48 | const MODE = '_give_payment_mode'; |
| 49 | const FORM_ID = '_give_payment_form_id'; |
| 50 | const FORM_TITLE = '_give_payment_form_title'; |
| 51 | const BILLING_COUNTRY = '_give_donor_billing_country'; |
| 52 | const BILLING_ADDRESS2 = '_give_donor_billing_address2'; |
| 53 | const BILLING_CITY = '_give_donor_billing_city'; |
| 54 | const BILLING_ADDRESS1 = '_give_donor_billing_address1'; |
| 55 | const BILLING_STATE = '_give_donor_billing_state'; |
| 56 | const BILLING_ZIP = '_give_donor_billing_zip'; |
| 57 | const PURCHASE_KEY = '_give_payment_purchase_key'; |
| 58 | const DONOR_IP = '_give_payment_donor_ip'; |
| 59 | const ANONYMOUS = '_give_anonymous_donation'; |
| 60 | const LEVEL_ID = '_give_payment_price_id'; |
| 61 | const COMPANY = '_give_donation_company'; |
| 62 | const GATEWAY_TRANSACTION_ID = '_give_payment_transaction_id'; |
| 63 | const SUBSCRIPTION_INITIAL_DONATION = '_give_subscription_payment'; |
| 64 | } |
| 65 |