@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/redemption-services
index
LedgerAccountWithdrawalWorkflowService
Class LedgerAccountWithdrawalWorkflowService
Index
Constructors
constructor
Methods
commit
create
void
Constructors
constructor
new
LedgerAccountWithdrawalWorkflowService
(
args
:
{
ledgerAccountWithdrawalAdminService
:
LedgerAccountWithdrawalAdminService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
}
,
)
:
LedgerAccountWithdrawalWorkflowService
Parameters
args
:
{
ledgerAccountWithdrawalAdminService
:
LedgerAccountWithdrawalAdminService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
}
Returns
LedgerAccountWithdrawalWorkflowService
Methods
commit
commit
(
args
:
{
commitId
:
string
;
ledgerAccountWithdrawalId
:
string
;
targets
:
{
address
?:
Address
;
amount
:
BigNumber
;
owner
?:
Address
}
[]
;
}
,
)
:
Promise
<
void
>
Parameters
args
:
{
commitId
:
string
;
ledgerAccountWithdrawalId
:
string
;
targets
:
{
address
?:
Address
;
amount
:
BigNumber
;
owner
?:
Address
}
[]
;
}
Returns
Promise
<
void
>
create
create
(
__namedParameters
:
{
customerId
:
string
;
sourceAmount
:
BigNumber
;
sourceLedgerAccountId
:
string
;
withdrawalId
?:
string
;
}
,
)
:
Promise
<
Pick
<
{
amount
:
BigNumber
;
commitId
?:
string
;
commitTargets
?:
{
address
:
Address
;
amount
:
BigNumber
;
owner
?:
Address
}
[]
;
commitTxId
?:
string
;
createdAt
:
Date
;
id
:
string
;
idempotencyKey
:
string
;
initiateTxId
?:
string
;
ledgerAccountId
:
string
;
status
:
"CREATED"
|
"PENDING"
|
"VOIDED"
|
"COMMITTED"
;
updatedAt
:
Date
;
voidTxId
?:
string
;
}
,
"id"
,
>
,
>
Parameters
__namedParameters
:
{
customerId
:
string
;
sourceAmount
:
BigNumber
;
sourceLedgerAccountId
:
string
;
withdrawalId
?:
string
;
}
Returns
Promise
<
Pick
<
{
amount
:
BigNumber
;
commitId
?:
string
;
commitTargets
?:
{
address
:
Address
;
amount
:
BigNumber
;
owner
?:
Address
}
[]
;
commitTxId
?:
string
;
createdAt
:
Date
;
id
:
string
;
idempotencyKey
:
string
;
initiateTxId
?:
string
;
ledgerAccountId
:
string
;
status
:
"CREATED"
|
"PENDING"
|
"VOIDED"
|
"COMMITTED"
;
updatedAt
:
Date
;
voidTxId
?:
string
;
}
,
"id"
,
>
,
>
void
void
(
args
:
{
ledgerAccountWithdrawalId
:
string
}
)
:
Promise
<
void
>
Parameters
args
:
{
ledgerAccountWithdrawalId
:
string
}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
commit
create
void
@cfxlabsinc/b2b-services
Loading...