@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/deposit-services
legacy
LegacyDepositQuoteService
Class LegacyDepositQuoteService
Index
Constructors
constructor
Methods
get
Quote
Constructors
constructor
new
LegacyDepositQuoteService
(
args
:
{
customerService
:
CustomerService
;
depositProductUsageService
:
DepositProductUsageService
;
entityProductFeeService
:
EntityProductFeeService
;
entityProductService
:
EntityProductService
;
entityService
:
EntityService
;
}
,
)
:
LegacyDepositQuoteService
Parameters
args
:
{
customerService
:
CustomerService
;
depositProductUsageService
:
DepositProductUsageService
;
entityProductFeeService
:
EntityProductFeeService
;
entityProductService
:
EntityProductService
;
entityService
:
EntityService
;
}
Returns
LegacyDepositQuoteService
Methods
get
Quote
getQuote
(
__namedParameters
:
{
legacyCustomerId
:
number
;
params
:
{
amount
:
number
;
currency
:
|
"USD"
|
"AUD"
|
"HKD"
|
"JPY"
|
"MXN"
|
"NZD"
|
"SGD"
|
"SEK"
|
"CHF"
|
"CAD"
|
"GBP"
|
"CZK"
|
"DKK"
|
"EUR"
;
entityId
:
string
;
quoteType
:
"amountIn"
|
"amountOut"
;
}
;
targetCurrency
?:
"MOVEUSD"
|
"USDC"
;
usState
?:
string
;
}
&
(
|
{
cashDepositRetailerId
:
string
;
productName
:
"deposit.us_cash.v1"
}
|
{
productName
:
|
"deposit.rtp.v1"
|
"deposit.us_bank_ach.v1"
|
"deposit.ach_credit.v1"
|
"deposit.us_wire.v1"
|
"deposit.swift_wire.v1"
;
}
)
,
)
:
Promise
<
Promise
<
{
aggregateQuote
?:
{
amountIn
:
{
amount
:
number
;
currency
:
|
"USD"
|
"AUD"
|
"HKD"
|
"JPY"
|
"MXN"
|
"NZD"
|
"SGD"
|
"SEK"
|
"CHF"
|
"CAD"
|
"GBP"
|
"CZK"
|
"DKK"
|
"EUR"
;
}
;
amountOut
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
fees
:
{
fee
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
type
:
|
"CFX_FIXED_FEE"
|
"CFX_VARIABLE_FEE"
|
"PROVIDER_FIXED_FEE"
|
"PROVIDER_VARIABLE_FEE"
|
"CUSTOMER_FIXED_FEE"
|
"CUSTOMER_VARIABLE_FEE"
;
}
[]
;
}
;
quote
:
{
amountIn
:
{
amount
:
number
;
currency
:
|
"USD"
|
"AUD"
|
"HKD"
|
"JPY"
|
"MXN"
|
"NZD"
|
"SGD"
|
"SEK"
|
"CHF"
|
"CAD"
|
"GBP"
|
"CZK"
|
"DKK"
|
"EUR"
;
}
;
amountOut
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
fees
:
{
fee
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
type
:
|
"CFX_FIXED_FEE"
|
"CFX_VARIABLE_FEE"
|
"PROVIDER_FIXED_FEE"
|
"PROVIDER_VARIABLE_FEE"
|
"CUSTOMER_FIXED_FEE"
|
"CUSTOMER_VARIABLE_FEE"
;
}
[]
;
}
;
}
,
>
,
>
Parameters
__namedParameters
:
{
legacyCustomerId
:
number
;
params
:
{
amount
:
number
;
currency
:
|
"USD"
|
"AUD"
|
"HKD"
|
"JPY"
|
"MXN"
|
"NZD"
|
"SGD"
|
"SEK"
|
"CHF"
|
"CAD"
|
"GBP"
|
"CZK"
|
"DKK"
|
"EUR"
;
entityId
:
string
;
quoteType
:
"amountIn"
|
"amountOut"
;
}
;
targetCurrency
?:
"MOVEUSD"
|
"USDC"
;
usState
?:
string
;
}
&
(
|
{
cashDepositRetailerId
:
string
;
productName
:
"deposit.us_cash.v1"
}
|
{
productName
:
|
"deposit.rtp.v1"
|
"deposit.us_bank_ach.v1"
|
"deposit.ach_credit.v1"
|
"deposit.us_wire.v1"
|
"deposit.swift_wire.v1"
;
}
)
Returns
Promise
<
Promise
<
{
aggregateQuote
?:
{
amountIn
:
{
amount
:
number
;
currency
:
|
"USD"
|
"AUD"
|
"HKD"
|
"JPY"
|
"MXN"
|
"NZD"
|
"SGD"
|
"SEK"
|
"CHF"
|
"CAD"
|
"GBP"
|
"CZK"
|
"DKK"
|
"EUR"
;
}
;
amountOut
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
fees
:
{
fee
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
type
:
|
"CFX_FIXED_FEE"
|
"CFX_VARIABLE_FEE"
|
"PROVIDER_FIXED_FEE"
|
"PROVIDER_VARIABLE_FEE"
|
"CUSTOMER_FIXED_FEE"
|
"CUSTOMER_VARIABLE_FEE"
;
}
[]
;
}
;
quote
:
{
amountIn
:
{
amount
:
number
;
currency
:
|
"USD"
|
"AUD"
|
"HKD"
|
"JPY"
|
"MXN"
|
"NZD"
|
"SGD"
|
"SEK"
|
"CHF"
|
"CAD"
|
"GBP"
|
"CZK"
|
"DKK"
|
"EUR"
;
}
;
amountOut
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
fees
:
{
fee
:
{
amount
:
number
;
currency
:
"MOVEUSD"
|
"USDC"
}
;
type
:
|
"CFX_FIXED_FEE"
|
"CFX_VARIABLE_FEE"
|
"PROVIDER_FIXED_FEE"
|
"PROVIDER_VARIABLE_FEE"
|
"CUSTOMER_FIXED_FEE"
|
"CUSTOMER_VARIABLE_FEE"
;
}
[]
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Quote
@cfxlabsinc/b2b-services
Loading...