|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transfer
Method Summary | |
---|---|
int |
getAccountIdBuy()
Returns the account Id of the buy account. |
int |
getAccountIdSell()
Returns the account Id of the sell account. |
double |
getAmountBuy()
Returns the amount to buy. |
double |
getAmountSell()
Returns the amount to sell. |
FXPair |
getPair()
Returns the currency pair (FXPair) for this transfer. |
double |
getPrice()
Returns the price of this transfer. |
long |
getTimestamp()
Returns the timestamp for this transfer. |
long |
getTransactionNumber()
Returns the OANDA transaction number |
java.lang.String |
getType()
Returns the transfer type (either BuyMarket or SellMarket) |
void |
setAccountIdBuy(int accountId)
Sets the account Id for the buy account. |
void |
setAccountIdSell(int accountId)
Sets the account Id for the sell account. |
void |
setAmountBuy(double amountBuy)
Sets the amount to buy. |
void |
setAmountSell(double amountSell)
Sets the amount to sell. |
void |
setPair(FXPair pair)
Sets the currency pair for this transfer |
void |
setType(java.lang.String type)
Sets the type for this transfer. |
Method Detail |
---|
FXPair getPair()
long getTransactionNumber()
long getTimestamp()
double getPrice()
double getAmountBuy()
double getAmountSell()
int getAccountIdSell()
int getAccountIdBuy()
java.lang.String getType()
void setPair(FXPair pair)
pair
- the FXPair for this transfervoid setAmountBuy(double amountBuy)
amountBuy
- the amount to buyvoid setAmountSell(double amountSell)
amountSell
- the amount to sellvoid setType(java.lang.String type)
type
- the type for this transfervoid setAccountIdSell(int accountId)
accountId
- the account Id of the sell accountvoid setAccountIdBuy(int accountId)
accountId
- the account Id of the buy account
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |