Package tbdex.sdk.messages
Class QuoteData
-
- All Implemented Interfaces:
public final class QuoteDataRepresents the data of a quote in the tbDEX protocol.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringexpiresAtprivate final StringpayoutUnitsPerPayinUnitprivate final QuoteDetailspayinprivate final QuoteDetailspayout
-
Constructor Summary
Constructors Constructor Description QuoteData(String expiresAt, String payoutUnitsPerPayinUnit, QuoteDetails payin, QuoteDetails payout)
-
Method Summary
Modifier and Type Method Description final StringgetExpiresAt()The expiration date of the quote. final StringgetPayoutUnitsPerPayinUnit()The exchange rate for the quote, indicating how many payout units are provided per payin unit. final QuoteDetailsgetPayin()The details of the payin currency and amount. final QuoteDetailsgetPayout()The details of the payout currency and amount. -
-
Constructor Detail
-
QuoteData
QuoteData(String expiresAt, String payoutUnitsPerPayinUnit, QuoteDetails payin, QuoteDetails payout)
-
-
Method Detail
-
getExpiresAt
final String getExpiresAt()
The expiration date of the quote.
-
getPayoutUnitsPerPayinUnit
final String getPayoutUnitsPerPayinUnit()
The exchange rate for the quote, indicating how many payout units are provided per payin unit.
-
getPayin
final QuoteDetails getPayin()
The details of the payin currency and amount.
-
getPayout
final QuoteDetails getPayout()
The details of the payout currency and amount.
-
-
-
-