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.
Inherited Members
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 SourceLoanSet()
Declaration
public LoanSet()
Properties
| Edit this page View SourceCloseInterestRate
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? |
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 |
Counterparty
The borrower account (counterparty to the loan).
Declaration
[JsonPropertyName("Counterparty")]
public string Counterparty { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Data
Arbitrary hex-encoded metadata, limited to 256 bytes.
Declaration
[JsonPropertyName("Data")]
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Flags
LoanSet transaction flags.
Declaration
public LoanSetFlags? Flags { get; set; }
Property Value
| Type | Description |
|---|---|
| LoanSetFlags? |
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? |
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? |
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? |
LatePaymentFee
The fee charged for late payments (Number type, string representation).
Declaration
[JsonPropertyName("LatePaymentFee")]
public string LatePaymentFee { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LoanBrokerID
The ID of the loan broker managing this loan.
Declaration
[JsonPropertyName("LoanBrokerID")]
public string LoanBrokerID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LoanOriginationFee
The origination fee for the loan (Number type, string representation).
Declaration
[JsonPropertyName("LoanOriginationFee")]
public string LoanOriginationFee { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LoanServiceFee
The service fee for the loan (Number type, string representation).
Declaration
[JsonPropertyName("LoanServiceFee")]
public string LoanServiceFee { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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? |
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? |
PaymentInterval
The interval between payments, in seconds. Default: 60.
Declaration
[JsonPropertyName("PaymentInterval")]
public uint? PaymentInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
PaymentTotal
The total number of payments for the loan. Default: 1.
Declaration
[JsonPropertyName("PaymentTotal")]
public uint? PaymentTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
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 |