Class OrderAddressHelper
Helper class.
Inheritance
System.Object
OrderAddressHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class OrderAddressHelper
Constructors
OrderAddressHelper()
Declaration
public OrderAddressHelper()
Methods
Clone(OrderGroup, OrderAddress)
Clones the specified address.
Declaration
public static OrderAddress Clone(OrderGroup og, OrderAddress srcAddress)
Parameters
Type | Name | Description |
---|---|---|
OrderGroup | og | The og. |
OrderAddress | srcAddress | The SRC address. |
Returns
Type | Description |
---|---|
OrderAddress |
GetAddressString(OrderAddress)
Converts address to a string (in HTML format) without phone numbers.
Declaration
public static string GetAddressString(OrderAddress address)
Parameters
Type | Name | Description |
---|---|---|
OrderAddress | address |
Returns
Type | Description |
---|---|
System.String |
GetAddressString(OrderAddress, Boolean, Boolean)
Converts address to a string (in HTML format).
Declaration
public static string GetAddressString(OrderAddress address, bool includeNames, bool includePhones)
Parameters
Type | Name | Description |
---|---|---|
OrderAddress | address | |
System.Boolean | includeNames | |
System.Boolean | includePhones |
Returns
Type | Description |
---|---|
System.String |