time_t MTRecord::GetTimeBetweenPayments() { if (!IsPaymentPlan()) return 0; OTPaymentPlan thePlan; const OTString strPlan(GetContents().c_str()); if (thePlan.LoadContractFromString(strPlan) && thePlan.HasPaymentPlan()) return thePlan.GetTimeBetweenPayments(); return 0; }