@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/redemption-services
index
RedemptionWorkflowService
Class RedemptionWorkflowService
Index
Constructors
constructor
Methods
commit
create
void
Constructors
constructor
new
RedemptionWorkflowService
(
args
:
{
redemptionAdminService
:
RedemptionAdminService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
}
,
)
:
RedemptionWorkflowService
Parameters
args
:
{
redemptionAdminService
:
RedemptionAdminService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
}
Returns
RedemptionWorkflowService
Methods
commit
commit
(
args
:
{
commitId
:
string
;
redemptionId
:
string
}
)
:
Promise
<
void
>
Parameters
args
:
{
commitId
:
string
;
redemptionId
:
string
}
Returns
Promise
<
void
>
create
create
(
__namedParameters
:
{
achBatch
?:
{
fileId
:
string
;
id
:
string
}
;
amount
:
number
;
customerId
:
string
;
redemptionWalletId
:
string
;
withdrawalId
?:
string
;
}
,
)
:
Promise
<
Pick
<
{
achBatchId
?:
string
;
amount
:
string
;
commitId
?:
string
;
commitTxId
?:
string
;
createdAt
:
Date
;
id
:
string
;
idempotencyKey
:
string
;
initiateTxId
?:
string
;
redemptionWalletId
:
string
;
status
:
"PENDING"
|
"FAILED"
|
"COMMITTED"
|
"VOIDED"
;
updatedAt
:
Date
;
voidTxId
?:
string
;
withdrawalId
?:
string
;
}
,
"id"
,
>
,
>
Parameters
__namedParameters
:
{
achBatch
?:
{
fileId
:
string
;
id
:
string
}
;
amount
:
number
;
customerId
:
string
;
redemptionWalletId
:
string
;
withdrawalId
?:
string
;
}
Returns
Promise
<
Pick
<
{
achBatchId
?:
string
;
amount
:
string
;
commitId
?:
string
;
commitTxId
?:
string
;
createdAt
:
Date
;
id
:
string
;
idempotencyKey
:
string
;
initiateTxId
?:
string
;
redemptionWalletId
:
string
;
status
:
"PENDING"
|
"FAILED"
|
"COMMITTED"
|
"VOIDED"
;
updatedAt
:
Date
;
voidTxId
?:
string
;
withdrawalId
?:
string
;
}
,
"id"
,
>
,
>
void
void
(
args
:
{
redemptionId
:
string
}
)
:
Promise
<
void
>
Parameters
args
:
{
redemptionId
:
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...