public class CreateUniLend extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateUniLend.TypeEnum
type: lend - lend, redeem - redeem
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_CURRENCY |
static String |
SERIALIZED_NAME_MIN_RATE |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
CreateUniLend() |
| Modifier and Type | Method and Description |
|---|---|
CreateUniLend |
amount(String amount) |
CreateUniLend |
currency(String currency) |
boolean |
equals(Object o) |
String |
getAmount()
The amount of currency could be lent
|
String |
getCurrency()
Currency name
|
String |
getMinRate()
The minimum interest rate.
|
CreateUniLend.TypeEnum |
getType()
type: lend - lend, redeem - redeem
|
int |
hashCode() |
CreateUniLend |
minRate(String minRate) |
void |
setAmount(String amount) |
void |
setCurrency(String currency) |
void |
setMinRate(String minRate) |
void |
setType(CreateUniLend.TypeEnum type) |
String |
toString() |
CreateUniLend |
type(CreateUniLend.TypeEnum type) |
public static final String SERIALIZED_NAME_CURRENCY
public static final String SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_MIN_RATE
public CreateUniLend currency(String currency)
public String getCurrency()
public void setCurrency(String currency)
public CreateUniLend amount(String amount)
public String getAmount()
public void setAmount(String amount)
public CreateUniLend type(CreateUniLend.TypeEnum type)
public CreateUniLend.TypeEnum getType()
public void setType(CreateUniLend.TypeEnum type)
public CreateUniLend minRate(String minRate)
@Nullable public String getMinRate()
public void setMinRate(String minRate)
Copyright © 2023. All rights reserved.