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

com.sportradar.mts.sdk.api.TicketCashoutResponse Maven / Gradle / Ivy

/*
 * Copyright (C) Sportradar AG. See LICENSE for full license governing this code
 */

package com.sportradar.mts.sdk.api;

import com.sportradar.mts.sdk.api.enums.TicketAcceptance;

import java.util.Map;

/**
 * A representation of the TicketCashoutResponse message
 */
public interface TicketCashoutResponse extends SdkTicket {
    /**
     * Returns the reason of the cancellation
     *
     * @return - the reason of the cancellation if available; otherwise null
     */
    ResponseReason getReason();

    /**
     * Returns the status of ticket assigned to the current instance
     *
     * @return - the status of ticket assigned to the current instance
     */
    TicketAcceptance getStatus();

    /**
     * Returns the signature of the response message
     *
     * @return - the signature of the response message
     */
    String getSignature();

    /**
     * Returns additional ticket response info
     * Contains timestamps describing mts processing (receivedUtcTimestamp, validatedUtcTimestamp, respondedUtcTimestamp)
     * @return additional ticket response info
     */
    Map getAdditionalInfo();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy