Package net.osslabz.lnd.dto
Class InvoicesrpcAddHoldInvoiceResp
java.lang.Object
net.osslabz.lnd.dto.InvoicesrpcAddHoldInvoiceResp
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:38.664532692Z[Etc/UTC]")
public class InvoicesrpcAddHoldInvoiceResp
extends Object
InvoicesrpcAddHoldInvoiceResp
-
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.inthashCode()paymentAddr(byte[] paymentAddr) paymentRequest(String paymentRequest) voidsetAddIndex(String addIndex) voidsetPaymentAddr(byte[] paymentAddr) voidsetPaymentRequest(String paymentRequest) toString()
-
Field Details
-
SERIALIZED_NAME_PAYMENT_REQUEST
- See Also:
-
SERIALIZED_NAME_ADD_INDEX
- See Also:
-
SERIALIZED_NAME_PAYMENT_ADDR
- See Also:
-
-
Constructor Details
-
InvoicesrpcAddHoldInvoiceResp
public InvoicesrpcAddHoldInvoiceResp()
-
-
Method Details
-
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
-