SnapOddsOffer

public final class SnapOddsOffer

Represents an odds offer

Constructors

Link copied to clipboard
SnapOddsOffer SnapOddsOffer(@Json(name = "type") String rawType, @Json(name = "label") String label, @Json(name = "outcomes") List<SnapOddsOutcome> outcomes)

Functions

Link copied to clipboard
final String getLabel()

The label for this offer

Link copied to clipboard
final List<SnapOddsOutcome> getOutcomes()

The list of outcomes

Link copied to clipboard
final String getRawType()

The raw type of this offer

Link copied to clipboard
final SnapOddsOfferType getType()

The parsed type of this offer

Properties

Link copied to clipboard
private final String label

The label for this offer

Link copied to clipboard
private final List<SnapOddsOutcome> outcomes

The list of outcomes

Link copied to clipboard
private final String rawType

The raw type of this offer

Link copied to clipboard
private final transient SnapOddsOfferType type

The parsed type of this offer