BillingProfilePropertiesBillTo Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. AddressDetails - com.
azure. resourcemanager. billing. models. BillingProfilePropertiesBillTo
- com.
- com.
public final class BillingProfilePropertiesBillTo
extends AddressDetails
Billing address.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingProfilePropertiesBillTo() |
Creates an instance of Billing |
Method Summary
Methods inherited from AddressDetails
Methods inherited from java.lang.Object
Constructor Details
BillingProfilePropertiesBillTo
public BillingProfilePropertiesBillTo()
Creates an instance of BillingProfilePropertiesBillTo class.
Method Details
fromJson
public static BillingProfilePropertiesBillTo fromJson(JsonReader jsonReader)
Reads an instance of BillingProfilePropertiesBillTo from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingProfilePropertiesBillTo.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
BillingProfilePropertiesBillTo.validate()withAddressLine1
public BillingProfilePropertiesBillTo withAddressLine1(String addressLine1)
Set the addressLine1 property: Address line 1.
Overrides:
BillingProfilePropertiesBillTo.withAddressLine1(String addressLine1)Parameters:
withAddressLine2
public BillingProfilePropertiesBillTo withAddressLine2(String addressLine2)
Set the addressLine2 property: Address line 2.
Overrides:
BillingProfilePropertiesBillTo.withAddressLine2(String addressLine2)Parameters:
withAddressLine3
public BillingProfilePropertiesBillTo withAddressLine3(String addressLine3)
Set the addressLine3 property: Address line 3.
Overrides:
BillingProfilePropertiesBillTo.withAddressLine3(String addressLine3)Parameters:
withCity
public BillingProfilePropertiesBillTo withCity(String city)
Set the city property: Address city.
Overrides:
BillingProfilePropertiesBillTo.withCity(String city)Parameters:
withCompanyName
public BillingProfilePropertiesBillTo withCompanyName(String companyName)
Set the companyName property: Company name. Optional for MCA Individual (Pay-as-you-go).
Overrides:
BillingProfilePropertiesBillTo.withCompanyName(String companyName)Parameters:
withCountry
public BillingProfilePropertiesBillTo withCountry(String country)
Set the country property: Country code uses ISO 3166-1 Alpha-2 format.
Overrides:
BillingProfilePropertiesBillTo.withCountry(String country)Parameters:
withDistrict
public BillingProfilePropertiesBillTo withDistrict(String district)
Set the district property: Address district.
Overrides:
BillingProfilePropertiesBillTo.withDistrict(String district)Parameters:
withEmail
public BillingProfilePropertiesBillTo withEmail(String email)
Set the email property: Email address.
Overrides:
BillingProfilePropertiesBillTo.withEmail(String email)Parameters:
withFirstName
public BillingProfilePropertiesBillTo withFirstName(String firstName)
Set the firstName property: First name. Optional for MCA Enterprise.
Overrides:
BillingProfilePropertiesBillTo.withFirstName(String firstName)Parameters:
withIsValidAddress
public BillingProfilePropertiesBillTo withIsValidAddress(Boolean isValidAddress)
Set the isValidAddress property: Indicates if the address is incomplete.
Overrides:
BillingProfilePropertiesBillTo.withIsValidAddress(Boolean isValidAddress)Parameters:
withLastName
public BillingProfilePropertiesBillTo withLastName(String lastName)
Set the lastName property: Last name. Optional for MCA Enterprise.
Overrides:
BillingProfilePropertiesBillTo.withLastName(String lastName)Parameters:
withMiddleName
public BillingProfilePropertiesBillTo withMiddleName(String middleName)
Set the middleName property: Middle name.
Overrides:
BillingProfilePropertiesBillTo.withMiddleName(String middleName)Parameters:
withPhoneNumber
public BillingProfilePropertiesBillTo withPhoneNumber(String phoneNumber)
Set the phoneNumber property: Phone number.
Overrides:
BillingProfilePropertiesBillTo.withPhoneNumber(String phoneNumber)Parameters:
withPostalCode
public BillingProfilePropertiesBillTo withPostalCode(String postalCode)
Set the postalCode property: Postal code.
Overrides:
BillingProfilePropertiesBillTo.withPostalCode(String postalCode)Parameters:
withRegion
public BillingProfilePropertiesBillTo withRegion(String region)
Set the region property: Address region.
Overrides:
BillingProfilePropertiesBillTo.withRegion(String region)Parameters: