示例#1
0
        public Task <Payment.Payment> Store(Guid paymentId, MaskedPaymentRequest paymentRequest, PaymentResponse paymentResponse)
        {
            var payment = new Payment.Payment(paymentRequest, paymentResponse);

            _payments.Add(paymentId, new Payment.Payment(paymentRequest, paymentResponse));

            return(Task.FromResult(payment));
        }
示例#2
0
 public Payment(MaskedPaymentRequest paymentRequest, PaymentResponse paymentResponse)
 {
     PaymentRequest  = paymentRequest;
     PaymentResponse = paymentResponse;
 }