BillingAccountPropertiesRegistrationNumber Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. RegistrationNumber - com.
azure. resourcemanager. billing. models. BillingAccountPropertiesRegistrationNumber
- com.
- com.
public final class BillingAccountPropertiesRegistrationNumber
extends RegistrationNumber
Describes the registration number of the organization linked with the billing account.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingAccountPropertiesRegistrationNumber() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
| Boolean |
required()
Get the required property: Identifies if the registration number is required for the billing account. |
|
Json |
toJson(JsonWriter jsonWriter) |
| List<String> |
type()
Get the type property: The types of registration number allowed based on the country of the billing account. |
| void |
validate()
Validates the instance. |
|
Billing |
withId(String id)
Set the id property: The unique identification number of the organization linked with the billing account. |
Methods inherited from RegistrationNumber
Methods inherited from java.lang.Object
Constructor Details
BillingAccountPropertiesRegistrationNumber
public BillingAccountPropertiesRegistrationNumber()
Creates an instance of BillingAccountPropertiesRegistrationNumber class.
Method Details
fromJson
public static BillingAccountPropertiesRegistrationNumber fromJson(JsonReader jsonReader)
Reads an instance of BillingAccountPropertiesRegistrationNumber from the JsonReader.
Parameters:
Returns:
Throws:
required
public Boolean required()
Get the required property: Identifies if the registration number is required for the billing account.
Overrides:
BillingAccountPropertiesRegistrationNumber.required()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingAccountPropertiesRegistrationNumber.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public List<String> type()
Get the type property: The types of registration number allowed based on the country of the billing account.
Overrides:
BillingAccountPropertiesRegistrationNumber.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
BillingAccountPropertiesRegistrationNumber.validate()withId
public BillingAccountPropertiesRegistrationNumber withId(String id)
Set the id property: The unique identification number of the organization linked with the billing account.
Overrides:
BillingAccountPropertiesRegistrationNumber.withId(String id)Parameters: