Beispiel #1
0
 public void AddTransaction(ApiTransactionClientResponseModel item)
 {
     if (!this.Transactions.Any(x => x.Id == item.Id))
     {
         this.Transactions.Add(item);
     }
 }
Beispiel #2
0
        public virtual ApiTransactionClientRequestModel MapClientResponseToRequest(
            ApiTransactionClientResponseModel response)
        {
            var request = new ApiTransactionClientRequestModel();

            request.SetProperties(
                response.Amount,
                response.GatewayConfirmationNumber,
                response.TransactionStatusId);
            return(request);
        }
Beispiel #3
0
 public void SetTransactionIdNavigation(ApiTransactionClientResponseModel value)
 {
     this.TransactionIdNavigation = value;
 }