BillingProfilePropertiesIndirectRelationshipInfo Class

public final class BillingProfilePropertiesIndirectRelationshipInfo
extends IndirectRelationshipInfo

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

Constructor Summary

Constructor Description
BillingProfilePropertiesIndirectRelationshipInfo()

Creates an instance of BillingProfilePropertiesIndirectRelationshipInfo class.

Method Summary

Modifier and Type Method and Description
static BillingProfilePropertiesIndirectRelationshipInfo fromJson(JsonReader jsonReader)

Reads an instance of BillingProfilePropertiesIndirectRelationshipInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BillingProfilePropertiesIndirectRelationshipInfo withBillingAccountName(String billingAccountName)

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

BillingProfilePropertiesIndirectRelationshipInfo withBillingProfileName(String billingProfileName)

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

BillingProfilePropertiesIndirectRelationshipInfo withDisplayName(String displayName)

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

Methods inherited from IndirectRelationshipInfo

Methods inherited from java.lang.Object

Constructor Details

BillingProfilePropertiesIndirectRelationshipInfo

public BillingProfilePropertiesIndirectRelationshipInfo()

Creates an instance of BillingProfilePropertiesIndirectRelationshipInfo class.

Method Details

fromJson

public static BillingProfilePropertiesIndirectRelationshipInfo fromJson(JsonReader jsonReader)

Reads an instance of BillingProfilePropertiesIndirectRelationshipInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BillingProfilePropertiesIndirectRelationshipInfo.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

BillingProfilePropertiesIndirectRelationshipInfo.validate()

withBillingAccountName

public BillingProfilePropertiesIndirectRelationshipInfo withBillingAccountName(String billingAccountName)

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

Overrides:

BillingProfilePropertiesIndirectRelationshipInfo.withBillingAccountName(String billingAccountName)

Parameters:

billingAccountName

withBillingProfileName

public BillingProfilePropertiesIndirectRelationshipInfo withBillingProfileName(String billingProfileName)

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

Overrides:

BillingProfilePropertiesIndirectRelationshipInfo.withBillingProfileName(String billingProfileName)

Parameters:

billingProfileName

withDisplayName

public BillingProfilePropertiesIndirectRelationshipInfo withDisplayName(String displayName)

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

Overrides:

BillingProfilePropertiesIndirectRelationshipInfo.withDisplayName(String displayName)

Parameters:

displayName

Applies to