public class SendOptions
extends java.lang.Object
Constructor and Description |
---|
SendOptions()
Creates a SendOption instance.
|
SendOptions(java.lang.String from)
Creates a SendOption instance.
|
SendOptions(java.lang.String from,
java.math.BigInteger gas)
Creates a SendOption instance.
|
SendOptions(java.lang.String from,
java.math.BigInteger gas,
java.math.BigInteger value)
Creates a SendOption instance.
|
SendOptions(java.lang.String from,
java.lang.String gas)
Creates a SendOption instance.
|
SendOptions(java.lang.String from,
java.lang.String gas,
java.lang.String value)
Creates a SendOption instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFrom()
Getter function for from.
|
java.lang.String |
getGas()
Getter function for gas.
|
java.lang.String |
getValue()
Getter function for value.
|
void |
setFrom(java.lang.String from)
Setter function for from.
|
void |
setGas(java.math.BigInteger gas)
Setter function for gas
|
void |
setGas(java.lang.String gas)
Setter function for gas
|
void |
setValue(java.math.BigInteger value)
Setter function for value
|
void |
setValue(java.lang.String value)
Setter function for value.
|
public SendOptions()
public SendOptions(java.lang.String from)
from
- The address of the senderpublic SendOptions(java.lang.String from, java.lang.String gas)
from
- The address of the sendergas
- The maximum amount of gas the transaction is allowed to use.public SendOptions(java.lang.String from, java.math.BigInteger gas)
from
- The address of the sendergas
- The maximum amount of gas the transaction is allowed to use.public SendOptions(java.lang.String from, java.lang.String gas, java.lang.String value)
from
- The address of the sendergas
- The maximum amount of gas the transaction is allowed to use.value
- The amount of KLAY in peb to be transferred.public SendOptions(java.lang.String from, java.math.BigInteger gas, java.math.BigInteger value)
from
- The address of the sendergas
- The maximum amount of gas the transaction is allowed to use.value
- The amount of KLAY in peb to be transferred.public java.lang.String getFrom()
public java.lang.String getGas()
public java.lang.String getValue()
public void setFrom(java.lang.String from)
from
- The address of the senderpublic void setGas(java.lang.String gas)
gas
- The maximum amount of gas the transaction is allowed to use.public void setGas(java.math.BigInteger gas)
gas
- The maximum amount of gas the transaction is allowed to use.public void setValue(java.lang.String value)
value
- The amount of KLAY in peb to be transferred.public void setValue(java.math.BigInteger value)
value
- The amount of KLAY in peb to be transferred.