Bearbeiten

Freigeben über


New-AzDataBoxShippingAddressObject

Create an in-memory object for ShippingAddress.

Syntax

New-AzDataBoxShippingAddressObject
   -Country <String>
   -StreetAddress1 <String>
   [-AddressType <AddressType>]
   [-City <String>]
   [-CompanyName <String>]
   [-PostalCode <String>]
   [-SkipAddressValidation <Boolean>]
   [-StateOrProvince <String>]
   [-StreetAddress2 <String>]
   [-StreetAddress3 <String>]
   [-TaxIdentificationNumber <String>]
   [-ZipExtendedCode <String>]
   [<CommonParameters>]

Description

Create an in-memory object for ShippingAddress.

Examples

Example 1: Shipping Address object

New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"

AddressType City          CompanyName Country PostalCode StateOrProvince StreetAddress1  StreetAddress2 StreetAddress3 ZipExtendedCode
----------- ----          ----------- ------- ---------- --------------- --------------  -------------- -------------- ---------------
Commercial  San Francisco             US      94107      CA              101 TOWNSEND ST

Creates a in-memory shipping address object

Parameters

-AddressType

Type of address.

Type:AddressType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-City

Name of the City.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CompanyName

Name of the company.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Country

Name of the Country.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PostalCode

Postal code.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SkipAddressValidation

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

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StateOrProvince

Name of the State or Province.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StreetAddress1

Street Address line 1.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-StreetAddress2

Street Address line 2.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StreetAddress3

Street Address line 3.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TaxIdentificationNumber

Tax Identification Number.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ZipExtendedCode

Extended Zip Code.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ShippingAddress