Ejemplo n.º 1
0
 public PaymentTest()
 {
     serviceMode = ServiceMode.Test;
     context     = new QuickBooksOnlineContext(consumerKey, consumerSecret, accessToken, accessTokenSecret, "", serviceMode, "USD", realmId, "");
     repository  = new QuickBooksOnlinePaymentRepository(context);
     service     = new QuickBooksOnlinePaymentService(repository);
 }
 public QuickBooksOnlinePaymentService(QuickBooksOnlinePaymentRepository repository)
 {
     _repository = repository;
 }