/// <summary> /// Initializes a new instance of the <see cref="PayorType"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="billingOffice">The billing office.</param> /// <param name="billingForm">The billing form.</param> public PayorType(string name, BillingOffice billingOffice, BillingForm billingForm ) : this() { Check.IsNotNullOrWhitespace ( name, () => Name ); Check.IsNotNull ( billingOffice, () => BillingOffice ); Check.IsNotNull ( billingForm, () => BillingForm ); Name = name; BillingOffice = billingOffice; BillingForm = billingForm; }
/// <summary> /// Adds the type of the payor. /// </summary> /// <param name="name">The name.</param> /// <param name="billingForm">The billing form.</param> /// <returns>A payor type.</returns> public virtual PayorType AddPayorType(string name, BillingForm billingForm) { InitializeServices(); var factory = IoC.CurrentContainer.Resolve<IPayorTypeFactory>(); var payorType = factory.CreatePayorType(name, this, billingForm); _payorTypes.Add(payorType); NotifyItemAdded(() => PayorTypes, payorType); return payorType; }
public void TestMethodTwo(String Fname, String Lname, String Emailid, String PhoneNo, String AL1, String AL2, String CityC, String StateDrop, string Zip, String Comments) { BillingForm obj2 = new BillingForm(driver); obj2.FillSubmit(Fname, Lname, Emailid, PhoneNo, AL1, AL2, CityC, StateDrop, Zip, Comments); }
/// <summary> /// Creates the type of the payor. /// </summary> /// <param name="name">The name.</param> /// <param name="billingOffice">The billing office.</param> /// <param name="billingForm">The billing form.</param> /// <returns>A payor type.</returns> public PayorType CreatePayorType( string name, BillingOffice billingOffice, BillingForm billingForm ) { var payorType = new PayorType ( name, billingOffice, billingForm ); _payorTypeRepository.MakePersistent ( payorType ); return payorType; }
public void DatacollectionFromCSV(DataFile data) { BillingForm FillData = new BillingForm(driver); FillData.FillSubmit(data); }
/// <summary> /// Revises the billing form. /// </summary> /// <param name="billingForm">The billing form.</param> public virtual void ReviseBillingForm(BillingForm billingForm) { Check.IsNotNull ( billingForm, () => BillingForm ); BillingForm = billingForm; }