Share via


DataBoxShippingAddress Class

Definition

Shipping address where customer wishes to receive the device.

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

Constructors

DataBoxShippingAddress(String, String)

Initializes a new instance of DataBoxShippingAddress.

Properties

AddressType

Type of address.

City

Name of the City.

CompanyName

Name of the company.

Country

Name of the Country.

PostalCode

Postal code.

SkipAddressValidation

Flag to indicate if customer has chosen to skip default address validation.

StateOrProvince

Name of the State or Province.

StreetAddress1

Street Address line 1.

StreetAddress2

Street Address line 2.

StreetAddress3

Street Address line 3.

TaxIdentificationNumber

Tax Identification Number.

ZipExtendedCode

Extended Zip Code.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxShippingAddress>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataBoxShippingAddress>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxShippingAddress>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataBoxShippingAddress>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataBoxShippingAddress>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to