public SaleListItem(Uri id, TransactionDto dto)
 {
     Id             = id;
     Amount         = dto.Amount;
     Created        = dto.Created;
     Updated        = dto.Updated;
     Type           = PaymentType.FromValue(dto.Type);
     Number         = dto.Number;
     State          = State.FromValue(dto.State);
     VatAmount      = dto.VatAmount;
     Description    = dto.Description;
     PayeeReference = dto.PayeeReference;
 }