@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/deposit-services
index
CashDepositQuoteAdminService
Class CashDepositQuoteAdminService
Index
Constructors
constructor
Methods
update
Constructors
constructor
new
CashDepositQuoteAdminService
(
args
:
{
depositQuoteAdminService
:
DepositQuoteAdminService
;
entityEventPublisher
:
EntityEventPublisher
;
entityService
:
EntityService
;
productQuoteService
:
ProductQuoteService
;
}
,
)
:
CashDepositQuoteAdminService
Parameters
args
:
{
depositQuoteAdminService
:
DepositQuoteAdminService
;
entityEventPublisher
:
EntityEventPublisher
;
entityService
:
EntityService
;
productQuoteService
:
ProductQuoteService
;
}
Returns
CashDepositQuoteAdminService
Methods
update
update
(
args
:
{
data
:
{
barcodeStatus
?:
|
"CREATED"
|
"PENDING"
|
"DECLINED"
|
"EXPIRED"
|
"CANCELLED"
|
"CONSUMED"
|
"VOIDED"
;
sourceAmount
?:
BigNumber
;
status
?:
"ACCEPTED"
|
"ACTIVE"
|
"EXPIRED"
|
"REJECTED"
;
}
;
id
:
string
;
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
DepositQuote
}
|
{
error
:
|
ServiceError
<
|
"ENTITY_NOT_FOUND"
|
"ENTITY_CANNOT_TRANSACT"
|
"PRODUCT_BLOCKED"
|
"PRODUCT_INACTIVE"
|
"NO_ELIGIBLE_ROUTE"
,
>
|
ServiceError
<
QuoteInvariantViolation
>
;
ok
:
false
;
}
,
>
Parameters
args
:
{
data
:
{
barcodeStatus
?:
|
"CREATED"
|
"PENDING"
|
"DECLINED"
|
"EXPIRED"
|
"CANCELLED"
|
"CONSUMED"
|
"VOIDED"
;
sourceAmount
?:
BigNumber
;
status
?:
"ACCEPTED"
|
"ACTIVE"
|
"EXPIRED"
|
"REJECTED"
;
}
;
id
:
string
;
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
DepositQuote
}
|
{
error
:
|
ServiceError
<
|
"ENTITY_NOT_FOUND"
|
"ENTITY_CANNOT_TRANSACT"
|
"PRODUCT_BLOCKED"
|
"PRODUCT_INACTIVE"
|
"NO_ELIGIBLE_ROUTE"
,
>
|
ServiceError
<
QuoteInvariantViolation
>
;
ok
:
false
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
update
@cfxlabsinc/b2b-services
Loading...