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