Package net.osslabz.lnd.dto
Class LnrpcAddInvoiceResponse
java.lang.Object
net.osslabz.lnd.dto.LnrpcAddInvoiceResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcAddInvoiceResponse
extends Object
LnrpcAddInvoiceResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe \"add\" index of this invoice.byte[]The payment address of the generated invoice.A bare-bones invoice for a payment within the Lightning Network.byte[]getrHash()Get rHashinthashCode()paymentAddr(byte[] paymentAddr) paymentRequest(String paymentRequest) rHash(byte[] rHash) voidsetAddIndex(String addIndex) voidsetPaymentAddr(byte[] paymentAddr) voidsetPaymentRequest(String paymentRequest) voidsetrHash(byte[] rHash) toString()
-
Field Details
-
SERIALIZED_NAME_R_HASH
- See Also:
-
SERIALIZED_NAME_PAYMENT_REQUEST
- See Also:
-
SERIALIZED_NAME_ADD_INDEX
- See Also:
-
SERIALIZED_NAME_PAYMENT_ADDR
- See Also:
-
-
Constructor Details
-
LnrpcAddInvoiceResponse
public LnrpcAddInvoiceResponse()
-
-
Method Details
-
rHash
-
getrHash
@Nullable public byte[] getrHash()Get rHash- Returns:
- rHash
-
setrHash
public void setrHash(byte[] rHash) -
paymentRequest
-
getPaymentRequest
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.- Returns:
- paymentRequest
-
setPaymentRequest
-
addIndex
-
getAddIndex
The \"add\" index of this invoice. Each newly created invoice will increment this index making it monotonically increasing. Callers to the SubscribeInvoices call can use this to instantly get notified of all added invoices with an add_index greater than this one.- Returns:
- addIndex
-
setAddIndex
-
paymentAddr
-
getPaymentAddr
@Nullable public byte[] getPaymentAddr()The payment address of the generated invoice. This value should be used in all payments for this invoice as we require it for end to end security.- Returns:
- paymentAddr
-
setPaymentAddr
public void setPaymentAddr(byte[] paymentAddr) -
equals
-
hashCode
public int hashCode() -
toString
-