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
)
Public Shared Function GetRenewalPeriod (
startDate As DateTime,
renewalPeriodValue As Integer,
renewalPeriodUnit As String
) As TimeSpan
public:
static TimeSpan GetRenewalPeriod(
DateTime startDate,
int renewalPeriodValue,
String^ renewalPeriodUnit
)
static member GetRenewalPeriod :
startDate : DateTime *
renewalPeriodValue : int *
renewalPeriodUnit : string -> TimeSpan
Parameters
- startDate
- Type: SystemDateTime
The start date. - renewalPeriodValue
- Type: SystemInt32
The renewal period. - renewalPeriodUnit
- Type: SystemString
The renewal period unit.
Return Value
Type:
TimeSpanRenewal period.
See Also