public CancelTransactionDto(TrustlyPaymentCancelTransaction transaction)
 {
     Description    = transaction.Description;
     PayeeReference = transaction.PayeeReference;
 }
Exemple #2
0
 /// <summary>
 /// Instantiates a new <see cref="TrustlyPaymentCancelRequest"/> with the provided parameters.
 /// </summary>
 /// <param name="payeeReference">Transactionally unique reference from the merchant system.</param>
 /// <param name="description">A textual description of the cancellation.</param>
 public TrustlyPaymentCancelRequest(string payeeReference, string description)
 {
     Transaction = new TrustlyPaymentCancelTransaction(payeeReference, description);
 }