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