Click or drag to resize
AddressInfoProviderGetAddressesInternal Method
Returns query for all addresses matching the specified parameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual ObjectQuery<AddressInfo> GetAddressesInternal(
	int customerId,
	bool billing,
	bool shipping,
	bool company,
	bool onlyEnabled
)

Parameters

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

Return Value

Type: ObjectQueryAddressInfo
See Also