Click or drag to resize

SubscriptionHelperGetSubscriptionsForRenewalNotification Method (String, String, String, NullableDateTime, DateTime, String, String, String, Int32, Boolean, Boolean, Boolean)

Gets subscriptions for renewal notification for specified time period.

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public static List<Subscription> GetSubscriptionsForRenewalNotification(
	string notificationType,
	string[] allowedStates,
	string[] notAllowedStates,
	Nullable<DateTime> minimumRenewalDate,
	DateTime maximumRenewalDate,
	string[] itemCategories,
	string taskItemType,
	string taskType,
	int maxItemsCount,
	bool groupByAccount,
	bool recurring,
	bool includeSubscriptionsToTheEndOfTheMonth
)

Parameters

notificationType
Type: SystemString
The notification type.
allowedStates
Type: SystemString
The allowed states.
notAllowedStates
Type: SystemString
The not allowed states.
minimumRenewalDate
Type: SystemNullableDateTime
The minimum renewal date.
maximumRenewalDate
Type: SystemDateTime
The maximum renewal date.
itemCategories
Type: SystemString
The item categories.
taskItemType
Type: SystemString
Type of the task item.
taskType
Type: SystemString
Type of the task.
maxItemsCount
Type: SystemInt32
The max items count.
groupByAccount
Type: SystemBoolean
if set to true group subscriptions by account.
recurring
Type: SystemBoolean
if set to true only subscriptions with recurring property set to true will be fetched, otherwise non-recurring subscriptions will be returned..
includeSubscriptionsToTheEndOfTheMonth
Type: SystemBoolean
if set to true [include subscriptions to the end of the month].

Return Value

Type: ListSubscription
Filtered subscriptions.
See Also