BillingProfilePropertiesIndirectRelationshipInfo Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. IndirectRelationshipInfo - com.
azure. resourcemanager. billing. models. BillingProfilePropertiesIndirectRelationshipInfo
- com.
- com.
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 Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Billing |
withBillingAccountName(String billingAccountName)
Set the billing |
|
Billing |
withBillingProfileName(String billingProfileName)
Set the billing |
|
Billing |
withDisplayName(String displayName)
Set the display |
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:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingProfilePropertiesIndirectRelationshipInfo.toJson(JsonWriter jsonWriter)Parameters:
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:
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:
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: