public class MatchedBetStruct extends Object implements Result, Validatable, Transcribable
| Modifier and Type | Field and Description |
|---|---|
static Parameter[] |
PARAMETERS |
static ServiceVersion |
SERVICE_VERSION |
| Constructor and Description |
|---|
MatchedBetStruct() |
MatchedBetStruct(MatchedBetStructDelegate delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getAccount1()
The account id of the first consumer
|
Long |
getAccount2()
The account id of the second consumer
|
Long |
getAmount()
The value of this bet in pennies
|
Parameter[] |
getParameters() |
Double |
getPrice()
The price of this bet
|
ServiceVersion |
getServiceVersion() |
int |
hashCode() |
void |
seal() |
void |
setAccount1(Long account1)
The account id of the first consumer
|
void |
setAccount2(Long account2)
The account id of the second consumer
|
void |
setAmount(Long amount)
The value of this bet in pennies
|
void |
setPrice(Double price)
The price of this bet
|
String |
toString() |
void |
transcribe(TranscriptionInput in,
Set<TranscribableParams> params,
boolean client) |
void |
transcribe(TranscriptionOutput out,
Set<TranscribableParams> params,
boolean client) |
void |
validateMandatory() |
public static final Parameter[] PARAMETERS
public static final ServiceVersion SERVICE_VERSION
public MatchedBetStruct(MatchedBetStructDelegate delegate)
public MatchedBetStruct()
public void seal()
public final Long getAccount1()
public final void setAccount1(Long account1)
public final Long getAccount2()
public final void setAccount2(Long account2)
public final Double getPrice()
public final void setPrice(Double price)
public final Long getAmount()
public final void setAmount(Long amount)
public void validateMandatory()
validateMandatory in interface Validatablepublic Parameter[] getParameters()
getParameters in interface Transcribablepublic void transcribe(TranscriptionOutput out, Set<TranscribableParams> params, boolean client) throws Exception
transcribe in interface TranscribableExceptionpublic void transcribe(TranscriptionInput in, Set<TranscribableParams> params, boolean client) throws Exception
transcribe in interface TranscribableExceptionpublic ServiceVersion getServiceVersion()
getServiceVersion in interface TranscribableCopyright © 2009-2015 Betfair. All Rights Reserved.