Click or drag to resize

SubscriptionHelperCalculateNextRenewalDate Method

Calculates the next renewal date.

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 DateTime CalculateNextRenewalDate(
	DateTime startDate,
	int renewalPeriod,
	string renewalPeriodUnit
)

Parameters

startDate
Type: SystemDateTime
The start date.
renewalPeriod
Type: SystemInt32
The renewal period.
renewalPeriodUnit
Type: SystemString
The renewal period unit.

Return Value

Type: DateTime
The next renewal date.
See Also