@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Abocard
Create
Failed
Abocard
Delete
Failed
Abocard
Fetch
Failed
Abocard
Systems
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
update
Abocard
Update
Failed
Abocards
Fetch
Failed
Abocard
Abocard
Response
Abocards
Options
Abocards
Response
Hierarchy
ThBaseHandler
AbocardSystems
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
update
Constructors
constructor
new
Abocard
Systems
(
options
:
AbocardsOptions
, http
:
Client
)
:
AbocardSystems
Parameters
options:
AbocardsOptions
http:
Client
Returns
AbocardSystems
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
AbocardsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/loyalties'
Methods
create
create
(
abocard
:
Abocard
)
:
Promise
<
AbocardResponse
>
Parameters
abocard:
Abocard
Returns
Promise
<
AbocardResponse
>
delete
delete
(
abocardId
:
string
)
:
Promise
<
AbocardResponse
>
Parameters
abocardId:
string
Returns
Promise
<
AbocardResponse
>
get
get
(
abocardId
:
string
)
:
Promise
<
AbocardResponse
>
Parameters
abocardId:
string
Returns
Promise
<
AbocardResponse
>
get
All
get
All
(
query
?:
Record
<
string
,
unknown
>
)
:
Promise
<
AbocardsResponse
>
Parameters
Optional
query:
Record
<
string
,
unknown
>
Returns
Promise
<
AbocardsResponse
>
update
update
(
abocardId
:
string
, abocard
:
Abocard
)
:
Promise
<
AbocardResponse
>
Parameters
abocardId:
string
abocard:
Abocard
Returns
Promise
<
AbocardResponse
>
Generated using
TypeDoc