コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShareholderContact" /> class.
 /// </summary>
 /// <param name="address">address.</param>
 /// <param name="email">The e-mail address of the contact..</param>
 /// <param name="fullPhoneNumber">The phone number of the contact provided as a single string.  It will be handled as a landline phone. **Examples:** \&quot;0031 6 11 22 33 44\&quot;, \&quot;+316/1122-3344\&quot;, \&quot;(0031) 611223344\&quot;.</param>
 /// <param name="name">name.</param>
 /// <param name="personalData">personalData.</param>
 /// <param name="phoneNumber">phoneNumber.</param>
 /// <param name="shareholderCode">The unique identifier (UUID) of the Shareholder. &gt;**If, during an Account Holder create or update request, this field is left blank (but other fields provided), a new Shareholder will be created with a procedurally-generated UUID.**  &gt;**If, during an Account Holder create request, a UUID is provided, the creation of the Shareholder will fail while the creation of the Account Holder will continue.**  &gt;**If, during an Account Holder update request, a UUID that is not correlated with an existing Shareholder is provided, the update of the Shareholder will fail.**  &gt;**If, during an Account Holder update request, a UUID that is correlated with an existing Shareholder is provided, the existing Shareholder will be updated.** .</param>
 /// <param name="shareholderReference">Merchant reference to the Shareholder..</param>
 /// <param name="webAddress">The URL of the website of the contact..</param>
 public ShareholderContact(ViasAddress address = default(ViasAddress), string email = default(string), string fullPhoneNumber = default(string), ViasName name = default(ViasName), ViasPersonalData personalData = default(ViasPersonalData), ViasPhoneNumber phoneNumber = default(ViasPhoneNumber), string shareholderCode = default(string), string shareholderReference = default(string), string webAddress = default(string))
 {
     this.Address              = address;
     this.Email                = email;
     this.FullPhoneNumber      = fullPhoneNumber;
     this.Name                 = name;
     this.PersonalData         = personalData;
     this.PhoneNumber          = phoneNumber;
     this.ShareholderCode      = shareholderCode;
     this.ShareholderReference = shareholderReference;
     this.WebAddress           = webAddress;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IndividualDetails" /> class.
 /// </summary>
 /// <param name="name">name.</param>
 /// <param name="personalData">personalData.</param>
 public IndividualDetails(ViasName name = default(ViasName), ViasPersonalData personalData = default(ViasPersonalData))
 {
     this.Name         = name;
     this.PersonalData = personalData;
 }