Click or drag to resize
OrderItemInfoProviderGetExpiringOrderItems Method
Returns dataset of all expiring order items matching given parameters along with additional relevant information.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static InfoDataSet<OrderItemInfo> GetExpiringOrderItems(
	int days,
	int siteId,
	string where,
	bool onlyWithSendNotification = false
)

Parameters

days
Type: SystemInt32
Number of days before order item expiration
siteId
Type: SystemInt32
Site ID. Set to 0 to get expiring order items on all sites.
where
Type: SystemString
Additional where condition
onlyWithSendNotification (Optional)
Type: SystemBoolean
Get only records with send notification flag set to true.

Return Value

Type: InfoDataSetOrderItemInfo
See Also