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

com.sportradar.unifiedodds.sdk.entities.Draw Maven / Gradle / Ivy

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

package com.sportradar.unifiedodds.sdk.entities;

import java.util.List;

/**
 * Defines methods used to access draw information
 */
public interface Draw extends SportEvent {
    /**
     * Returns the status of the draw
     *
     * @return the status of the draw
     */
    DrawStatus getStatus();

    /**
     * Returns a list of draw results
     *
     * @return a list of draw results
     */
    List getResults();

    /**
     * Returns the associated lottery
     *
     * @return the associated lottery
     */
    Lottery getLottery();

    /**
     * Returns the display id
     * @return the display id
     */
    default Integer getDisplayId(){ throw new UnsupportedOperationException("Method not implemented. Use derived type."); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy