Package tbdex.sdk.protocol.models
Class RfqData
-
- All Implemented Interfaces:
-
tbdex.sdk.protocol.models.Data,tbdex.sdk.protocol.models.MessageData
public final class RfqData implements MessageData
A data class implementing MessageData that represents the contents of an Rfq. This includes salted hashes of fields in RfqPrivateData.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringofferingIdprivate final SelectedPayinMethodpayinprivate final SelectedPayoutMethodpayoutprivate StringclaimsHash
-
Constructor Summary
Constructors Constructor Description RfqData(String offeringId, SelectedPayinMethod payin, SelectedPayoutMethod payout, String claimsHash)
-
Method Summary
Modifier and Type Method Description final StringgetOfferingId()Offering which Alice would like to get a quote for final SelectedPayinMethodgetPayin()selected payin amount, method, and hashed details final SelectedPayoutMethodgetPayout()selected payout method, and hashed details final StringgetClaimsHash()hash of claims that fulfill the requirements declared in the referenced Offering final UnitsetClaimsHash(String claimsHash)hash of claims that fulfill the requirements declared in the referenced Offering -
-
Constructor Detail
-
RfqData
RfqData(String offeringId, SelectedPayinMethod payin, SelectedPayoutMethod payout, String claimsHash)
-
-
Method Detail
-
getOfferingId
final String getOfferingId()
Offering which Alice would like to get a quote for
-
getPayin
final SelectedPayinMethod getPayin()
selected payin amount, method, and hashed details
-
getPayout
final SelectedPayoutMethod getPayout()
selected payout method, and hashed details
-
getClaimsHash
final String getClaimsHash()
hash of claims that fulfill the requirements declared in the referenced Offering
-
setClaimsHash
final Unit setClaimsHash(String claimsHash)
hash of claims that fulfill the requirements declared in the referenced Offering
-
-
-
-