@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/deposit-services
legacy
LegacyGreendotBarcodeService
Class LegacyGreendotBarcodeService
Index
Constructors
constructor
Methods
create
get
search
Constructors
constructor
new
LegacyGreendotBarcodeService
(
args
:
{
cashDepositRetailerService
:
CashDepositRetailerService
;
greendotBarcodeClient
:
GreendotBarcodeClient
;
}
,
)
:
LegacyGreendotBarcodeService
Parameters
args
:
{
cashDepositRetailerService
:
CashDepositRetailerService
;
greendotBarcodeClient
:
GreendotBarcodeClient
;
}
Returns
LegacyGreendotBarcodeService
Methods
create
create
(
params
:
Pick
<
LegacyCashDepositRequest
,
|
"amount"
|
"entityId"
|
"metadata"
|
"reference"
|
"deviceIpAddress"
|
"deviceLocation"
|
"wallet"
|
"retailerId"
,
>
&
{
user
:
{
address
?:
string
;
email
:
string
;
firstName
:
string
;
lastName
:
string
;
phone
:
string
;
zipcode
:
string
;
}
&
{
email
:
string
;
phone
:
string
}
;
}
,
)
:
Promise
<
GreendotBarcode
>
Parameters
params
:
Pick
<
LegacyCashDepositRequest
,
|
"amount"
|
"entityId"
|
"metadata"
|
"reference"
|
"deviceIpAddress"
|
"deviceLocation"
|
"wallet"
|
"retailerId"
,
>
&
{
user
:
{
address
?:
string
;
email
:
string
;
firstName
:
string
;
lastName
:
string
;
phone
:
string
;
zipcode
:
string
;
}
&
{
email
:
string
;
phone
:
string
}
;
}
Returns
Promise
<
GreendotBarcode
>
get
get
(
__namedParameters
:
{
id
:
string
;
retailerId
:
string
}
,
)
:
Promise
<
{
expiresAt
:
string
;
id
:
string
;
lastUpdatedAt
:
string
;
status
:
|
"voided"
|
"new"
|
"pending"
|
"consumed"
|
"expired"
|
"cancelled"
|
"declined"
;
}
,
>
Parameters
__namedParameters
:
{
id
:
string
;
retailerId
:
string
}
Returns
Promise
<
{
expiresAt
:
string
;
id
:
string
;
lastUpdatedAt
:
string
;
status
:
|
"voided"
|
"new"
|
"pending"
|
"consumed"
|
"expired"
|
"cancelled"
|
"declined"
;
}
,
>
search
search
(
__namedParameters
:
{
endDate
:
Date
;
entityId
:
string
;
startDate
:
Date
}
,
)
:
Promise
<
{
expiresAt
:
string
;
id
:
string
;
lastUpdatedAt
:
string
;
status
:
|
"voided"
|
"new"
|
"pending"
|
"consumed"
|
"expired"
|
"cancelled"
|
"declined"
;
}
[]
,
>
Parameters
__namedParameters
:
{
endDate
:
Date
;
entityId
:
string
;
startDate
:
Date
}
Returns
Promise
<
{
expiresAt
:
string
;
id
:
string
;
lastUpdatedAt
:
string
;
status
:
|
"voided"
|
"new"
|
"pending"
|
"consumed"
|
"expired"
|
"cancelled"
|
"declined"
;
}
[]
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
get
search
@cfxlabsinc/b2b-services
Loading...