Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SepaSaleTransactionAllOf" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 public SepaSaleTransactionAllOf(SepaPaymentMethod paymentMethod = default(SepaPaymentMethod))
 {
     // to ensure "paymentMethod" is required (not null)
     this.PaymentMethod = paymentMethod ?? throw new ArgumentNullException("paymentMethod is a required property for SepaSaleTransactionAllOf and cannot be null");
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SepaSaleTransaction" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 /// <param name="requestType">Object name of the primary transaction request. (required).</param>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="order">order.</param>
 public SepaSaleTransaction(SepaPaymentMethod paymentMethod = default(SepaPaymentMethod), string requestType = default(string), Amount transactionAmount = default(Amount), string storeId = default(string), string merchantTransactionId = default(string), TransactionOrigin?transactionOrigin = null, Order order = default(Order)) : base(requestType, transactionAmount, storeId, merchantTransactionId, transactionOrigin, order)
 {
     // to ensure "paymentMethod" is required (not null)
     this.PaymentMethod = paymentMethod ?? throw new ArgumentNullException("paymentMethod is a required property for SepaSaleTransaction and cannot be null");
 }