@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/clients
greendot
GreendotBarcodeClient
Class GreendotBarcodeClient
Hierarchy
GreendotBaseClient
GreendotBarcodeClient
Index
Constructors
constructor
Properties
client
Methods
create
Barcode
get
Barcode
get
Barcodes
ping
Constructors
constructor
new
GreendotBarcodeClient
(
__namedParameters
:
{
baseUrl
:
string
;
secretKey
:
string
}
,
)
:
GreendotBarcodeClient
Parameters
__namedParameters
:
{
baseUrl
:
string
;
secretKey
:
string
}
Returns
GreendotBarcodeClient
Properties
Protected
Readonly
client
client
:
Client
<
paths
>
Methods
create
Barcode
createBarcode
(
req
:
CreateBarcodeRequest
,
)
:
Promise
<
{
barcodeId
:
string
|
undefined
;
barcodeIdExpiration
:
string
|
undefined
;
barcodeLink
:
string
|
undefined
;
barcodePaymentType
:
0
|
1
|
2
|
3
|
undefined
;
barcodeType
:
0
|
1
|
2
|
3
|
4
|
undefined
;
partnerTransactionReference
:
string
|
undefined
;
responseCode
:
number
|
undefined
;
responseDate
:
string
|
undefined
;
responseMessage
:
string
|
undefined
;
retailerKey
:
number
|
undefined
;
retailerName
:
string
|
undefined
;
transactionReference
:
string
|
undefined
;
}
,
>
Parameters
req
:
CreateBarcodeRequest
Returns
Promise
<
{
barcodeId
:
string
|
undefined
;
barcodeIdExpiration
:
string
|
undefined
;
barcodeLink
:
string
|
undefined
;
barcodePaymentType
:
0
|
1
|
2
|
3
|
undefined
;
barcodeType
:
0
|
1
|
2
|
3
|
4
|
undefined
;
partnerTransactionReference
:
string
|
undefined
;
responseCode
:
number
|
undefined
;
responseDate
:
string
|
undefined
;
responseMessage
:
string
|
undefined
;
retailerKey
:
number
|
undefined
;
retailerName
:
string
|
undefined
;
transactionReference
:
string
|
undefined
;
}
,
>
get
Barcode
getBarcode
(
req
:
{
barcodeId
:
string
;
retailerKey
:
number
}
,
)
:
Promise
<
{
amount
:
number
|
undefined
;
barcodeChangeDate
:
string
|
undefined
;
barcodeId
:
string
|
undefined
;
barcodeIdExpiration
:
string
|
undefined
;
barcodeStatus
:
number
|
undefined
;
partnerTransactionReference
:
string
|
undefined
;
responseCode
:
number
|
undefined
;
responseDate
:
string
|
undefined
;
responseMessage
:
string
|
undefined
;
retailerKey
:
number
|
undefined
;
retailerName
:
string
|
undefined
;
senderCustomerRef
:
string
|
undefined
;
transactionReference
:
string
|
undefined
;
}
,
>
Parameters
req
:
{
barcodeId
:
string
;
retailerKey
:
number
}
Returns
Promise
<
{
amount
:
number
|
undefined
;
barcodeChangeDate
:
string
|
undefined
;
barcodeId
:
string
|
undefined
;
barcodeIdExpiration
:
string
|
undefined
;
barcodeStatus
:
number
|
undefined
;
partnerTransactionReference
:
string
|
undefined
;
responseCode
:
number
|
undefined
;
responseDate
:
string
|
undefined
;
responseMessage
:
string
|
undefined
;
retailerKey
:
number
|
undefined
;
retailerName
:
string
|
undefined
;
senderCustomerRef
:
string
|
undefined
;
transactionReference
:
string
|
undefined
;
}
,
>
get
Barcodes
getBarcodes
(
req
:
{
endDate
:
Date
;
senderCustomerRef
:
string
;
startDate
:
Date
}
,
)
:
Promise
<
{
barcodes
:
{
amount
:
number
|
undefined
;
barcodeChangeDate
:
string
|
undefined
;
barcodeId
:
string
|
undefined
;
barcodeIdExpiration
:
string
|
undefined
;
barcodeStatus
:
number
|
undefined
;
retailerKey
:
number
|
undefined
;
retailerName
:
string
|
undefined
;
senderCustomerRef
:
string
|
undefined
;
}
[]
;
partnerTransactionReference
:
string
|
undefined
;
responseCode
:
number
|
undefined
;
responseDate
:
string
|
undefined
;
responseMessage
:
string
|
undefined
;
searchCount
:
number
|
undefined
;
transactionReference
:
string
|
undefined
;
}
,
>
Parameters
req
:
{
endDate
:
Date
;
senderCustomerRef
:
string
;
startDate
:
Date
}
Returns
Promise
<
{
barcodes
:
{
amount
:
number
|
undefined
;
barcodeChangeDate
:
string
|
undefined
;
barcodeId
:
string
|
undefined
;
barcodeIdExpiration
:
string
|
undefined
;
barcodeStatus
:
number
|
undefined
;
retailerKey
:
number
|
undefined
;
retailerName
:
string
|
undefined
;
senderCustomerRef
:
string
|
undefined
;
}
[]
;
partnerTransactionReference
:
string
|
undefined
;
responseCode
:
number
|
undefined
;
responseDate
:
string
|
undefined
;
responseMessage
:
string
|
undefined
;
searchCount
:
number
|
undefined
;
transactionReference
:
string
|
undefined
;
}
,
>
ping
ping
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
Methods
create
Barcode
get
Barcode
get
Barcodes
ping
@cfxlabsinc/b2b-services
Loading...