Beispiel #1
0
        /// <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;
        }
Beispiel #2
0
 /// <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;
 }
Beispiel #3
0
        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);
        }
Beispiel #4
0
 /// <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;
 }
Beispiel #5
0
        public void DatacollectionFromCSV(DataFile data)
        {
            BillingForm FillData = new BillingForm(driver);

            FillData.FillSubmit(data);
        }
Beispiel #6
0
 /// <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;
 }