Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Disbursement" /> class.
 /// </summary>
 /// <param name="disbursementType">The type of disbursement. (required).</param>
 /// <param name="senderInfo">senderInfo (required).</param>
 /// <param name="receiverInfo">receiverInfo (required).</param>
 public Disbursement(string disbursementType = default(string), SenderInfo senderInfo = default(SenderInfo), ReceiverInfo receiverInfo = default(ReceiverInfo))
 {
     // to ensure "disbursementType" is required (not null)
     this.DisbursementType = disbursementType ?? throw new ArgumentNullException("disbursementType is a required property for Disbursement and cannot be null");
     // to ensure "senderInfo" is required (not null)
     this.SenderInfo = senderInfo ?? throw new ArgumentNullException("senderInfo is a required property for Disbursement and cannot be null");
     // to ensure "receiverInfo" is required (not null)
     this.ReceiverInfo = receiverInfo ?? throw new ArgumentNullException("receiverInfo is a required property for Disbursement and cannot be null");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DisbursementTransactionType" /> class.
 /// </summary>
 /// <param name="disbursementType">The type of disbursement. (required) (default to &quot;DisbursementTransactionType&quot;).</param>
 /// <param name="senderInfo">senderInfo (required).</param>
 /// <param name="receiverInfo">receiverInfo (required).</param>
 public DisbursementTransactionType(string disbursementType = "DisbursementTransactionType", SenderInfo senderInfo = default(SenderInfo), ReceiverInfo receiverInfo = default(ReceiverInfo)) : base(disbursementType, senderInfo, receiverInfo)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FundingTransactionType" /> class.
 /// </summary>
 /// <param name="disbursementType">The type of disbursement..</param>
 /// <param name="senderInfo">senderInfo (required).</param>
 /// <param name="receiverInfo">receiverInfo (required).</param>
 public FundingTransactionType(string disbursementType = default(string), SenderInfo senderInfo = default(SenderInfo), ReceiverInfo receiverInfo = default(ReceiverInfo)) : base(disbursementType, senderInfo, receiverInfo)
 {
     this.DisbursementType = disbursementType;
 }