public class MatchedBetStruct extends java.lang.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(java.lang.Object o) |
java.lang.Long |
getAccount1()
The account id of the first consumer
|
java.lang.Long |
getAccount2()
The account id of the second consumer
|
java.lang.Long |
getAmount()
The value of this bet in pennies
|
Parameter[] |
getParameters() |
java.lang.Double |
getPrice()
The price of this bet
|
ServiceVersion |
getServiceVersion() |
int |
hashCode() |
void |
setAccount1(java.lang.Long account1)
The account id of the first consumer
|
void |
setAccount2(java.lang.Long account2)
The account id of the second consumer
|
void |
setAmount(java.lang.Long amount)
The value of this bet in pennies
|
void |
setPrice(java.lang.Double price)
The price of this bet
|
java.lang.String |
toString() |
void |
transcribe(TranscriptionInput in,
java.util.Set<TranscribableParams> params,
boolean client) |
void |
transcribe(TranscriptionOutput out,
java.util.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 final java.lang.Long getAccount1()
public final void setAccount1(java.lang.Long account1)
public final java.lang.Long getAccount2()
public final void setAccount2(java.lang.Long account2)
public final java.lang.Double getPrice()
public final void setPrice(java.lang.Double price)
public final java.lang.Long getAmount()
public final void setAmount(java.lang.Long amount)
public void validateMandatory()
validateMandatory in interface Validatablepublic java.lang.String toString()
toString in class java.lang.Objectpublic Parameter[] getParameters()
getParameters in interface Transcribablepublic void transcribe(TranscriptionOutput out, java.util.Set<TranscribableParams> params, boolean client) throws java.lang.Exception
transcribe in interface Transcribablejava.lang.Exceptionpublic void transcribe(TranscriptionInput in, java.util.Set<TranscribableParams> params, boolean client) throws java.lang.Exception
transcribe in interface Transcribablejava.lang.Exceptionpublic ServiceVersion getServiceVersion()
getServiceVersion in interface Transcribablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2009-2014 Betfair. All Rights Reserved.