AddressInfoProvider GetAddresses Method (Int32, Boolean, Boolean, Boolean, Boolean)Kentico 8.0 API Reference
Returns query for all addresses matching the specified parameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

customerId
Type: OnlineSystem Int32
ID of the customer the address belongs to
billing
Type: OnlineSystem Boolean
Indicates if only addresses suitable for billing address are to be included.
shipping
Type: OnlineSystem Boolean
Indicates if only addresses suitable for shipping address are to be included.
company
Type: OnlineSystem Boolean
Indicates if only addresses suitable for company address are to be included.
onlyEnabled
Type: OnlineSystem Boolean
Indicates if only customer's enabled addresses should be returned.

Return Value

Type: ObjectQuery AddressInfo 
See Also