| 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 3.9.0 added PHONE |
| 10 |
* @since 3.2.0 added HONORIFIC |
| 11 |
* @since 2.20.0 add fee amount recovered and exchange rate |
| 12 |
* @since 2.19.6 |
| 13 |
* |
| 14 |
* @method static DonationMetaKeys AMOUNT() |
| 15 |
* @method static DonationMetaKeys CAMPAIGN_ID() |
| 16 |
* @method static DonationMetaKeys BASE_AMOUNT() |
| 17 |
* @method static DonationMetaKeys CURRENCY() |
| 18 |
* @method static DonationMetaKeys GATEWAY() |
| 19 |
* @method static DonationMetaKeys DONOR_ID() |
| 20 |
* @method static DonationMetaKeys HONORIFIC() |
| 21 |
* @method static DonationMetaKeys FIRST_NAME() |
| 22 |
* @method static DonationMetaKeys LAST_NAME() |
| 23 |
* @method static DonationMetaKeys EMAIL() |
| 24 |
* @method static DonationMetaKeys PHONE() |
| 25 |
* @method static DonationMetaKeys SUBSCRIPTION_ID() |
| 26 |
* @method static DonationMetaKeys MODE() |
| 27 |
* @method static DonationMetaKeys FORM_ID() |
| 28 |
* @method static DonationMetaKeys FORM_TITLE() |
| 29 |
* @method static DonationMetaKeys BILLING_COUNTRY() |
| 30 |
* @method static DonationMetaKeys BILLING_ADDRESS1() |
| 31 |
* @method static DonationMetaKeys BILLING_ADDRESS2() |
| 32 |
* @method static DonationMetaKeys BILLING_CITY() |
| 33 |
* @method static DonationMetaKeys BILLING_STATE() |
| 34 |
* @method static DonationMetaKeys BILLING_ZIP() |
| 35 |
* @method static DonationMetaKeys PURCHASE_KEY() |
| 36 |
* @method static DonationMetaKeys DONOR_IP() |
| 37 |
* @method static DonationMetaKeys ANONYMOUS() |
| 38 |
* @method static DonationMetaKeys LEVEL_ID() |
| 39 |
* @method static DonationMetaKeys COMPANY() |
| 40 |
* @method static DonationMetaKeys COMMENT() |
| 41 |
* @method static DonationMetaKeys GATEWAY_TRANSACTION_ID() |
| 42 |
* @method static DonationMetaKeys SUBSCRIPTION_INITIAL_DONATION() |
| 43 |
* @method static DonationMetaKeys IS_RECURRING() |
| 44 |
* @method static DonationMetaKeys FEE_AMOUNT_RECOVERED() |
| 45 |
* @method static DonationMetaKeys EXCHANGE_RATE() |
| 46 |
*/ |
| 47 |
class DonationMetaKeys extends Enum |
| 48 |
{ |
| 49 |
use EnumInteractsWithQueryBuilder; |
| 50 |
|
| 51 |
const AMOUNT = '_give_payment_total'; |
| 52 |
const CAMPAIGN_ID = '_give_campaign_id'; |
| 53 |
const BASE_AMOUNT = '_give_cs_base_amount'; |
| 54 |
const CURRENCY = '_give_payment_currency'; |
| 55 |
const EXCHANGE_RATE = '_give_cs_exchange_rate'; |
| 56 |
const FEE_AMOUNT_RECOVERED = '_give_fee_amount'; |
| 57 |
const GATEWAY = '_give_payment_gateway'; |
| 58 |
const DONOR_ID = '_give_payment_donor_id'; |
| 59 |
const HONORIFIC = '_give_donor_billing_title_prefix'; |
| 60 |
const FIRST_NAME = '_give_donor_billing_first_name'; |
| 61 |
const LAST_NAME = '_give_donor_billing_last_name'; |
| 62 |
const EMAIL = '_give_payment_donor_email'; |
| 63 |
const PHONE = '_give_payment_donor_phone'; |
| 64 |
const SUBSCRIPTION_ID = 'subscription_id'; |
| 65 |
const MODE = '_give_payment_mode'; |
| 66 |
const FORM_ID = '_give_payment_form_id'; |
| 67 |
const FORM_TITLE = '_give_payment_form_title'; |
| 68 |
const BILLING_COUNTRY = '_give_donor_billing_country'; |
| 69 |
const BILLING_ADDRESS2 = '_give_donor_billing_address2'; |
| 70 |
const BILLING_CITY = '_give_donor_billing_city'; |
| 71 |
const BILLING_ADDRESS1 = '_give_donor_billing_address1'; |
| 72 |
const BILLING_STATE = '_give_donor_billing_state'; |
| 73 |
const BILLING_ZIP = '_give_donor_billing_zip'; |
| 74 |
const PURCHASE_KEY = '_give_payment_purchase_key'; |
| 75 |
const DONOR_IP = '_give_payment_donor_ip'; |
| 76 |
const ANONYMOUS = '_give_anonymous_donation'; |
| 77 |
const LEVEL_ID = '_give_payment_price_id'; |
| 78 |
const COMPANY = '_give_donation_company'; |
| 79 |
const COMMENT = '_give_donation_comment'; |
| 80 |
const GATEWAY_TRANSACTION_ID = '_give_payment_transaction_id'; |
| 81 |
const SUBSCRIPTION_INITIAL_DONATION = '_give_subscription_payment'; |
| 82 |
const IS_RECURRING = '_give_is_donation_recurring'; |
| 83 |
} |
| 84 |
|