public class WatchOnlyAccount extends Message<Walletunlocker.WatchOnlyAccount>
Message
,
Walletunlocker.WatchOnlyAccount
builder, wrapperFactory
Constructor and Description |
---|
WatchOnlyAccount()
Empty Constructor
|
WatchOnlyAccount(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
WatchOnlyAccount(Walletunlocker.WatchOnlyAccount apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
int |
getAccount()
Getter for account.
|
int |
getCoinType()
Getter for coinType.
|
int |
getPurpose()
Getter for purpose.
|
java.lang.String |
getXpub()
Getter for xpub.
|
void |
setAccount(int value)
Setter for account.
|
void |
setCoinType(int value)
Setter for coinType.
|
void |
setPurpose(int value)
Setter for purpose.
|
void |
setXpub(java.lang.String value)
Setter for xpub.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public WatchOnlyAccount()
public WatchOnlyAccount(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public WatchOnlyAccount(Walletunlocker.WatchOnlyAccount apiObject)
public int getPurpose()
public void setPurpose(int value)
public int getCoinType()
public void setCoinType(int value)
public int getAccount()
public void setAccount(int value)
public java.lang.String getXpub()
public void setXpub(java.lang.String value)