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

com.sportradar.unifiedodds.sdk.oddsentities.RollbackBetCancel Maven / Gradle / Ivy

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

package com.sportradar.unifiedodds.sdk.oddsentities;

import com.sportradar.unifiedodds.sdk.entities.SportEvent;

import java.util.Date;

/**
 * This message is sent to rollback/undo a previously sent out BetCancel message if possible. This
 * could for example happen if our operator during a game by mistake cancels the wrong market
 * (resulting in a cancel bet getting sent). Then realizing the mistake.
 */
public interface RollbackBetCancel extends MarketMessage {
    /**
     * @return the timestamp from when bets placed should be rejected (if 0 this means all bets).
     *         This should correspond to a startime in a previous betcancel
     */
    Date getStartTime();

    /**
     * @return the end of the period for which bets placed should be rejected (if 0 this means all
     *         bets). This should correspond to the endtime in a previous betcancel
     */
    Date getEndTime();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy