|
rippled
|
#include <LoanSet.h>


Public Member Functions | |
| LoanSet (std::shared_ptr< STTx const > tx) | |
| Construct a LoanSet transaction wrapper from an existing STTx object. | |
| SF_UINT256::type::value_type | getLoanBrokerID () const |
| Get sfLoanBrokerID (soeREQUIRED) | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getData () const |
| Get sfData (soeOPTIONAL) | |
| bool | hasData () const |
| Check if sfData is present. | |
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > | getCounterparty () const |
| Get sfCounterparty (soeOPTIONAL) | |
| bool | hasCounterparty () const |
| Check if sfCounterparty is present. | |
| std::optional< STObject > | getCounterpartySignature () const |
| Get sfCounterpartySignature (soeOPTIONAL) | |
| bool | hasCounterpartySignature () const |
| Check if sfCounterpartySignature is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getLoanOriginationFee () const |
| Get sfLoanOriginationFee (soeOPTIONAL) | |
| bool | hasLoanOriginationFee () const |
| Check if sfLoanOriginationFee is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getLoanServiceFee () const |
| Get sfLoanServiceFee (soeOPTIONAL) | |
| bool | hasLoanServiceFee () const |
| Check if sfLoanServiceFee is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getLatePaymentFee () const |
| Get sfLatePaymentFee (soeOPTIONAL) | |
| bool | hasLatePaymentFee () const |
| Check if sfLatePaymentFee is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getClosePaymentFee () const |
| Get sfClosePaymentFee (soeOPTIONAL) | |
| bool | hasClosePaymentFee () const |
| Check if sfClosePaymentFee is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getOverpaymentFee () const |
| Get sfOverpaymentFee (soeOPTIONAL) | |
| bool | hasOverpaymentFee () const |
| Check if sfOverpaymentFee is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getInterestRate () const |
| Get sfInterestRate (soeOPTIONAL) | |
| bool | hasInterestRate () const |
| Check if sfInterestRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getLateInterestRate () const |
| Get sfLateInterestRate (soeOPTIONAL) | |
| bool | hasLateInterestRate () const |
| Check if sfLateInterestRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getCloseInterestRate () const |
| Get sfCloseInterestRate (soeOPTIONAL) | |
| bool | hasCloseInterestRate () const |
| Check if sfCloseInterestRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getOverpaymentInterestRate () const |
| Get sfOverpaymentInterestRate (soeOPTIONAL) | |
| bool | hasOverpaymentInterestRate () const |
| Check if sfOverpaymentInterestRate is present. | |
| SF_NUMBER::type::value_type | getPrincipalRequested () const |
| Get sfPrincipalRequested (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getPaymentTotal () const |
| Get sfPaymentTotal (soeOPTIONAL) | |
| bool | hasPaymentTotal () const |
| Check if sfPaymentTotal is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getPaymentInterval () const |
| Get sfPaymentInterval (soeOPTIONAL) | |
| bool | hasPaymentInterval () const |
| Check if sfPaymentInterval is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getGracePeriod () const |
| Get sfGracePeriod (soeOPTIONAL) | |
| bool | hasGracePeriod () const |
| Check if sfGracePeriod is present. | |
| bool | validate (std::string &reason) const |
| Validate the transaction. | |
| xrpl::TxType | getTransactionType () const |
| Get the transaction type. | |
| AccountID | getAccount () const |
| Get the account initiating the transaction (sfAccount). | |
| std::uint32_t | getSequence () const |
| Get the sequence number of the transaction (sfSequence). | |
| STAmount | getFee () const |
| Get the transaction fee (sfFee). | |
| Blob | getSigningPubKey () const |
| Get the signing public key (sfSigningPubKey). | |
| std::optional< uint32_t > | getFlags () const |
| Get the transaction flags (sfFlags). | |
| bool | hasFlags () const |
| Check if the transaction has flags set. | |
| std::optional< uint32_t > | getSourceTag () const |
| Get the source tag (sfSourceTag). | |
| bool | hasSourceTag () const |
| Check if the transaction has a source tag. | |
| std::optional< uint256 > | getPreviousTxnID () const |
| Get the previous transaction ID (sfPreviousTxnID). | |
| bool | hasPreviousTxnID () const |
| Check if the transaction has a previous transaction ID. | |
| std::optional< uint32_t > | getLastLedgerSequence () const |
| Get the last ledger sequence (sfLastLedgerSequence). | |
| bool | hasLastLedgerSequence () const |
| Check if the transaction has a last ledger sequence. | |
| std::optional< uint256 > | getAccountTxnID () const |
| Get the account transaction ID (sfAccountTxnID). | |
| bool | hasAccountTxnID () const |
| Check if the transaction has an account transaction ID. | |
| std::optional< uint32_t > | getOperationLimit () const |
| Get the operation limit (sfOperationLimit). | |
| bool | hasOperationLimit () const |
| Check if the transaction has an operation limit. | |
| std::optional< std::reference_wrapper< STArray const > > | getMemos () const |
| Get the memos array (sfMemos). | |
| bool | hasMemos () const |
| Check if the transaction has memos. | |
| std::optional< uint32_t > | getTicketSequence () const |
| Get the ticket sequence (sfTicketSequence). | |
| bool | hasTicketSequence () const |
| Check if the transaction has a ticket sequence. | |
| std::optional< Blob > | getTxnSignature () const |
| Get the transaction signature (sfTxnSignature). | |
| bool | hasTxnSignature () const |
| Check if the transaction has a transaction signature. | |
| std::optional< std::reference_wrapper< STArray const > > | getSigners () const |
| Get the signers array (sfSigners). | |
| bool | hasSigners () const |
| Check if the transaction has signers. | |
| std::optional< uint32_t > | getNetworkID () const |
| Get the network ID (sfNetworkID). | |
| bool | hasNetworkID () const |
| Check if the transaction has a network ID. | |
| std::optional< AccountID > | getDelegate () const |
| Get the delegate account (sfDelegate). | |
| bool | hasDelegate () const |
| Check if the transaction has a delegate account. | |
| std::shared_ptr< STTx const > | getSTTx () const |
| Get the underlying STTx object. | |
Static Public Attributes | |
| static constexpr xrpl::TxType | txType = ttLOAN_SET |
Protected Attributes | |
| std::shared_ptr< STTx const > | tx_ |
| The underlying transaction object being wrapped. | |
Type: ttLOAN_SET (80) Delegable: Delegation::notDelegable Amendment: featureLendingProtocol Privileges: mayAuthorizeMPT | mustModifyVault
Immutable wrapper around STTx providing type-safe field access. Use LoanSetBuilder to construct new transactions.
Definition at line 29 of file protocol_autogen/transactions/LoanSet.h.
|
explicit |
Construct a LoanSet transaction wrapper from an existing STTx object.
| std::runtime_error | if the transaction type doesn't match. |
Definition at line 38 of file protocol_autogen/transactions/LoanSet.h.
| SF_UINT256::type::value_type xrpl::transactions::LoanSet::getLoanBrokerID | ( | ) | const |
Get sfLoanBrokerID (soeREQUIRED)
Definition at line 56 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::transactions::LoanSet::getData | ( | ) | const |
Get sfData (soeOPTIONAL)
Definition at line 67 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasData | ( | ) | const |
Check if sfData is present.
Definition at line 82 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > xrpl::transactions::LoanSet::getCounterparty | ( | ) | const |
Get sfCounterparty (soeOPTIONAL)
Definition at line 93 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasCounterparty | ( | ) | const |
Check if sfCounterparty is present.
Definition at line 108 of file protocol_autogen/transactions/LoanSet.h.
| std::optional< STObject > xrpl::transactions::LoanSet::getCounterpartySignature | ( | ) | const |
Get sfCounterpartySignature (soeOPTIONAL)
Definition at line 119 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasCounterpartySignature | ( | ) | const |
Check if sfCounterpartySignature is present.
Definition at line 132 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::transactions::LoanSet::getLoanOriginationFee | ( | ) | const |
Get sfLoanOriginationFee (soeOPTIONAL)
Definition at line 143 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasLoanOriginationFee | ( | ) | const |
Check if sfLoanOriginationFee is present.
Definition at line 158 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::transactions::LoanSet::getLoanServiceFee | ( | ) | const |
Get sfLoanServiceFee (soeOPTIONAL)
Definition at line 169 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasLoanServiceFee | ( | ) | const |
Check if sfLoanServiceFee is present.
Definition at line 184 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::transactions::LoanSet::getLatePaymentFee | ( | ) | const |
Get sfLatePaymentFee (soeOPTIONAL)
Definition at line 195 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasLatePaymentFee | ( | ) | const |
Check if sfLatePaymentFee is present.
Definition at line 210 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::transactions::LoanSet::getClosePaymentFee | ( | ) | const |
Get sfClosePaymentFee (soeOPTIONAL)
Definition at line 221 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasClosePaymentFee | ( | ) | const |
Check if sfClosePaymentFee is present.
Definition at line 236 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getOverpaymentFee | ( | ) | const |
Get sfOverpaymentFee (soeOPTIONAL)
Definition at line 247 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasOverpaymentFee | ( | ) | const |
Check if sfOverpaymentFee is present.
Definition at line 262 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getInterestRate | ( | ) | const |
Get sfInterestRate (soeOPTIONAL)
Definition at line 273 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasInterestRate | ( | ) | const |
Check if sfInterestRate is present.
Definition at line 288 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getLateInterestRate | ( | ) | const |
Get sfLateInterestRate (soeOPTIONAL)
Definition at line 299 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasLateInterestRate | ( | ) | const |
Check if sfLateInterestRate is present.
Definition at line 314 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getCloseInterestRate | ( | ) | const |
Get sfCloseInterestRate (soeOPTIONAL)
Definition at line 325 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasCloseInterestRate | ( | ) | const |
Check if sfCloseInterestRate is present.
Definition at line 340 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getOverpaymentInterestRate | ( | ) | const |
Get sfOverpaymentInterestRate (soeOPTIONAL)
Definition at line 351 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasOverpaymentInterestRate | ( | ) | const |
Check if sfOverpaymentInterestRate is present.
Definition at line 366 of file protocol_autogen/transactions/LoanSet.h.
| SF_NUMBER::type::value_type xrpl::transactions::LoanSet::getPrincipalRequested | ( | ) | const |
Get sfPrincipalRequested (soeREQUIRED)
Definition at line 377 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getPaymentTotal | ( | ) | const |
Get sfPaymentTotal (soeOPTIONAL)
Definition at line 388 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasPaymentTotal | ( | ) | const |
Check if sfPaymentTotal is present.
Definition at line 403 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getPaymentInterval | ( | ) | const |
Get sfPaymentInterval (soeOPTIONAL)
Definition at line 414 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasPaymentInterval | ( | ) | const |
Check if sfPaymentInterval is present.
Definition at line 429 of file protocol_autogen/transactions/LoanSet.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::transactions::LoanSet::getGracePeriod | ( | ) | const |
Get sfGracePeriod (soeOPTIONAL)
Definition at line 440 of file protocol_autogen/transactions/LoanSet.h.
| bool xrpl::transactions::LoanSet::hasGracePeriod | ( | ) | const |
Check if sfGracePeriod is present.
Definition at line 455 of file protocol_autogen/transactions/LoanSet.h.
|
inherited |
Validate the transaction.
Definition at line 41 of file TransactionBase.h.
|
inherited |
Get the transaction type.
Definition at line 66 of file TransactionBase.h.
|
inherited |
Get the account initiating the transaction (sfAccount).
This field is REQUIRED for all transactions.
Definition at line 79 of file TransactionBase.h.
|
inherited |
Get the sequence number of the transaction (sfSequence).
This field is REQUIRED for all transactions.
Definition at line 92 of file TransactionBase.h.
|
inherited |
Get the transaction fee (sfFee).
This field is REQUIRED for all transactions.
Definition at line 105 of file TransactionBase.h.
|
inherited |
Get the signing public key (sfSigningPubKey).
This field is REQUIRED for all transactions.
Definition at line 118 of file TransactionBase.h.
|
inherited |
Get the transaction flags (sfFlags).
This field is OPTIONAL.
Definition at line 131 of file TransactionBase.h.
|
inherited |
Check if the transaction has flags set.
Definition at line 144 of file TransactionBase.h.
|
inherited |
Get the source tag (sfSourceTag).
This field is OPTIONAL and used to identify the source of a payment.
Definition at line 157 of file TransactionBase.h.
|
inherited |
Check if the transaction has a source tag.
Definition at line 170 of file TransactionBase.h.
|
inherited |
Get the previous transaction ID (sfPreviousTxnID).
This field is OPTIONAL and used for transaction chaining.
Definition at line 183 of file TransactionBase.h.
|
inherited |
Check if the transaction has a previous transaction ID.
Definition at line 196 of file TransactionBase.h.
|
inherited |
Get the last ledger sequence (sfLastLedgerSequence).
This field is OPTIONAL and specifies the latest ledger sequence in which this transaction can be included.
Definition at line 210 of file TransactionBase.h.
|
inherited |
Check if the transaction has a last ledger sequence.
Definition at line 223 of file TransactionBase.h.
|
inherited |
Get the account transaction ID (sfAccountTxnID).
This field is OPTIONAL and used to track transaction sequences.
Definition at line 236 of file TransactionBase.h.
|
inherited |
Check if the transaction has an account transaction ID.
Definition at line 249 of file TransactionBase.h.
|
inherited |
Get the operation limit (sfOperationLimit).
This field is OPTIONAL and limits the number of operations in a transaction.
Definition at line 262 of file TransactionBase.h.
|
inherited |
Check if the transaction has an operation limit.
Definition at line 275 of file TransactionBase.h.
|
inherited |
Get the memos array (sfMemos).
This field is OPTIONAL and contains arbitrary data attached to the transaction.
Definition at line 289 of file TransactionBase.h.
|
inherited |
Check if the transaction has memos.
Definition at line 302 of file TransactionBase.h.
|
inherited |
Get the ticket sequence (sfTicketSequence).
This field is OPTIONAL and used when consuming a ticket instead of a sequence number.
Definition at line 315 of file TransactionBase.h.
|
inherited |
Check if the transaction has a ticket sequence.
Definition at line 328 of file TransactionBase.h.
|
inherited |
Get the transaction signature (sfTxnSignature).
This field is OPTIONAL and contains the signature for single-signed transactions.
Definition at line 341 of file TransactionBase.h.
|
inherited |
Check if the transaction has a transaction signature.
Definition at line 354 of file TransactionBase.h.
|
inherited |
Get the signers array (sfSigners).
This field is OPTIONAL and contains the list of signers for multi-signed transactions.
Definition at line 368 of file TransactionBase.h.
|
inherited |
Check if the transaction has signers.
Definition at line 381 of file TransactionBase.h.
|
inherited |
Get the network ID (sfNetworkID).
This field is OPTIONAL and identifies the network this transaction is intended for.
Definition at line 394 of file TransactionBase.h.
|
inherited |
Check if the transaction has a network ID.
Definition at line 407 of file TransactionBase.h.
|
inherited |
Get the delegate account (sfDelegate).
This field is OPTIONAL and specifies a delegate account for the transaction.
Definition at line 420 of file TransactionBase.h.
|
inherited |
Check if the transaction has a delegate account.
Definition at line 433 of file TransactionBase.h.
|
inherited |
Get the underlying STTx object.
Provides direct access to the wrapped transaction object for cases where the type-safe accessors are insufficient.
Definition at line 447 of file TransactionBase.h.
|
staticconstexpr |
Definition at line 32 of file protocol_autogen/transactions/LoanSet.h.
|
protectedinherited |
The underlying transaction object being wrapped.
Definition at line 454 of file TransactionBase.h.