ReservationBillingPlan Class

public final class ReservationBillingPlan
extends ExpandableStringEnum<ReservationBillingPlan>

Represent the billing plans.

Field Summary

Modifier and Type Field and Description
static final ReservationBillingPlan MONTHLY

Static value Monthly for ReservationBillingPlan.

static final ReservationBillingPlan UPFRONT

Static value Upfront for ReservationBillingPlan.

Constructor Summary

Constructor Description
ReservationBillingPlan()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReservationBillingPlan value.

Method Summary

Modifier and Type Method and Description
static ReservationBillingPlan fromString(String name)

Creates or finds a ReservationBillingPlan from its string representation.

static Collection<ReservationBillingPlan> values()

Gets known ReservationBillingPlan values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MONTHLY

public static final ReservationBillingPlan MONTHLY

Static value Monthly for ReservationBillingPlan.

UPFRONT

public static final ReservationBillingPlan UPFRONT

Static value Upfront for ReservationBillingPlan.

Constructor Details

ReservationBillingPlan

@Deprecated
public ReservationBillingPlan()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReservationBillingPlan value.

Method Details

fromString

public static ReservationBillingPlan fromString(String name)

Creates or finds a ReservationBillingPlan from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReservationBillingPlan.

values

public static Collection<ReservationBillingPlan> values()

Gets known ReservationBillingPlan values.

Returns:

known ReservationBillingPlan values.

Applies to