@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/withdrawal-services
yellowcard
YellowcardWithdrawalEstimateService
Class YellowcardWithdrawalEstimateService
Index
Constructors
constructor
Methods
get
Constructors
constructor
new
YellowcardWithdrawalEstimateService
(
args
:
{
entityProductFeeService
:
EntityProductFeeService
;
yellowcardClient
:
YellowcardClient
;
}
,
)
:
YellowcardWithdrawalEstimateService
Parameters
args
:
{
entityProductFeeService
:
EntityProductFeeService
;
yellowcardClient
:
YellowcardClient
;
}
Returns
YellowcardWithdrawalEstimateService
Methods
get
get
(
args
:
{
country
:
string
;
customerId
:
string
;
entityId
:
string
;
source
:
{
amount
:
BigNumber
}
;
targetCurrency
:
string
;
withdrawalType
:
"bank"
|
"momo"
;
}
,
)
:
Promise
<
|
{
error
:
ServiceError
<
string
,
object
>
;
ok
:
false
}
|
{
ok
:
true
;
value
:
{
exchangeRate
:
BigNumber
;
fees
:
Fees
;
sourceAmount
:
BigNumber
;
targetAmountAfterFees
:
BigNumber
;
totalFees
:
BigNumber
;
withdrawalType
:
"bank"
|
"momo"
;
}
;
}
,
>
Parameters
args
:
{
country
:
string
;
customerId
:
string
;
entityId
:
string
;
source
:
{
amount
:
BigNumber
}
;
targetCurrency
:
string
;
withdrawalType
:
"bank"
|
"momo"
;
}
Returns
Promise
<
|
{
error
:
ServiceError
<
string
,
object
>
;
ok
:
false
}
|
{
ok
:
true
;
value
:
{
exchangeRate
:
BigNumber
;
fees
:
Fees
;
sourceAmount
:
BigNumber
;
targetAmountAfterFees
:
BigNumber
;
totalFees
:
BigNumber
;
withdrawalType
:
"bank"
|
"momo"
;
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
@cfxlabsinc/b2b-services
Loading...