|
xrpld
|
#include <Loan.h>


Public Member Functions | |
| Loan (SLE::const_pointer 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). | |
| bool | isFlag (std::uint32_t f) const |
| Check if a specific flag is set. | |
| SLE::const_pointer | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltLOAN |
Protected Attributes | |
| SLE::const_pointer | 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. |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardinherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
nodiscardinherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
nodiscardinherited |
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.
|
nodiscardinherited |
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.
|
nodiscardinherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
nodiscardinherited |
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.
|
nodiscardinherited |
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.
|
nodiscardinherited |
Check if a specific flag is set.
| f | The flag bitmask to check |
Definition at line 141 of file LedgerEntryBase.h.
|
nodiscardinherited |
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 155 of file LedgerEntryBase.h.
|
staticconstexpr |
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 162 of file LedgerEntryBase.h.