@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/withdrawal-services
metcap
MetcapWireBatchService
Class MetcapWireBatchService
Index
Constructors
constructor
Properties
db
internal
Event
Publisher
Methods
get
Or
Create
Active
Batch
Constructors
constructor
new
MetcapWireBatchService
(
args
:
{
db
:
B2bDatabase
;
internalEventPublisher
:
InternalEventPublisher
;
}
,
)
:
MetcapWireBatchService
Parameters
args
:
{
db
:
B2bDatabase
;
internalEventPublisher
:
InternalEventPublisher
}
Returns
MetcapWireBatchService
Properties
Protected
Readonly
db
db
:
B2bDatabase
Protected
Readonly
internal
Event
Publisher
internalEventPublisher
:
InternalEventPublisher
Methods
get
Or
Create
Active
Batch
getOrCreateActiveBatch
(
args
:
{
customerId
:
string
;
tx
?:
PgAsyncTransaction
<
NodePgQueryResultHKT
,
EmptyRelations
>
;
type
:
"SWIFT"
|
"FEDWIRE"
;
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
string
}
>
Parameters
args
:
{
customerId
:
string
;
tx
?:
PgAsyncTransaction
<
NodePgQueryResultHKT
,
EmptyRelations
>
;
type
:
"SWIFT"
|
"FEDWIRE"
;
}
Returns
Promise
<
{
ok
:
true
;
value
:
string
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
db
internal
Event
Publisher
Methods
get
Or
Create
Active
Batch
@cfxlabsinc/b2b-services
Loading...