Package com.bring.api.tracking.response

Examples of com.bring.api.tracking.response.TrackingResult


        //Prepare query
        TrackingQuery query = new TrackingQuery();
        query.withQueryNumber("1234567");

        //Fetch Tracking information from Bring
        TrackingResult trackingResult = bringService.queryTracking(query);
        String totalWeight = trackingResult.getConsignment(0)
            .getTotalWeight()
            .getValue();

        //Display result
        System.out.println("Total weight:" + totalWeight);
View Full Code Here

TOP

Related Classes of com.bring.api.tracking.response.TrackingResult

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.