@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/virtual-account-services
VictorVirtualAccountService
Class VictorVirtualAccountService
Index
Constructors
constructor
Methods
create
delete
update
Constructors
constructor
new
VictorVirtualAccountService
(
args
:
{
entityProductService
:
EntityProductService
;
entityService
:
EntityService
;
eventPublisher
:
EntityEventPublisher
;
redemptionWalletQueryService
:
RedemptionWalletQueryService
;
sqlClient
:
Sql
;
victorAccountClient
:
VictorAccountClient
;
victorRoutingNumber
:
string
;
virtualAccountQueryService
:
VirtualAccountQueryService
;
}
,
)
:
VictorVirtualAccountService
Parameters
args
:
{
entityProductService
:
EntityProductService
;
entityService
:
EntityService
;
eventPublisher
:
EntityEventPublisher
;
redemptionWalletQueryService
:
RedemptionWalletQueryService
;
sqlClient
:
Sql
;
victorAccountClient
:
VictorAccountClient
;
victorRoutingNumber
:
string
;
virtualAccountQueryService
:
VirtualAccountQueryService
;
}
Returns
VictorVirtualAccountService
Methods
create
create
(
args
:
{
customerId
:
string
;
ledgerAccountId
:
string
;
ledgerProgramId
:
string
;
name
?:
string
;
referenceId
?:
string
|
null
;
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
{
accountNumber
:
string
;
achDepositInstructions
:
AchDepositInstructions
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
name
:
string
|
null
;
provider
:
"VICTOR"
|
"BIVO"
|
"ROUTE_FUSION"
;
referenceId
:
string
|
null
;
routingNumber
:
string
;
rtpDepositInstructions
:
RtpDepositInstructions
;
status
:
"PENDING"
|
"ACTIVE"
;
type
:
"US_DEPOSIT"
|
"US_DDA"
;
updatedAt
:
Date
;
wireDepositInstructions
:
UsWireDepositInstructions
;
}
&
{
customerId
:
string
;
entityId
:
string
;
ledgerAccountId
:
string
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
args
:
{
customerId
:
string
;
ledgerAccountId
:
string
;
ledgerProgramId
:
string
;
name
?:
string
;
referenceId
?:
string
|
null
;
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
{
accountNumber
:
string
;
achDepositInstructions
:
AchDepositInstructions
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
name
:
string
|
null
;
provider
:
"VICTOR"
|
"BIVO"
|
"ROUTE_FUSION"
;
referenceId
:
string
|
null
;
routingNumber
:
string
;
rtpDepositInstructions
:
RtpDepositInstructions
;
status
:
"PENDING"
|
"ACTIVE"
;
type
:
"US_DEPOSIT"
|
"US_DDA"
;
updatedAt
:
Date
;
wireDepositInstructions
:
UsWireDepositInstructions
;
}
&
{
customerId
:
string
;
entityId
:
string
;
ledgerAccountId
:
string
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
delete
delete
(
args
:
{
customerId
:
string
;
id
:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
undefined
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
args
:
{
customerId
:
string
;
id
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
undefined
}
|
{
error
:
ServiceError
;
ok
:
false
}
>
update
update
(
args
:
{
customerId
:
string
;
id
:
string
;
name
?:
string
|
null
;
referenceId
?:
string
|
null
;
}
,
)
:
Promise
<
|
{
error
:
ServiceError
;
ok
:
false
}
|
{
ok
:
true
;
value
:
{
accountNumber
:
string
;
achDepositInstructions
:
AchDepositInstructions
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
name
:
string
|
null
;
provider
:
"VICTOR"
|
"BIVO"
|
"ROUTE_FUSION"
;
referenceId
:
string
|
null
;
routingNumber
:
string
;
rtpDepositInstructions
:
RtpDepositInstructions
;
status
:
"PENDING"
|
"ACTIVE"
;
type
:
"US_DEPOSIT"
|
"US_DDA"
;
updatedAt
:
Date
;
wireDepositInstructions
:
UsWireDepositInstructions
;
}
&
{
customerId
:
string
;
entityId
:
string
;
ledgerAccountId
:
string
}
;
}
,
>
Parameters
args
:
{
customerId
:
string
;
id
:
string
;
name
?:
string
|
null
;
referenceId
?:
string
|
null
;
}
Returns
Promise
<
|
{
error
:
ServiceError
;
ok
:
false
}
|
{
ok
:
true
;
value
:
{
accountNumber
:
string
;
achDepositInstructions
:
AchDepositInstructions
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
name
:
string
|
null
;
provider
:
"VICTOR"
|
"BIVO"
|
"ROUTE_FUSION"
;
referenceId
:
string
|
null
;
routingNumber
:
string
;
rtpDepositInstructions
:
RtpDepositInstructions
;
status
:
"PENDING"
|
"ACTIVE"
;
type
:
"US_DEPOSIT"
|
"US_DDA"
;
updatedAt
:
Date
;
wireDepositInstructions
:
UsWireDepositInstructions
;
}
&
{
customerId
:
string
;
entityId
:
string
;
ledgerAccountId
:
string
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
delete
update
@cfxlabsinc/b2b-services
Loading...