Click or drag to resize

ItemHelperGetRenewalPeriod Method

Returns timespan of renewal period correspondent to startDate.

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 TimeSpan GetRenewalPeriod(
	DateTime startDate,
	int renewalPeriodValue,
	string renewalPeriodUnit
)

Parameters

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

Return Value

Type: TimeSpan
Renewal period.
See Also