GetQuotePreviewRequest
public struct GetQuotePreviewRequest : Encodable, Sendable
                Get quote preview request model.
- 
                  
                  
The amount.
Declaration
Swift
public let amount: GetQuotePreviewAmount - 
                  
                  
The source amount currency.
Declaration
Swift
public let sourceCurrency: Currency - 
                  
                  
The target amount currency.
Declaration
Swift
public let targetCurrency: Currency - 
                  
                  
The country where the funds will be transferred to.
Declaration
Swift
public let country: Country - 
                  
                  
The Payout Method type.
Declaration
Swift
public let payoutMethodType: PayoutMethodType - 
                  
                  
The UUID of the cash pickup location.
Declaration
Swift
public let cashPickupLocationUuid: String? - 
                  
                  
The exchange rate markup to perform on the mid-market rate. This is a percent value.
Declaration
Swift
public let exchangeRateMarkup: PreciseDecimal? - 
                  
                  
The service fees.
Declaration
Swift
public let serviceFees: [ServiceFee]? - 
                  
init(amount:sourceCurrency: targetCurrency: country: payoutMethodType: cashPickupLocationUuid: exchangeRateMarkup: serviceFees: ) Auxiliary constructor.
Declaration
Swift
public init( amount: GetQuotePreviewAmount, sourceCurrency: Currency, targetCurrency: Currency, country: Country, payoutMethodType: PayoutMethodType, cashPickupLocationUuid: String? = nil, exchangeRateMarkup: PreciseDecimal? = nil, serviceFees: [ServiceFee]? = nil )Parameters
amountThe amount.
sourceCurrencyThe source amount currency.
targetCurrencyThe target amount currency.
countryThe country where the funds will be transferred to.
payoutMethodTypeThe Payout Method type.
cashPickupLocationUuidThe UUID of the cash pickup location.
exchangeRateMarkupThe exchange rate markup to perform on the mid-market rate. This is a percent value.
serviceFeesThe service fees.
 
            View on GitHub