Exemple #1
0
 public Payment(AccountConfig account)
 {
     Account = account ?? throw new ArgumentNullException("The knet account details is required.", nameof(account));
 }
Exemple #2
0
 public Payment(AccountConfig account, PaymentRequest paymentRequest)
 {
     Account        = account ?? throw new ArgumentNullException("The knet account details is required.", nameof(account));
     PaymentRequest = paymentRequest ?? throw new ArgumentNullException("The payment request payload is required.", nameof(paymentRequest));
 }