Package tbdex.sdk.protocol.models
Class QuoteDetails
-
- All Implemented Interfaces:
public final class QuoteDetailsA data class representing details for payin and payout amounts.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcurrencyCodeprivate final Stringamountprivate final Stringfeeprivate final PaymentInstructionpaymentInstruction
-
Constructor Summary
Constructors Constructor Description QuoteDetails(String currencyCode, String amount, String fee, PaymentInstruction paymentInstruction)
-
Method Summary
Modifier and Type Method Description final StringgetCurrencyCode()ISO 3166 currency code string final StringgetAmount()The amount of currency paid to the PFI or by the PFI excluding fees final StringgetFee()The amount paid in fees final PaymentInstructiongetPaymentInstruction()Object that describes how to pay the PFI and how to get paid by the PFI (e.g. -
-
Constructor Detail
-
QuoteDetails
QuoteDetails(String currencyCode, String amount, String fee, PaymentInstruction paymentInstruction)
-
-
Method Detail
-
getCurrencyCode
final String getCurrencyCode()
ISO 3166 currency code string
-
getAmount
final String getAmount()
The amount of currency paid to the PFI or by the PFI excluding fees
-
getPaymentInstruction
final PaymentInstruction getPaymentInstruction()
Object that describes how to pay the PFI and how to get paid by the PFI (e.g. BTC address, payment link)
-
-
-
-