public enum BillingSchedule extends Enum<BillingSchedule>
Java class for BillingSchedule.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BillingSchedule">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PREPAID"/>
<enumeration value="END_OF_THE_CAMPAIGN"/>
<enumeration value="STRAIGHTLINE"/>
<enumeration value="PRORATED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
END_OF_THE_CAMPAIGN
Charged based on the contracted value after the last month of the campaign.
|
PREPAID
Charged based on the contracted value after the first month of the campaign.
|
PRORATED
Use a billing source of contracted with a billing schedule of prorated to bill your
advertiser proportionally based on the amount of days in each month.
|
STRAIGHTLINE
Use a billing source of contracted with a billing schedule of straightline to bill your
advertiser the same amount each month, regardless of the number of days in each month.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static BillingSchedule |
fromValue(String v) |
String |
value() |
static BillingSchedule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BillingSchedule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BillingSchedule PREPAID
public static final BillingSchedule END_OF_THE_CAMPAIGN
public static final BillingSchedule STRAIGHTLINE
public static final BillingSchedule PRORATED
public static final BillingSchedule UNKNOWN
public static BillingSchedule[] values()
for (BillingSchedule c : BillingSchedule.values()) System.out.println(c);
public static BillingSchedule 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 String value()
public static BillingSchedule fromValue(String v)
Copyright © 2018. All Rights Reserved.