public Payment(AccountConfig account) { Account = account ?? throw new ArgumentNullException("The knet account details is required.", nameof(account)); }
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)); }