public CancelTransactionDto(PaymentOrderCancelTransaction transaction) { Description = transaction.Description; PayeeReference = transaction.PayeeReference; }
/// <summary> /// Instantiates a <see cref="PaymentOrderCancelRequest"/> with the provided parameters. /// </summary> /// <param name="payeeReference">Unique reference from the merchant system.</param> /// <param name="description">Textual description for why the cancel occurs.</param> public PaymentOrderCancelRequest(string payeeReference, string description) { Transaction = new PaymentOrderCancelTransaction(payeeReference, description); }