public PaymentRepository() { this.boatsCapacityService = new BoatsCapacityService(); this.cardMasterService = new CardMasterService(); this.paymentTransactionService = new PaymentTransactionService(); this.reservationService = new ReservationService(); }
public void Init() { _repositoryMock = new Mock <IRepository <PaymentTransaction> >(); _mediatorMock = new Mock <IMediator>(); _service = new PaymentTransactionService(_repositoryMock.Object, _mediatorMock.Object); }
public PaymentOperation(RequestPayment request, PaymentTransactionService service) { this.request.Header = new Header(); this.request = request; this.paymentTransactionService = service; }