Exemple #1
0
        public ChequeBookChequeGetDto(Clients.DebugApi.V2_0_0.Response28 response)
        {
            if (response is null)
            {
                throw new ArgumentNullException(nameof(response));
            }

            Peer         = response.Peer;
            LastReceived = new LastReceivedDto(response.Lastreceived);
            LastSent     = new LastSentDto(response.Lastsent);
        }
Exemple #2
0
        public ChequeBookChequeGetDto(Clients.DebugApi.V2_0_0.Lastcheques lastcheques)
        {
            if (lastcheques is null)
            {
                throw new ArgumentNullException(nameof(lastcheques));
            }

            Peer         = lastcheques.Peer;
            LastReceived = new LastReceivedDto(lastcheques.Lastreceived);
            LastSent     = new LastSentDto(lastcheques.Lastsent);
        }