All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cybersource.flex.sdk.FlexApiCorrelationInfo Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package com.cybersource.flex.sdk;

/**
 * Debug interface, provides troubleshooting methods. For example method to retrieve correlation id or method to provide
 * measurement of operation duration.
 */
public interface FlexApiCorrelationInfo {

    /**
     * Returns remote correlation id, that can be used to troubleshooting and tracing requests against CyberSource platform.
     *
     * @return CyberSource API gateway correlation id
     */
    String getCorrelationId();

    /**
     * This method provides time taken to produce this result. It spans from preparing the data through making remote call,
     * fetching response, parsing and evaluating it.
     *
     * @return how long it tool to produce this result.
     */
    long getOperationTime();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy