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