OrderAddress Class (BCL)

Abstracts an element of the order addresses collection.

System.Object
**** Microsoft.CommerceServer.Runtime.Orders.OrderAddress

Public Instance Constructor

Constructor Description
OrderAddress Constructor(String, Profile) Creates a new instance of the OrderAddress class with the specified address name and profile object instance containing address information.
OrderAddress Constructor(String, String) Creates a new instance of the OrderAddress class with a specified address name and address ID.

 

Public Instance Methods

Method Description
Dispose Releases resources used by this object.

 

Public Instance Properties

Property Description
City Accesses the value of the city field on the underlying Dictionary COM interop object.
Country Accesses the value of the ship_to_country field on the underlying Dictionary COM interop object.
CountryName Accesses the value of the country_code field on the underlying Dictionary COM interop object.
FirstName Accesses the value of the first_name field on the underlying Dictionary COM interop object.
ID Accesses the value of the address_id field on the underlying Dictionary COM interop object.
Item(String) Accesses the value of the specified order address property on the underlying Dictionary COM interop object.
LastName Accesses the value of the last_name field on the underlying Dictionary COM interop object.
Line1 Accesses the value of the address_line_1 field on the underlying Dictionary COM interop object.
Line2 Accesses the value of the address_line_2 field on the underlying Dictionary COM interop object.
Name Accesses the value of the address_name field on the underlying Dictionary COM interop object.
PostalCode Accesses the value of the postal_code field on the underlying Dictionary COM interop object.
RegionCode Accesses the value of the region_code field on the underlying Dictionary COM interop object.
RegionName Accesses the value of the region_name field on the underlying Dictionary COM interop object.
ShippingAddressID Accesses the value of the shipping_address_id field on the underlying Dictionary COM interop object.
State Accesses the value of the ship_to_state field on the underlying Dictionary COM interop object.
TelephoneNumber Accesses the value of the telephone_number field on the underlying Dictionary COM interop object.

 

Protected Instance Methods

Method Description
Dispose(Boolean) Releases the unmanaged resources used by this class and optionally releases the managed resources.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Orders

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.