public enum BudgetField extends Enum<BudgetField> implements EntityField
Enum
to facilitate the selection of fields for Budget
.Enum Constant and Description |
---|
Amount
Amount of budget in the local currency for the account.
|
BudgetId
A Budget is created using the BudgetService ADD operation and is assigned a BudgetId.
|
BudgetName
Name of the Budget.
|
BudgetReferenceCount
Number of campaigns actively using this budget.
|
BudgetStatus |
DeliveryMethod
Delivery method for the Budget which determines the rate at which the Budget is spent.
|
IsBudgetExplicitlyShared
If true, this budget was created with the purpose of sharing this budget across one or more campaigns.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static BudgetField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BudgetField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final BudgetField Amount
public static final BudgetField BudgetId
public static final BudgetField BudgetName
public static final BudgetField BudgetReferenceCount
public static final BudgetField BudgetStatus
public static final BudgetField DeliveryMethod
public static final BudgetField IsBudgetExplicitlyShared
If false, this budget was created with the intention to be dedicatedly used with a single campaign, and the Budget's name and status will stay in the sync with the associated Campaign's name and status. Attempting to share this budget with a second Campaign will result in an error.
public static BudgetField[] values()
for (BudgetField c : BudgetField.values()) System.out.println(c);
public static BudgetField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isFilterable()
EntityField
isFilterable
in interface EntityField
Copyright © 2018. All Rights Reserved.