@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/deposit-services
index
RtpDepositQuoteService
Class RtpDepositQuoteService
Index
Constructors
constructor
Methods
accept
create
Constructors
constructor
new
RtpDepositQuoteService
(
args
:
{
DEPOSIT_TASK_QUEUE
:
string
;
depositAdminService
:
DepositAdminService
;
depositProductUsageService
:
DepositProductUsageService
;
depositQuoteService
:
DepositQuoteService
;
entityProductFeeService
:
EntityProductFeeService
;
entityProductService
:
EntityProductService
;
temporalClient
:
Client
;
}
,
)
:
RtpDepositQuoteService
Parameters
args
:
{
DEPOSIT_TASK_QUEUE
:
string
;
depositAdminService
:
DepositAdminService
;
depositProductUsageService
:
DepositProductUsageService
;
depositQuoteService
:
DepositQuoteService
;
entityProductFeeService
:
EntityProductFeeService
;
entityProductService
:
EntityProductService
;
temporalClient
:
Client
;
}
Returns
RtpDepositQuoteService
Methods
accept
accept
(
args
:
{
customerId
:
string
;
idempotencyKey
:
string
;
quoteId
:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
{
depositId
:
string
}
}
>
Parameters
args
:
{
customerId
:
string
;
idempotencyKey
:
string
;
quoteId
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
{
depositId
:
string
}
}
>
create
create
(
args
:
{
customerId
:
string
;
entityId
:
string
;
ffcMemo
?:
string
;
senderName
?:
string
;
sourceAmount
:
BigNumber
;
sourceCurrency
:
string
;
targetCurrency
:
"MOVEUSD"
;
tchInstitutionId
?:
string
;
walletAddress
:
PublicKey
;
walletBlockchain
:
"SOLANA"
;
}
,
)
:
Promise
<
|
{
error
:
|
ServiceError
<
"ENTITY_NOT_FOUND"
|
"NO_COUNTRY"
>
|
ServiceError
<
"PRODUCT_INACTIVE"
|
"PRODUCT_BLOCKED"
>
|
ServiceError
<
"LIMIT_EXCEEDED"
,
ProductLimitViolation
>
|
ServiceError
<
"ENTITY_NOT_FOUND"
>
;
ok
:
false
;
}
|
{
ok
:
true
;
value
:
DepositQuote
|
null
}
,
>
Parameters
args
:
{
customerId
:
string
;
entityId
:
string
;
ffcMemo
?:
string
;
senderName
?:
string
;
sourceAmount
:
BigNumber
;
sourceCurrency
:
string
;
targetCurrency
:
"MOVEUSD"
;
tchInstitutionId
?:
string
;
walletAddress
:
PublicKey
;
walletBlockchain
:
"SOLANA"
;
}
Returns
Promise
<
|
{
error
:
|
ServiceError
<
"ENTITY_NOT_FOUND"
|
"NO_COUNTRY"
>
|
ServiceError
<
"PRODUCT_INACTIVE"
|
"PRODUCT_BLOCKED"
>
|
ServiceError
<
"LIMIT_EXCEEDED"
,
ProductLimitViolation
>
|
ServiceError
<
"ENTITY_NOT_FOUND"
>
;
ok
:
false
;
}
|
{
ok
:
true
;
value
:
DepositQuote
|
null
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
accept
create
@cfxlabsinc/b2b-services
Loading...