AccountStatus Class

public final class AccountStatus
extends ExpandableStringEnum<AccountStatus>

The current status of the billing account.

Field Summary

Modifier and Type Field and Description
static final AccountStatus ACTIVE

Static value Active for AccountStatus.

static final AccountStatus DELETED

Static value Deleted for AccountStatus.

static final AccountStatus DISABLED

Static value Disabled for AccountStatus.

static final AccountStatus EXPIRED

Static value Expired for AccountStatus.

static final AccountStatus EXTENDED

Static value Extended for AccountStatus.

static final AccountStatus NEW

Static value New for AccountStatus.

static final AccountStatus OTHER

Static value Other for AccountStatus.

static final AccountStatus PENDING

Static value Pending for AccountStatus.

static final AccountStatus TERMINATED

Static value Terminated for AccountStatus.

static final AccountStatus TRANSFERRED

Static value Transferred for AccountStatus.

static final AccountStatus UNDER_REVIEW

Static value UnderReview for AccountStatus.

Constructor Summary

Constructor Description
AccountStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccountStatus value.

Method Summary

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

Creates or finds a AccountStatus from its string representation.

static Collection<AccountStatus> values()

Gets known AccountStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final AccountStatus ACTIVE

Static value Active for AccountStatus.

DELETED

public static final AccountStatus DELETED

Static value Deleted for AccountStatus.

DISABLED

public static final AccountStatus DISABLED

Static value Disabled for AccountStatus.

EXPIRED

public static final AccountStatus EXPIRED

Static value Expired for AccountStatus.

EXTENDED

public static final AccountStatus EXTENDED

Static value Extended for AccountStatus.

NEW

public static final AccountStatus NEW

Static value New for AccountStatus.

OTHER

public static final AccountStatus OTHER

Static value Other for AccountStatus.

PENDING

public static final AccountStatus PENDING

Static value Pending for AccountStatus.

TERMINATED

public static final AccountStatus TERMINATED

Static value Terminated for AccountStatus.

TRANSFERRED

public static final AccountStatus TRANSFERRED

Static value Transferred for AccountStatus.

UNDER_REVIEW

public static final AccountStatus UNDER_REVIEW

Static value UnderReview for AccountStatus.

Constructor Details

AccountStatus

@Deprecated
public AccountStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AccountStatus value.

Method Details

fromString

public static AccountStatus fromString(String name)

Creates or finds a AccountStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AccountStatus.

values

public static Collection<AccountStatus> values()

Gets known AccountStatus values.

Returns:

known AccountStatus values.

Applies to