Returns query for all addresses matching the specified parameters.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- customerId
- Type: System Int32
ID of the customer the address belongs to
- billing
- Type: System Boolean
Indicates if only addresses suitable for billing address are to be included.
- shipping
- Type: System Boolean
Indicates if only addresses suitable for shipping address are to be included.
- company
- Type: System Boolean
Indicates if only addresses suitable for company address are to be included.
- onlyEnabled
- Type: System Boolean
Indicates if only customer's enabled addresses should be returned.
Return Value
Type: ObjectQuery AddressInfoSee Also