| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\Campaigns\ValueObjects; |
| 4 |
|
| 5 |
use Give\Framework\Support\ValueObjects\Enum; |
| 6 |
|
| 7 |
/** |
| 8 |
* @since 4.0.0 |
| 9 |
* |
| 10 |
* @method static CampaignGoalType AMOUNT() |
| 11 |
* @method static CampaignGoalType DONATIONS() |
| 12 |
* @method static CampaignGoalType DONORS() |
| 13 |
* @method static CampaignGoalType AMOUNT_FROM_SUBSCRIPTIONS() |
| 14 |
* @method static CampaignGoalType SUBSCRIPTIONS() |
| 15 |
* @method static CampaignGoalType DONORS_FROM_SUBSCRIPTIONS() |
| 16 |
* @method bool isAmount() |
| 17 |
* @method bool isDonations() |
| 18 |
* @method bool isDonors() |
| 19 |
* @method bool isAmountFromSubscriptions() |
| 20 |
* @method bool isSubscriptions() |
| 21 |
* @method bool isDonorsFromSubscriptions() |
| 22 |
*/ |
| 23 |
class CampaignGoalType extends Enum |
| 24 |
{ |
| 25 |
const AMOUNT = 'amount'; |
| 26 |
const DONATIONS = 'donations'; |
| 27 |
const DONORS = 'donors'; |
| 28 |
const AMOUNT_FROM_SUBSCRIPTIONS = 'amountFromSubscriptions'; |
| 29 |
const SUBSCRIPTIONS = 'subscriptions'; |
| 30 |
const DONORS_FROM_SUBSCRIPTIONS = 'donorsFromSubscriptions'; |
| 31 |
} |
| 32 |
|