Package tbdex.sdk.protocol.models
Class QuoteData
-
- All Implemented Interfaces:
-
tbdex.sdk.protocol.models.Data,tbdex.sdk.protocol.models.MessageData
public final class QuoteData implements MessageData
A data class implementing MessageData that represents the contents of a Quote.
-
-
Field Summary
Fields Modifier and Type Field Description private final OffsetDateTimeexpiresAtprivate final QuoteDetailspayinprivate final QuoteDetailspayout
-
Constructor Summary
Constructors Constructor Description QuoteData(OffsetDateTime expiresAt, QuoteDetails payin, QuoteDetails payout)
-
Method Summary
Modifier and Type Method Description final OffsetDateTimegetExpiresAt()When this quote expires. final QuoteDetailsgetPayin()the amount of payin currency that the PFI will receive final QuoteDetailsgetPayout()the amount of payout currency that Alice will receive -
-
Constructor Detail
-
QuoteData
QuoteData(OffsetDateTime expiresAt, QuoteDetails payin, QuoteDetails payout)
-
-
Method Detail
-
getExpiresAt
final OffsetDateTime getExpiresAt()
When this quote expires. ISO8601 timestamp
-
getPayin
final QuoteDetails getPayin()
the amount of payin currency that the PFI will receive
-
getPayout
final QuoteDetails getPayout()
the amount of payout currency that Alice will receive
-
-
-
-