Gets or sets the CAddressBasic object representing the physical address to which this COrder will ship.

Namespace:  Asi.iBO.Commerce
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public CAddressBasic ShipToAddress { get; set; }
Visual Basic (Declaration)
Public Property ShipToAddress As CAddressBasic
Visual C++
public:
property CAddressBasic^ ShipToAddress {
	CAddressBasic^ get ();
	void set (CAddressBasic^ value);
}

Field Value

A CAddressBasic object representing the physical address to which this COrder will ship.

Remarks

There are 3 other ways to set the Address information on an order:
  1. Set the ShipToContactId to the ContactId of a contact that already exists in the iMIS database or the ShipToContact to an instantiated CContact object. The address properties will be set from those on the preferred mailing adress of the contact.
  2. Set the ShipToAddressNumber to the AddressNumber of an existing address. The address properties will be set from those on the given address and the order will be linked to the address number provided.
  3. Set the address related fields on the order. This will create an address that exists only on the order (i.e., not in the Contact Management system) unless the method SaveContactChanges()()() is called.

See Also