@@ -0,0 +1,583 @@
+package com.github.davidcarboni.thetrain.destination.json;%0A%0A/**%0A * Created by david on 31/07/2015.%0A */%0Apublic class Result %7B%0A    public String message;%0A    public boolean error;%0A    public Transaction transaction;%0A%0A    /**%0A     * The response message returned from the endpoints in this class.%0A     * @param message An informational message.%0A     * @param error If%0A     * @param transaction%0A     */%0A    public Result(String message, boolean error, Transaction transaction) %7B%0A        this.message = message;%0A        this.error = error;%0A        this.transaction = transaction;%0A    %7D%0A%7D%0A

Return type for APIs.