IndirectRelationshipInfo Class

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

Implements

public class IndirectRelationshipInfo
implements JsonSerializable<IndirectRelationshipInfo>

Identifies the billing profile that is linked to another billing profile in indirect purchase motion.

Constructor Summary

Constructor Description
IndirectRelationshipInfo()

Creates an instance of IndirectRelationshipInfo class.

Method Summary

Modifier and Type Method and Description
String billingAccountName()

Get the billingAccountName property: The billing account name of the partner or the customer for an indirect motion.

String billingProfileName()

Get the billingProfileName property: The billing profile name of the partner or the customer for an indirect motion.

String displayName()

Get the displayName property: The display name of the partner or customer for an indirect motion.

static IndirectRelationshipInfo fromJson(JsonReader jsonReader)

Reads an instance of IndirectRelationshipInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IndirectRelationshipInfo withBillingAccountName(String billingAccountName)

Set the billingAccountName property: The billing account name of the partner or the customer for an indirect motion.

IndirectRelationshipInfo withBillingProfileName(String billingProfileName)

Set the billingProfileName property: The billing profile name of the partner or the customer for an indirect motion.

IndirectRelationshipInfo withDisplayName(String displayName)

Set the displayName property: The display name of the partner or customer for an indirect motion.

Methods inherited from java.lang.Object

Constructor Details

IndirectRelationshipInfo

public IndirectRelationshipInfo()

Creates an instance of IndirectRelationshipInfo class.

Method Details

billingAccountName

public String billingAccountName()

Get the billingAccountName property: The billing account name of the partner or the customer for an indirect motion.

Returns:

the billingAccountName value.

billingProfileName

public String billingProfileName()

Get the billingProfileName property: The billing profile name of the partner or the customer for an indirect motion.

Returns:

the billingProfileName value.

displayName

public String displayName()

Get the displayName property: The display name of the partner or customer for an indirect motion.

Returns:

the displayName value.

fromJson

public static IndirectRelationshipInfo fromJson(JsonReader jsonReader)

Reads an instance of IndirectRelationshipInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IndirectRelationshipInfo 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 IndirectRelationshipInfo.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBillingAccountName

public IndirectRelationshipInfo withBillingAccountName(String billingAccountName)

Set the billingAccountName property: The billing account name of the partner or the customer for an indirect motion.

Parameters:

billingAccountName - the billingAccountName value to set.

Returns:

the IndirectRelationshipInfo object itself.

withBillingProfileName

public IndirectRelationshipInfo withBillingProfileName(String billingProfileName)

Set the billingProfileName property: The billing profile name of the partner or the customer for an indirect motion.

Parameters:

billingProfileName - the billingProfileName value to set.

Returns:

the IndirectRelationshipInfo object itself.

withDisplayName

public IndirectRelationshipInfo withDisplayName(String displayName)

Set the displayName property: The display name of the partner or customer for an indirect motion.

Parameters:

displayName - the displayName value to set.

Returns:

the IndirectRelationshipInfo object itself.

Applies to