public class ChannelAcceptRequest extends Message<LightningApi.ChannelAcceptRequest>
Message
,
LightningApi.ChannelAcceptRequest
builder, wrapperFactory
Constructor and Description |
---|
ChannelAcceptRequest()
Empty Constructor
|
ChannelAcceptRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
ChannelAcceptRequest(LightningApi.ChannelAcceptRequest apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getChainHash()
Getter for chainHash.
|
int |
getChannelFlags()
Getter for channelFlags.
|
long |
getChannelReserve()
Getter for channelReserve.
|
CommitmentType |
getCommitmentType()
Getter for commitmentType.
|
int |
getCsvDelay()
Getter for csvDelay.
|
long |
getDustLimit()
Getter for dustLimit.
|
long |
getFeePerKw()
Getter for feePerKw.
|
long |
getFundingAmt()
Getter for fundingAmt.
|
int |
getMaxAcceptedHtlcs()
Getter for maxAcceptedHtlcs.
|
long |
getMaxValueInFlight()
Getter for maxValueInFlight.
|
long |
getMinHtlc()
Getter for minHtlc.
|
byte[] |
getNodePubkey()
Getter for nodePubkey.
|
byte[] |
getPendingChanId()
Getter for pendingChanId.
|
long |
getPushAmt()
Getter for pushAmt.
|
boolean |
getWantsScidAlias()
Getter for wantsScidAlias.
|
boolean |
getWantsZeroConf()
Getter for wantsZeroConf.
|
void |
setChainHash(byte[] value)
Setter for chainHash.
|
void |
setChannelFlags(int value)
Setter for channelFlags.
|
void |
setChannelReserve(long value)
Setter for channelReserve.
|
void |
setCommitmentType(CommitmentType value)
Setter for commitmentType.
|
void |
setCsvDelay(int value)
Setter for csvDelay.
|
void |
setDustLimit(long value)
Setter for dustLimit.
|
void |
setFeePerKw(long value)
Setter for feePerKw.
|
void |
setFundingAmt(long value)
Setter for fundingAmt.
|
void |
setMaxAcceptedHtlcs(int value)
Setter for maxAcceptedHtlcs.
|
void |
setMaxValueInFlight(long value)
Setter for maxValueInFlight.
|
void |
setMinHtlc(long value)
Setter for minHtlc.
|
void |
setNodePubkey(byte[] value)
Setter for nodePubkey.
|
void |
setPendingChanId(byte[] value)
Setter for pendingChanId.
|
void |
setPushAmt(long value)
Setter for pushAmt.
|
void |
setWantsScidAlias(boolean value)
Setter for wantsScidAlias.
|
void |
setWantsZeroConf(boolean value)
Setter for wantsZeroConf.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public ChannelAcceptRequest()
public ChannelAcceptRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public ChannelAcceptRequest(LightningApi.ChannelAcceptRequest apiObject)
public byte[] getNodePubkey()
public void setNodePubkey(byte[] value)
public byte[] getChainHash()
public void setChainHash(byte[] value)
public byte[] getPendingChanId()
public void setPendingChanId(byte[] value)
public long getFundingAmt()
public void setFundingAmt(long value)
public long getPushAmt()
public void setPushAmt(long value)
public long getDustLimit()
public void setDustLimit(long value)
public long getMaxValueInFlight()
public void setMaxValueInFlight(long value)
public long getChannelReserve()
public void setChannelReserve(long value)
public long getMinHtlc()
public void setMinHtlc(long value)
public long getFeePerKw()
public void setFeePerKw(long value)
public int getCsvDelay()
public void setCsvDelay(int value)
public int getMaxAcceptedHtlcs()
public void setMaxAcceptedHtlcs(int value)
public int getChannelFlags()
public void setChannelFlags(int value)
public CommitmentType getCommitmentType()
public void setCommitmentType(CommitmentType value)
public boolean getWantsZeroConf()
public void setWantsZeroConf(boolean value)
public boolean getWantsScidAlias()
public void setWantsScidAlias(boolean value)