Package com.braintreegateway.exceptions

Examples of com.braintreegateway.exceptions.DownForMaintenanceException


    public ResourceCollection<Transaction> search(TransactionSearchRequest query) {
        NodeWrapper node = http.post("/transactions/advanced_search_ids", query);
        if (node.getElementName() == "search-results") {
          return new ResourceCollection<Transaction>(new TransactionPager(this, query), node);
        } else {
          throw new DownForMaintenanceException();
        }
    }
View Full Code Here

TOP

Related Classes of com.braintreegateway.exceptions.DownForMaintenanceException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.