Package net.osslabz.lnd.dto
Class LnrpcMPPRecord
java.lang.Object
net.osslabz.lnd.dto.LnrpcMPPRecord
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcMPPRecord
extends Object
LnrpcMPPRecord
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]A unique, random identifier used to authenticate the sender as the intended payer of a multi-path payment.The total amount in milli-satoshis being sent as part of a larger multi-path payment.inthashCode()paymentAddr(byte[] paymentAddr) voidsetPaymentAddr(byte[] paymentAddr) voidsetTotalAmtMsat(String totalAmtMsat) toString()totalAmtMsat(String totalAmtMsat)
-
Field Details
-
SERIALIZED_NAME_PAYMENT_ADDR
- See Also:
-
SERIALIZED_NAME_TOTAL_AMT_MSAT
- See Also:
-
-
Constructor Details
-
LnrpcMPPRecord
public LnrpcMPPRecord()
-
-
Method Details
-
paymentAddr
-
getPaymentAddr
@Nullable public byte[] getPaymentAddr()A unique, random identifier used to authenticate the sender as the intended payer of a multi-path payment. The payment_addr must be the same for all subpayments, and match the payment_addr provided in the receiver's invoice. The same payment_addr must be used on all subpayments.- Returns:
- paymentAddr
-
setPaymentAddr
public void setPaymentAddr(byte[] paymentAddr) -
totalAmtMsat
-
getTotalAmtMsat
The total amount in milli-satoshis being sent as part of a larger multi-path payment. The caller is responsible for ensuring subpayments to the same node and payment_hash sum exactly to total_amt_msat. The same total_amt_msat must be used on all subpayments.- Returns:
- totalAmtMsat
-
setTotalAmtMsat
-
equals
-
hashCode
public int hashCode() -
toString
-