@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Voucher
System
Creation
Failed
Voucher
System
Delete
Failed
Voucher
System
Fetch
Failed
Voucher
System
Put
Failed
Voucher
Systems
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Voucher
Systems
Fetch
Failed
Voucher
System
Voucher
System
Response
Voucher
Systems
Options
Voucher
Systems
Query
Voucher
Systems
Response
Hierarchy
ThBaseHandler
VoucherSystems
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Voucher
Systems
(
options
:
VoucherSystemsOptions
, http
:
Client
)
:
VoucherSystems
Parameters
options:
VoucherSystemsOptions
http:
Client
Returns
VoucherSystems
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
VoucherSystemsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/loyalty/voucher_systems'
Methods
create
create
(
voucherSystemGroup
:
VoucherSystem
)
:
Promise
<
VoucherSystemResponse
>
Parameters
voucherSystemGroup:
VoucherSystem
Returns
Promise
<
VoucherSystemResponse
>
delete
delete
(
voucherSystemId
:
string
)
:
Promise
<
VoucherSystemResponse
>
Parameters
voucherSystemId:
string
Returns
Promise
<
VoucherSystemResponse
>
get
get
(
voucherSystemId
:
string
)
:
Promise
<
VoucherSystemResponse
>
Parameters
voucherSystemId:
string
Returns
Promise
<
VoucherSystemResponse
>
get
All
get
All
(
queryOrOptions
?:
VoucherSystemsQuery
)
:
Promise
<
VoucherSystemsResponse
>
Parameters
Optional
queryOrOptions:
VoucherSystemsQuery
Returns
Promise
<
VoucherSystemsResponse
>
put
put
(
voucherSystemId
:
string
, voucherSystemGroup
:
VoucherSystem
)
:
Promise
<
VoucherSystemResponse
>
Parameters
voucherSystemId:
string
voucherSystemGroup:
VoucherSystem
Returns
Promise
<
VoucherSystemResponse
>
Generated using
TypeDoc