ItemCalculateRenewalDate Method (DateTime, RenewalPeriod) |
Calculates renewal date for passed date.
Namespace:
Atomia.Billing.Core.Sdk.BusinessObjects
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public DateTime CalculateRenewalDate(
DateTime dateTime,
RenewalPeriod renewalPeriod
)
Public Function CalculateRenewalDate (
dateTime As DateTime,
renewalPeriod As RenewalPeriod
) As DateTime
public:
DateTime CalculateRenewalDate(
DateTime dateTime,
RenewalPeriod^ renewalPeriod
)
member CalculateRenewalDate :
dateTime : DateTime *
renewalPeriod : RenewalPeriod -> DateTime
Parameters
- dateTime
- Type: SystemDateTime
The date for which renewal date is calculated. - renewalPeriod
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsRenewalPeriod
The renewal period.
Return Value
Type:
DateTimeCalculated renewal date.
See Also