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