BillingProfileInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.BillingProfileInfo

Implements

public final class BillingProfileInfo
implements JsonSerializable<BillingProfileInfo>

Details about billing profile associated with agreement and available only for specific agreements.

Constructor Summary

Constructor Description
BillingProfileInfo()

Creates an instance of BillingProfileInfo class.

Method Summary

Modifier and Type Method and Description
String billingAccountId()

Get the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.

String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile.

String billingProfileId()

Get the billingProfileId property: The friendly ID that uniquely identifies a billing profile.

String billingProfileSystemId()

Get the billingProfileSystemId property: The fully qualified ID that uniquely identifies a billing profile.

static BillingProfileInfo fromJson(JsonReader jsonReader)

Reads an instance of BillingProfileInfo from the JsonReader.

String indirectRelationshipOrganizationName()

Get the indirectRelationshipOrganizationName property: Billing account name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BillingProfileInfo withBillingAccountId(String billingAccountId)

Set the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.

BillingProfileInfo withBillingProfileDisplayName(String billingProfileDisplayName)

Set the billingProfileDisplayName property: The name of the billing profile.

BillingProfileInfo withBillingProfileId(String billingProfileId)

Set the billingProfileId property: The friendly ID that uniquely identifies a billing profile.

BillingProfileInfo withBillingProfileSystemId(String billingProfileSystemId)

Set the billingProfileSystemId property: The fully qualified ID that uniquely identifies a billing profile.

BillingProfileInfo withIndirectRelationshipOrganizationName(String indirectRelationshipOrganizationName)

Set the indirectRelationshipOrganizationName property: Billing account name.

Methods inherited from java.lang.Object

Constructor Details

BillingProfileInfo

public BillingProfileInfo()

Creates an instance of BillingProfileInfo class.

Method Details

billingAccountId

public String billingAccountId()

Get the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.

Returns:

the billingAccountId value.

billingProfileDisplayName

public String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile.

Returns:

the billingProfileDisplayName value.

billingProfileId

public String billingProfileId()

Get the billingProfileId property: The friendly ID that uniquely identifies a billing profile.

Returns:

the billingProfileId value.

billingProfileSystemId

public String billingProfileSystemId()

Get the billingProfileSystemId property: The fully qualified ID that uniquely identifies a billing profile.

Returns:

the billingProfileSystemId value.

fromJson

public static BillingProfileInfo fromJson(JsonReader jsonReader)

Reads an instance of BillingProfileInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BillingProfileInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BillingProfileInfo.

indirectRelationshipOrganizationName

public String indirectRelationshipOrganizationName()

Get the indirectRelationshipOrganizationName property: Billing account name. Available for a specific type of agreement.

Returns:

the indirectRelationshipOrganizationName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBillingAccountId

public BillingProfileInfo withBillingAccountId(String billingAccountId)

Set the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.

Parameters:

billingAccountId - the billingAccountId value to set.

Returns:

the BillingProfileInfo object itself.

withBillingProfileDisplayName

public BillingProfileInfo withBillingProfileDisplayName(String billingProfileDisplayName)

Set the billingProfileDisplayName property: The name of the billing profile.

Parameters:

billingProfileDisplayName - the billingProfileDisplayName value to set.

Returns:

the BillingProfileInfo object itself.

withBillingProfileId

public BillingProfileInfo withBillingProfileId(String billingProfileId)

Set the billingProfileId property: The friendly ID that uniquely identifies a billing profile.

Parameters:

billingProfileId - the billingProfileId value to set.

Returns:

the BillingProfileInfo object itself.

withBillingProfileSystemId

public BillingProfileInfo withBillingProfileSystemId(String billingProfileSystemId)

Set the billingProfileSystemId property: The fully qualified ID that uniquely identifies a billing profile.

Parameters:

billingProfileSystemId - the billingProfileSystemId value to set.

Returns:

the BillingProfileInfo object itself.

withIndirectRelationshipOrganizationName

public BillingProfileInfo withIndirectRelationshipOrganizationName(String indirectRelationshipOrganizationName)

Set the indirectRelationshipOrganizationName property: Billing account name. Available for a specific type of agreement.

Parameters:

indirectRelationshipOrganizationName - the indirectRelationshipOrganizationName value to set.

Returns:

the BillingProfileInfo object itself.

Applies to