BillingRelationshipType Class

public final class BillingRelationshipType
extends ExpandableStringEnum<BillingRelationshipType>

Identifies the billing relationships represented by a billing account or billing profile. The billing relationship may be between Microsoft, the customer, and/or a third-party.

Field Summary

Modifier and Type Field and Description
static final BillingRelationshipType CSPCUSTOMER

Static value CSPCustomer for BillingRelationshipType.

static final BillingRelationshipType CSPPARTNER

Static value CSPPartner for BillingRelationshipType.

static final BillingRelationshipType DIRECT

Static value Direct for BillingRelationshipType.

static final BillingRelationshipType INDIRECT_CUSTOMER

Static value IndirectCustomer for BillingRelationshipType.

static final BillingRelationshipType INDIRECT_PARTNER

Static value IndirectPartner for BillingRelationshipType.

static final BillingRelationshipType OTHER

Static value Other for BillingRelationshipType.

Constructor Summary

Constructor Description
BillingRelationshipType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BillingRelationshipType value.

Method Summary

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

Creates or finds a BillingRelationshipType from its string representation.

static Collection<BillingRelationshipType> values()

Gets known BillingRelationshipType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CSPCUSTOMER

public static final BillingRelationshipType CSPCUSTOMER

Static value CSPCustomer for BillingRelationshipType.

CSPPARTNER

public static final BillingRelationshipType CSPPARTNER

Static value CSPPartner for BillingRelationshipType.

DIRECT

public static final BillingRelationshipType DIRECT

Static value Direct for BillingRelationshipType.

INDIRECT_CUSTOMER

public static final BillingRelationshipType INDIRECT_CUSTOMER

Static value IndirectCustomer for BillingRelationshipType.

INDIRECT_PARTNER

public static final BillingRelationshipType INDIRECT_PARTNER

Static value IndirectPartner for BillingRelationshipType.

OTHER

public static final BillingRelationshipType OTHER

Static value Other for BillingRelationshipType.

Constructor Details

BillingRelationshipType

@Deprecated
public BillingRelationshipType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BillingRelationshipType value.

Method Details

fromString

public static BillingRelationshipType fromString(String name)

Creates or finds a BillingRelationshipType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BillingRelationshipType.

values

public static Collection<BillingRelationshipType> values()

Gets known BillingRelationshipType values.

Returns:

known BillingRelationshipType values.

Applies to