/// <summary> /// Create a new payer with all fields /// </summary> /// <param name="payerType">Payer Type (Can be defaulted to 'Business')</param> /// <param name="payerRef">Payer Ref</param> /// <param name="title">Title</param> /// <param name="firstName">First Name</param> /// <param name="surname">Surname</param> /// <param name="company">Company</param> /// <param name="address">Address</param> /// <param name="phoneNumbers">Phone Numbers</param> /// <param name="email">Email</param> /// <param name="comments">Comments</param> public Payer(String payerType, String payerRef, String title, String firstName, String surname, String company, Address address, PhoneNumbers phoneNumbers, String email, ArrayList comments) { SetPayerValues(payerType, payerRef, title, firstName, surname, company, address, phoneNumbers, email, comments); }
private void SetPayerValues(String payerType, String payerRef, String title, String firstName, String surname, String company, Address address, PhoneNumbers phoneNumbers, String email, ArrayList comments) { PayerType = payerType; PayerRef = payerRef; Title = title; FirstName = firstName; Surname = surname; Company = company; Address = address; PhoneNumbers = phoneNumbers; Email = email; Comments = comments; }