@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/deposit-services
legacy
LegacyCashDepositRequestRepository
Class LegacyCashDepositRequestRepository
Index
Constructors
constructor
Methods
create
get
Single
search
update
With
Quote
update
With
Status
Constructors
constructor
new
LegacyCashDepositRequestRepository
(
args
:
{
entityEventPublisher
:
EntityEventPublisher
;
sqlClient
:
Sql
}
,
)
:
LegacyCashDepositRequestRepository
Parameters
args
:
{
entityEventPublisher
:
EntityEventPublisher
;
sqlClient
:
Sql
}
Returns
LegacyCashDepositRequestRepository
Methods
create
create
(
params
:
Pick
<
LegacyCashDepositRequest
,
|
"expiresAt"
|
"entityId"
|
"reference"
|
"barcodeNumber"
|
"user"
|
"wallet"
|
"retailerId"
|
"retailerName"
|
"customerId"
|
"deviceIpAddress"
|
"deviceLocation"
|
"metadata"
|
"greendotId"
|
"targetCurrency"
,
>
,
)
:
Promise
<
LegacyCashDepositRequest
>
Parameters
params
:
Pick
<
LegacyCashDepositRequest
,
|
"expiresAt"
|
"entityId"
|
"reference"
|
"barcodeNumber"
|
"user"
|
"wallet"
|
"retailerId"
|
"retailerName"
|
"customerId"
|
"deviceIpAddress"
|
"deviceLocation"
|
"metadata"
|
"greendotId"
|
"targetCurrency"
,
>
Returns
Promise
<
LegacyCashDepositRequest
>
get
Single
getSingle
(
__namedParameters
:
Partial
<
Pick
<
LegacyCashDepositRequest
,
"id"
|
"customerId"
|
"barcodeNumber"
|
"depositId"
,
>
,
>
,
)
:
Promise
<
LegacyCashDepositRequest
>
Parameters
__namedParameters
:
Partial
<
Pick
<
LegacyCashDepositRequest
,
"id"
|
"customerId"
|
"barcodeNumber"
|
"depositId"
,
>
,
>
Returns
Promise
<
LegacyCashDepositRequest
>
search
search
(
__namedParameters
:
Partial
<
Pick
<
LegacyCashDepositRequest
,
"entityId"
|
"reference"
|
"customerId"
>
&
{
barcodeNumbers
:
string
[]
;
status
:
CashDepositStatus
[]
;
}
,
>
,
)
:
Promise
<
LegacyCashDepositRequest
[]
>
Parameters
__namedParameters
:
Partial
<
Pick
<
LegacyCashDepositRequest
,
"entityId"
|
"reference"
|
"customerId"
>
&
{
barcodeNumbers
:
string
[]
;
status
:
CashDepositStatus
[]
;
}
,
>
Returns
Promise
<
LegacyCashDepositRequest
[]
>
update
With
Quote
updateWithQuote
(
__namedParameters
:
Pick
<
LegacyCashDepositRequest
,
"quote"
|
"depositQuoteId"
|
"aggregateQuote"
,
>
,
)
:
Promise
<
void
>
Parameters
__namedParameters
:
Pick
<
LegacyCashDepositRequest
,
"quote"
|
"depositQuoteId"
|
"aggregateQuote"
>
Returns
Promise
<
void
>
update
With
Status
updateWithStatus
(
args
:
Pick
<
LegacyCashDepositRequest
,
"id"
|
"status"
>
,
)
:
Promise
<
void
>
Parameters
args
:
Pick
<
LegacyCashDepositRequest
,
"id"
|
"status"
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
get
Single
search
update
With
Quote
update
With
Status
@cfxlabsinc/b2b-services
Loading...