Class SerializableOrderAddress
This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.
This class represents an order address in the new cart system. It works with the new database model for cart.
Inheritance
Inherited Members
Namespace: EPiServer.Commerce.Order.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public class SerializableOrderAddress : IShippingOrderAddress, IOrderAddress, IExtendedProperties
Constructors
SerializableOrderAddress()
Creates an instance of SerializableOrderAddress.
Declaration
public SerializableOrderAddress()
Properties
City
Gets or sets the city.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String | The city. |
CountryCode
Gets or sets the country code.
Declaration
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The country code. |
CountryName
Gets or sets the name of the country.
Declaration
public string CountryName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the country. |
DaytimePhoneNumber
Gets or sets the daytime phone number.
Declaration
public string DaytimePhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The daytime phone number. |
Gets or sets the email.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String | The email. |
EveningPhoneNumber
Gets or sets the evening phone number.
Declaration
public string EveningPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The evening phone number. |
FaxNumber
Gets or sets the fax number.
Declaration
public string FaxNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The fax number. |
FirstName
Gets or sets the first name.
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the first. |
Id
Gets the identity of the order address. Use this to map the address id to Shipment and Billing of OrderForm.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The identity of the order address. |
LastName
Gets or sets last name.
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the last. |
Line1
Gets or sets the line 1.
Declaration
public string Line1 { get; set; }
Property Value
Type | Description |
---|---|
System.String | The line1. |
Line2
Gets or sets the line 2.
Declaration
public string Line2 { get; set; }
Property Value
Type | Description |
---|---|
System.String | The line2. |
Organization
Gets or sets the organization.
Declaration
public string Organization { get; set; }
Property Value
Type | Description |
---|---|
System.String | The organization. |
PostalCode
Gets or sets the postal code.
Declaration
public string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The postal code. |
Properties
Gets or sets the property bag for dealing with custom meta fields.
Declaration
public Hashtable Properties { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Hashtable |
RegionCode
Gets or sets the region code.
Declaration
public string RegionCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The region code. |
RegionName
Gets or sets the name of the region.
Declaration
public string RegionName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the region. |
Shipment
The shipment this address is assigned to.
Declaration
public IShipmentCalculatedAmount Shipment { get; set; }
Property Value
Type | Description |
---|---|
IShipmentCalculatedAmount |
Methods
ShippingAddressChanged()
Notifies the shipment that there are certain changes in address.
Declaration
public void ShippingAddressChanged()