BillingPlan Class

public final class BillingPlan
extends ExpandableStringEnum<BillingPlan>

Represents the billing plan in ISO 8601 format. Required only for monthly purchases.

Field Summary

Modifier and Type Field and Description
static final BillingPlan P1M

Static value P1M for BillingPlan.

Constructor Summary

Constructor Description
BillingPlan()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BillingPlan value.

Method Summary

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

Creates or finds a BillingPlan from its string representation.

static Collection<BillingPlan> values()

Gets known BillingPlan values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

P1M

public static final BillingPlan P1M

Static value P1M for BillingPlan.

Constructor Details

BillingPlan

@Deprecated
public BillingPlan()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BillingPlan value.

Method Details

fromString

public static BillingPlan fromString(String name)

Creates or finds a BillingPlan from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BillingPlan.

values

public static Collection<BillingPlan> values()

Gets known BillingPlan values.

Returns:

known BillingPlan values.

Applies to