Partilhar via


BillingAddressDetails Class

Definition

Address details.

public class BillingAddressDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingAddressDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingAddressDetails>
type BillingAddressDetails = class
    interface IJsonModel<BillingAddressDetails>
    interface IPersistableModel<BillingAddressDetails>
Public Class BillingAddressDetails
Implements IJsonModel(Of BillingAddressDetails), IPersistableModel(Of BillingAddressDetails)
Inheritance
BillingAddressDetails
Implements

Constructors

BillingAddressDetails(String, String)

Initializes a new instance of BillingAddressDetails.

Properties

AddressLine1

Address line 1.

AddressLine2

Address line 2.

AddressLine3

Address line 3.

City

Address city.

CompanyName

Company name. Optional for MCA Individual (Pay-as-you-go).

Country

Country code uses ISO 3166-1 Alpha-2 format.

District

Address district.

Email

Email address.

FirstName

First name. Optional for MCA Enterprise.

IsValidAddress

Indicates if the address is incomplete.

LastName

Last name. Optional for MCA Enterprise.

MiddleName

Middle name.

PhoneNumber

Phone number.

PostalCode

Postal code.

Region

Address region.

Explicit Interface Implementations

IJsonModel<BillingAddressDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingAddressDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingAddressDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingAddressDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingAddressDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to