Show / Hide Table of Contents

Class LoanSet

The LoanSet transaction creates a new loan associated with a loan broker. The borrower (Counterparty) must co-sign via CounterpartySignature unless this transaction is part of a Batch.

Inheritance
object
TransactionRequest
LoanSet
Implements
ITransactionRequest
ILoanSet
ITransactionCommon
Inherited Members
TransactionRequest.NetworkID
TransactionRequest.Account
TransactionRequest.AccountTxnID
TransactionRequest.Fee
TransactionRequest.LastLedgerSequence
TransactionRequest.Memos
TransactionRequest.Sequence
TransactionRequest.SigningPublicKey
TransactionRequest.Signers
TransactionRequest.TransactionType
TransactionRequest.TransactionSignature
TransactionRequest.ToJson()
TransactionRequest.ToDictionary()
TransactionRequest.SourceTag
TransactionRequest.TicketSequence
Namespace: Xrpl.Models.Transactions
Assembly: Xrpl.dll
Syntax
public class LoanSet : TransactionRequest, ITransactionRequest, ILoanSet, ITransactionCommon
Remarks

Requires the Loan amendment (XLS-66d). This feature is in draft and subject to change.

Constructors

| Edit this page View Source

LoanSet()

Declaration
public LoanSet()

Properties

| Edit this page View Source

CloseInterestRate

The interest rate applied when closing the loan early (1/100th of a basis point). Valid range: 0–100000.

Declaration
[JsonPropertyName("CloseInterestRate")]
public uint? CloseInterestRate { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

ClosePaymentFee

The fee charged for early loan closure (Number type, string representation).

Declaration
[JsonPropertyName("ClosePaymentFee")]
public string ClosePaymentFee { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Counterparty

The borrower account (counterparty to the loan).

Declaration
[JsonPropertyName("Counterparty")]
public string Counterparty { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Data

Arbitrary hex-encoded metadata, limited to 256 bytes.

Declaration
[JsonPropertyName("Data")]
public string Data { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Flags

LoanSet transaction flags.

Declaration
public LoanSetFlags? Flags { get; set; }
Property Value
Type Description
LoanSetFlags?
| Edit this page View Source

GracePeriod

The grace period before late fees apply, in seconds. Default: 60.

Declaration
[JsonPropertyName("GracePeriod")]
public uint? GracePeriod { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

InterestRate

The interest rate for the loan (1/100th of a basis point). Valid range: 0–100000.

Declaration
[JsonPropertyName("InterestRate")]
public uint? InterestRate { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

LateInterestRate

The interest rate applied for late payments (1/100th of a basis point). Valid range: 0–100000.

Declaration
[JsonPropertyName("LateInterestRate")]
public uint? LateInterestRate { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

LatePaymentFee

The fee charged for late payments (Number type, string representation).

Declaration
[JsonPropertyName("LatePaymentFee")]
public string LatePaymentFee { get; set; }
Property Value
Type Description
string
| Edit this page View Source

LoanBrokerID

The ID of the loan broker managing this loan.

Declaration
[JsonPropertyName("LoanBrokerID")]
public string LoanBrokerID { get; set; }
Property Value
Type Description
string
| Edit this page View Source

LoanOriginationFee

The origination fee for the loan (Number type, string representation).

Declaration
[JsonPropertyName("LoanOriginationFee")]
public string LoanOriginationFee { get; set; }
Property Value
Type Description
string
| Edit this page View Source

LoanServiceFee

The service fee for the loan (Number type, string representation).

Declaration
[JsonPropertyName("LoanServiceFee")]
public string LoanServiceFee { get; set; }
Property Value
Type Description
string
| Edit this page View Source

OverpaymentFee

The fee charged for overpayments (1/100th of a basis point). Valid range: 0–100000.

Declaration
[JsonPropertyName("OverpaymentFee")]
public uint? OverpaymentFee { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

OverpaymentInterestRate

The interest rate applied on overpayments (1/100th of a basis point). Valid range: 0–100000.

Declaration
[JsonPropertyName("OverpaymentInterestRate")]
public uint? OverpaymentInterestRate { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

PaymentInterval

The interval between payments, in seconds. Default: 60.

Declaration
[JsonPropertyName("PaymentInterval")]
public uint? PaymentInterval { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

PaymentTotal

The total number of payments for the loan. Default: 1.

Declaration
[JsonPropertyName("PaymentTotal")]
public uint? PaymentTotal { get; set; }
Property Value
Type Description
uint?
| Edit this page View Source

PrincipalRequested

The principal amount requested for the loan (Number type, string representation). Required.

Declaration
[JsonPropertyName("PrincipalRequested")]
public string PrincipalRequested { get; set; }
Property Value
Type Description
string

Implements

ITransactionRequest
ILoanSet
ITransactionCommon

Extension Methods

BatchUtils.ToBatchTx(ITransactionRequest)
Utilities.Encode(TransactionRequest)
Utilities.EncodeForMultiSigning(TransactionRequest, string)
Utilities.EncodeForSigning(TransactionRequest)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX