예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayeeLocationResponseData" /> class.
 /// </summary>
 /// <param name="payeeLocation">payeeLocation (required).</param>
 public PayeeLocationResponseData(PayeeLocation payeeLocation = default(PayeeLocation))
 {
     // to ensure "payeeLocation" is required (not null)
     if (payeeLocation == null)
     {
         throw new InvalidDataException("payeeLocation is a required property for PayeeLocationResponseData and cannot be null");
     }
     else
     {
         this.PayeeLocation = payeeLocation;
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayeeLocationResponseData" /> class.
 /// </summary>
 /// <param name="payeeLocation">payeeLocation (required).</param>
 public PayeeLocationResponseData(PayeeLocation payeeLocation = default(PayeeLocation))
 {
     // to ensure "payeeLocation" is required (not null)
     this.PayeeLocation = payeeLocation ?? throw new ArgumentNullException("payeeLocation is a required property for PayeeLocationResponseData and cannot be null");
 }