@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/redemption-services
index
RedemptionWalletWithdrawalWorkflowService
Class RedemptionWalletWithdrawalWorkflowService
Index
Constructors
constructor
Methods
commit
create
void
Constructors
constructor
new
RedemptionWalletWithdrawalWorkflowService
(
args
:
{
redemptionWalletWithdrawalAdminService
:
RedemptionWalletWithdrawalAdminService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
}
,
)
:
RedemptionWalletWithdrawalWorkflowService
Parameters
args
:
{
redemptionWalletWithdrawalAdminService
:
RedemptionWalletWithdrawalAdminService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
}
Returns
RedemptionWalletWithdrawalWorkflowService
Methods
commit
commit
(
args
:
{
commitId
:
string
;
redemptionWalletWithdrawalId
:
string
;
targets
:
{
address
?:
PublicKey
;
amount
:
BigNumber
;
owner
?:
PublicKey
}
[]
;
}
,
)
:
Promise
<
void
>
Parameters
args
:
{
commitId
:
string
;
redemptionWalletWithdrawalId
:
string
;
targets
:
{
address
?:
PublicKey
;
amount
:
BigNumber
;
owner
?:
PublicKey
}
[]
;
}
Returns
Promise
<
void
>
create
create
(
__namedParameters
:
{
customerId
:
string
;
sourceAmount
:
BigNumber
;
sourceRedemptionWalletId
:
string
;
withdrawalId
?:
string
;
}
,
)
:
Promise
<
Pick
<
{
amount
:
BigNumber
;
commitId
?:
string
;
commitTargets
?:
{
address
:
PublicKey
;
amount
:
BigNumber
;
owner
?:
PublicKey
;
}
[]
;
commitTxId
?:
string
;
createdAt
:
Date
;
id
:
string
;
idempotencyKey
:
string
;
initiateTxId
?:
string
;
redemptionWalletId
:
string
;
status
:
"CREATED"
|
"PENDING"
|
"COMMITTED"
|
"VOIDED"
;
updatedAt
:
Date
;
voidTxId
?:
string
;
}
,
"id"
,
>
,
>
Parameters
__namedParameters
:
{
customerId
:
string
;
sourceAmount
:
BigNumber
;
sourceRedemptionWalletId
:
string
;
withdrawalId
?:
string
;
}
Returns
Promise
<
Pick
<
{
amount
:
BigNumber
;
commitId
?:
string
;
commitTargets
?:
{
address
:
PublicKey
;
amount
:
BigNumber
;
owner
?:
PublicKey
;
}
[]
;
commitTxId
?:
string
;
createdAt
:
Date
;
id
:
string
;
idempotencyKey
:
string
;
initiateTxId
?:
string
;
redemptionWalletId
:
string
;
status
:
"CREATED"
|
"PENDING"
|
"COMMITTED"
|
"VOIDED"
;
updatedAt
:
Date
;
voidTxId
?:
string
;
}
,
"id"
,
>
,
>
void
void
(
args
:
{
redemptionWalletWithdrawalId
:
string
}
)
:
Promise
<
void
>
Parameters
args
:
{
redemptionWalletWithdrawalId
:
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...