|
rippled
|
#include <Loan.h>


Public Member Functions | |
| Loan (std::shared_ptr< SLE const > sle) | |
| Construct a Loan ledger entry wrapper from an existing SLE object. | |
| SF_UINT256::type::value_type | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeREQUIRED) | |
| SF_UINT32::type::value_type | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeREQUIRED) | |
| SF_UINT64::type::value_type | getOwnerNode () const |
| Get sfOwnerNode (soeREQUIRED) | |
| SF_UINT64::type::value_type | getLoanBrokerNode () const |
| Get sfLoanBrokerNode (soeREQUIRED) | |
| SF_UINT256::type::value_type | getLoanBrokerID () const |
| Get sfLoanBrokerID (soeREQUIRED) | |
| SF_UINT32::type::value_type | getLoanSequence () const |
| Get sfLoanSequence (soeREQUIRED) | |
| SF_ACCOUNT::type::value_type | getBorrower () const |
| Get sfBorrower (soeREQUIRED) | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getLoanOriginationFee () const |
| Get sfLoanOriginationFee (soeDEFAULT) | |
| bool | hasLoanOriginationFee () const |
| Check if sfLoanOriginationFee is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getLoanServiceFee () const |
| Get sfLoanServiceFee (soeDEFAULT) | |
| bool | hasLoanServiceFee () const |
| Check if sfLoanServiceFee is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getLatePaymentFee () const |
| Get sfLatePaymentFee (soeDEFAULT) | |
| bool | hasLatePaymentFee () const |
| Check if sfLatePaymentFee is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getClosePaymentFee () const |
| Get sfClosePaymentFee (soeDEFAULT) | |
| bool | hasClosePaymentFee () const |
| Check if sfClosePaymentFee is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getOverpaymentFee () const |
| Get sfOverpaymentFee (soeDEFAULT) | |
| bool | hasOverpaymentFee () const |
| Check if sfOverpaymentFee is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getInterestRate () const |
| Get sfInterestRate (soeDEFAULT) | |
| bool | hasInterestRate () const |
| Check if sfInterestRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getLateInterestRate () const |
| Get sfLateInterestRate (soeDEFAULT) | |
| bool | hasLateInterestRate () const |
| Check if sfLateInterestRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getCloseInterestRate () const |
| Get sfCloseInterestRate (soeDEFAULT) | |
| bool | hasCloseInterestRate () const |
| Check if sfCloseInterestRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getOverpaymentInterestRate () const |
| Get sfOverpaymentInterestRate (soeDEFAULT) | |
| bool | hasOverpaymentInterestRate () const |
| Check if sfOverpaymentInterestRate is present. | |
| SF_UINT32::type::value_type | getStartDate () const |
| Get sfStartDate (soeREQUIRED) | |
| SF_UINT32::type::value_type | getPaymentInterval () const |
| Get sfPaymentInterval (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getGracePeriod () const |
| Get sfGracePeriod (soeDEFAULT) | |
| bool | hasGracePeriod () const |
| Check if sfGracePeriod is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getPreviousPaymentDueDate () const |
| Get sfPreviousPaymentDueDate (soeDEFAULT) | |
| bool | hasPreviousPaymentDueDate () const |
| Check if sfPreviousPaymentDueDate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getNextPaymentDueDate () const |
| Get sfNextPaymentDueDate (soeDEFAULT) | |
| bool | hasNextPaymentDueDate () const |
| Check if sfNextPaymentDueDate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getPaymentRemaining () const |
| Get sfPaymentRemaining (soeDEFAULT) | |
| bool | hasPaymentRemaining () const |
| Check if sfPaymentRemaining is present. | |
| SF_NUMBER::type::value_type | getPeriodicPayment () const |
| Get sfPeriodicPayment (soeREQUIRED) | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getPrincipalOutstanding () const |
| Get sfPrincipalOutstanding (soeDEFAULT) | |
| bool | hasPrincipalOutstanding () const |
| Check if sfPrincipalOutstanding is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getTotalValueOutstanding () const |
| Get sfTotalValueOutstanding (soeDEFAULT) | |
| bool | hasTotalValueOutstanding () const |
| Check if sfTotalValueOutstanding is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getManagementFeeOutstanding () const |
| Get sfManagementFeeOutstanding (soeDEFAULT) | |
| bool | hasManagementFeeOutstanding () const |
| Check if sfManagementFeeOutstanding is present. | |
| protocol_autogen::Optional< SF_INT32::type::value_type > | getLoanScale () const |
| Get sfLoanScale (soeDEFAULT) | |
| bool | hasLoanScale () const |
| Check if sfLoanScale is present. | |
| bool | validate () const |
| Validate the ledger entry. | |
| LedgerEntryType | getType () const |
| Get the ledger entry type. | |
| uint256 const & | getKey () const |
| Get the key (index) of this ledger entry. | |
| std::optional< uint256 > | getLedgerIndex () const |
| Get the ledger index (sfLedgerIndex). | |
| bool | hasLedgerIndex () const |
| Check if the ledger entry has a ledger index. | |
| uint16_t | getLedgerEntryType () const |
| Get the ledger entry type field (sfLedgerEntryType). | |
| std::uint32_t | getFlags () const |
| Get the flags field (sfFlags). | |
| std::shared_ptr< SLE const > | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltLOAN |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Type: ltLOAN (0x0089) RPC Name: loan
Immutable wrapper around SLE providing type-safe field access. Use LoanBuilder to construct new ledger entries.
|
explicit |
Construct a Loan ledger entry wrapper from an existing SLE object.
| std::runtime_error | if the ledger entry type doesn't match. |
| SF_UINT256::type::value_type xrpl::ledger_entries::Loan::getPreviousTxnID | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::Loan::getPreviousTxnLgrSeq | ( | ) | const |
| SF_UINT64::type::value_type xrpl::ledger_entries::Loan::getOwnerNode | ( | ) | const |
| SF_UINT64::type::value_type xrpl::ledger_entries::Loan::getLoanBrokerNode | ( | ) | const |
| SF_UINT256::type::value_type xrpl::ledger_entries::Loan::getLoanBrokerID | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::Loan::getLoanSequence | ( | ) | const |
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::Loan::getBorrower | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getLoanOriginationFee | ( | ) | const |
Get sfLoanOriginationFee (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasLoanOriginationFee | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getLoanServiceFee | ( | ) | const |
Get sfLoanServiceFee (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasLoanServiceFee | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getLatePaymentFee | ( | ) | const |
Get sfLatePaymentFee (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasLatePaymentFee | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getClosePaymentFee | ( | ) | const |
Get sfClosePaymentFee (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasClosePaymentFee | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getOverpaymentFee | ( | ) | const |
Get sfOverpaymentFee (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasOverpaymentFee | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getInterestRate | ( | ) | const |
Get sfInterestRate (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasInterestRate | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getLateInterestRate | ( | ) | const |
Get sfLateInterestRate (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasLateInterestRate | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getCloseInterestRate | ( | ) | const |
Get sfCloseInterestRate (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasCloseInterestRate | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getOverpaymentInterestRate | ( | ) | const |
Get sfOverpaymentInterestRate (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasOverpaymentInterestRate | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::Loan::getStartDate | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::Loan::getPaymentInterval | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getGracePeriod | ( | ) | const |
Get sfGracePeriod (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasGracePeriod | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getPreviousPaymentDueDate | ( | ) | const |
Get sfPreviousPaymentDueDate (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasPreviousPaymentDueDate | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getNextPaymentDueDate | ( | ) | const |
Get sfNextPaymentDueDate (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasNextPaymentDueDate | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Loan::getPaymentRemaining | ( | ) | const |
Get sfPaymentRemaining (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasPaymentRemaining | ( | ) | const |
| SF_NUMBER::type::value_type xrpl::ledger_entries::Loan::getPeriodicPayment | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getPrincipalOutstanding | ( | ) | const |
Get sfPrincipalOutstanding (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasPrincipalOutstanding | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getTotalValueOutstanding | ( | ) | const |
Get sfTotalValueOutstanding (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasTotalValueOutstanding | ( | ) | const |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::Loan::getManagementFeeOutstanding | ( | ) | const |
Get sfManagementFeeOutstanding (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasManagementFeeOutstanding | ( | ) | const |
| protocol_autogen::Optional< SF_INT32::type::value_type > xrpl::ledger_entries::Loan::getLoanScale | ( | ) | const |
Get sfLoanScale (soeDEFAULT)
| bool xrpl::ledger_entries::Loan::hasLoanScale | ( | ) | const |
|
inherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
inherited |
Get the key (index) of this ledger entry.
The key uniquely identifies this ledger entry in the ledger state.
Definition at line 70 of file LedgerEntryBase.h.
|
inherited |
Get the ledger index (sfLedgerIndex).
This field is OPTIONAL and represents the index of the ledger entry.
Definition at line 85 of file LedgerEntryBase.h.
|
inherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type field (sfLedgerEntryType).
This field is REQUIRED for all ledger entries and indicates the type of the ledger entry (e.g., AccountRoot, RippleState, Offer, etc.).
Definition at line 114 of file LedgerEntryBase.h.
|
inherited |
Get the flags field (sfFlags).
This field is REQUIRED for all ledger entries and contains type-specific flags that modify the behavior of the ledger entry.
Definition at line 128 of file LedgerEntryBase.h.
|
inherited |
Get the underlying SLE object.
Provides direct access to the wrapped serialized ledger entry object for cases where the type-safe accessors are insufficient.
Definition at line 142 of file LedgerEntryBase.h.
|
staticconstexpr |
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.