Package org.knowm.xchange.dto
Class LoanOrder
java.lang.Object
org.knowm.xchange.dto.LoanOrder
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FixedRateLoanOrder
,FloatingRateLoanOrder
Data object representing an order for a loan
- See Also:
-
Constructor Summary
ConstructorDescriptionLoanOrder
(Order.OrderType type, String currency, BigDecimal originalAmount, int dayPeriod, String id, Date timestamp) Constructor -
Method Summary
-
Constructor Details
-
LoanOrder
public LoanOrder(Order.OrderType type, String currency, BigDecimal originalAmount, int dayPeriod, String id, Date timestamp) Constructor- Parameters:
type
- Order type i.e. bid or askcurrency
- The loan currencyoriginalAmount
- Amount to be ordered / amount that was ordereddayPeriod
- Duration of loan in daysid
- An identifier that uniquely identifies the ordertimestamp
- The timestamp on the order according to the exchange's server, null if not provided
-
-
Method Details