@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/virtual-account-services
VictorAccountQueryService
Class VictorAccountQueryService
Index
Constructors
constructor
Methods
get
invalidate
Tag
search
Constructors
constructor
new
VictorAccountQueryService
(
args
:
{
db
:
B2bDatabase
;
valkeyClient
:
ValkeyClient
|
null
}
,
)
:
VictorAccountQueryService
Parameters
args
:
{
db
:
B2bDatabase
;
valkeyClient
:
ValkeyClient
|
null
}
Returns
VictorAccountQueryService
Methods
get
get
(
args
:
{
id
:
string
}
)
:
Promise
<
{
ok
:
true
;
value
:
VictorAccount
|
null
}
>
Parameters
args
:
{
id
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
VictorAccount
|
null
}
>
invalidate
Tag
invalidateTag
(
arg
:
{
customerId
:
string
}
)
:
Promise
<
void
>
Parameters
arg
:
{
customerId
:
string
}
Returns
Promise
<
void
>
search
search
(
args
:
{
customerIds
?:
string
[]
;
ids
?:
string
[]
;
page
?:
number
;
pageSize
?:
number
;
types
?:
(
"FBO"
|
"RETURNS"
|
"POINTS"
|
"OPERATING"
|
"RESERVE"
|
"REVENUE"
)
[]
;
victorLedgerProgramIds
?:
string
[]
;
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
{
hasNext
:
boolean
;
items
:
VictorAccount
[]
;
total
:
number
}
;
}
,
>
Parameters
args
:
{
customerIds
?:
string
[]
;
ids
?:
string
[]
;
page
?:
number
;
pageSize
?:
number
;
types
?:
(
"FBO"
|
"RETURNS"
|
"POINTS"
|
"OPERATING"
|
"RESERVE"
|
"REVENUE"
)
[]
;
victorLedgerProgramIds
?:
string
[]
;
}
Returns
Promise
<
{
ok
:
true
;
value
:
{
hasNext
:
boolean
;
items
:
VictorAccount
[]
;
total
:
number
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
invalidate
Tag
search
@cfxlabsinc/b2b-services
Loading...