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)); }
public Payment(MaskedPaymentRequest paymentRequest, PaymentResponse paymentResponse) { PaymentRequest = paymentRequest; PaymentResponse = paymentResponse; }