rippled
Loading...
Searching...
No Matches
Functions | Variables
xrpl::test::jtx::loan Namespace Reference

Functions

Json::Value set (AccountID const &account, uint256 const &loanBrokerID, Number principalRequested, std::uint32_t flags)
 
Json::Value manage (AccountID const &account, uint256 const &loanID, std::uint32_t flags)
 
Json::Value del (AccountID const &account, uint256 const &loanID, std::uint32_t flags)
 
Json::Value pay (AccountID const &account, uint256 const &loanID, STAmount const &amount, std::uint32_t flags)
 

Variables

auto const counterparty = JTxFieldWrapper<accountIDField>(sfCounterparty)
 
auto const loanOriginationFee = simpleField<SF_NUMBER>(sfLoanOriginationFee)
 
auto const loanServiceFee = simpleField<SF_NUMBER>(sfLoanServiceFee)
 
auto const latePaymentFee = simpleField<SF_NUMBER>(sfLatePaymentFee)
 
auto const closePaymentFee = simpleField<SF_NUMBER>(sfClosePaymentFee)
 
auto const overpaymentFee = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentFee)
 
auto const interestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfInterestRate)
 
auto const lateInterestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfLateInterestRate)
 
auto const closeInterestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfCloseInterestRate)
 
auto const overpaymentInterestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentInterestRate)
 
auto const paymentTotal = simpleField<SF_UINT32>(sfPaymentTotal)
 
auto const paymentInterval = simpleField<SF_UINT32>(sfPaymentInterval)
 
auto const gracePeriod = simpleField<SF_UINT32>(sfGracePeriod)
 

Function Documentation

◆ set()

Json::Value xrpl::test::jtx::loan::set ( AccountID const &  account,
uint256 const &  loanBrokerID,
Number  principalRequested,
std::uint32_t  flags 
)

Definition at line 384 of file TestHelpers.cpp.

◆ manage()

Json::Value xrpl::test::jtx::loan::manage ( AccountID const &  account,
uint256 const &  loanID,
std::uint32_t  flags 
)

Definition at line 396 of file TestHelpers.cpp.

◆ del()

Json::Value xrpl::test::jtx::loan::del ( AccountID const &  account,
uint256 const &  loanID,
std::uint32_t  flags 
)

Definition at line 407 of file TestHelpers.cpp.

◆ pay()

Json::Value xrpl::test::jtx::loan::pay ( AccountID const &  account,
uint256 const &  loanID,
STAmount const &  amount,
std::uint32_t  flags 
)

Definition at line 418 of file TestHelpers.cpp.

Variable Documentation

◆ counterparty

auto const xrpl::test::jtx::loan::counterparty = JTxFieldWrapper<accountIDField>(sfCounterparty)

Definition at line 695 of file TestHelpers.h.

◆ loanOriginationFee

auto const xrpl::test::jtx::loan::loanOriginationFee = simpleField<SF_NUMBER>(sfLoanOriginationFee)

Definition at line 699 of file TestHelpers.h.

◆ loanServiceFee

auto const xrpl::test::jtx::loan::loanServiceFee = simpleField<SF_NUMBER>(sfLoanServiceFee)

Definition at line 701 of file TestHelpers.h.

◆ latePaymentFee

auto const xrpl::test::jtx::loan::latePaymentFee = simpleField<SF_NUMBER>(sfLatePaymentFee)

Definition at line 703 of file TestHelpers.h.

◆ closePaymentFee

auto const xrpl::test::jtx::loan::closePaymentFee = simpleField<SF_NUMBER>(sfClosePaymentFee)

Definition at line 705 of file TestHelpers.h.

◆ overpaymentFee

auto const xrpl::test::jtx::loan::overpaymentFee = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentFee)

Definition at line 707 of file TestHelpers.h.

◆ interestRate

auto const xrpl::test::jtx::loan::interestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfInterestRate)

Definition at line 709 of file TestHelpers.h.

◆ lateInterestRate

auto const xrpl::test::jtx::loan::lateInterestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfLateInterestRate)

Definition at line 711 of file TestHelpers.h.

◆ closeInterestRate

auto const xrpl::test::jtx::loan::closeInterestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfCloseInterestRate)

Definition at line 713 of file TestHelpers.h.

◆ overpaymentInterestRate

auto const xrpl::test::jtx::loan::overpaymentInterestRate = valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentInterestRate)

Definition at line 715 of file TestHelpers.h.

◆ paymentTotal

auto const xrpl::test::jtx::loan::paymentTotal = simpleField<SF_UINT32>(sfPaymentTotal)

Definition at line 717 of file TestHelpers.h.

◆ paymentInterval

auto const xrpl::test::jtx::loan::paymentInterval = simpleField<SF_UINT32>(sfPaymentInterval)

Definition at line 719 of file TestHelpers.h.

◆ gracePeriod

auto const xrpl::test::jtx::loan::gracePeriod = simpleField<SF_UINT32>(sfGracePeriod)

Definition at line 721 of file TestHelpers.h.