AddressInfoProvider GetAddresses Method (Int32, Boolean, Boolean, Boolean, Boolean)Kentico 8.1 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.1.5347.20411)

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