SubscriptionHelperGetSubscriptionsForRenewalNotification Method (String, String, String, NullableDateTime, DateTime, String, String, String, Int32, 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
)
Public Shared Function GetSubscriptionsForRenewalNotification (
notificationType As String,
allowedStates As String(),
notAllowedStates As String(),
minimumRenewalDate As Nullable(Of DateTime),
maximumRenewalDate As DateTime,
itemCategories As String(),
taskItemType As String,
taskType As String,
maxItemsCount As Integer,
groupByAccount As Boolean,
recurring As Boolean
) As List(Of Subscription)
public:
static List<Subscription^>^ GetSubscriptionsForRenewalNotification(
String^ notificationType,
array<String^>^ allowedStates,
array<String^>^ notAllowedStates,
Nullable<DateTime> minimumRenewalDate,
DateTime maximumRenewalDate,
array<String^>^ itemCategories,
String^ taskItemType,
String^ taskType,
int maxItemsCount,
bool groupByAccount,
bool recurring
)
static member GetSubscriptionsForRenewalNotification :
notificationType : string *
allowedStates : string[] *
notAllowedStates : string[] *
minimumRenewalDate : Nullable<DateTime> *
maximumRenewalDate : DateTime *
itemCategories : string[] *
taskItemType : string *
taskType : string *
maxItemsCount : int *
groupByAccount : bool *
recurring : bool -> List<Subscription>
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..
Return Value
Type:
ListSubscriptionFiltered subscriptions.
See Also