Skip Navigation

Trip Summary Refresh

Sabre Red 360 Software Development Kit provides a capability for refreshing content of Trip Summary. Whenever developer decides that after some application operations it is necessary to reload Trip Summary content, then it can be done by using this service.

Dependencies and classes

Below you can find a list of required dependencies.

Minimal Required Dependency

  • com.sabre.edge.dynamo.cf

Usage

To be able to use Trip Summary Service you have to add the authorization entry to your redapp.xml file in <RedApp></RedApp> section:

<Authorization name="com.sabre.edge.dynamo.cf.service.TripSummary" threshold="[threshold]" metric="[metric]" />

The following code snippet demonstrates refreshing content of TripSummary.

ClientResponse <TripSummaryResponse> rsp =
            new TripSummaryServiceClient(COM).send(new TripSummaryRequest());

if (rsp.isSuccess())
{
    //success
}
else
{
    //failure
    Collection <IError> errors = rsp.getErrors()
}

See com.sabre.redapp.example3.desktop.pnr sample for implementation.