@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Product
Addons
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
meta
put
Price
Change
Product
Addon
Product
Addon
Options
Product
Addon
Query
Product
Addon
Response
Product
Addons
Response
Hierarchy
ThBaseHandler
ProductAddons
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
meta
put
Constructors
constructor
new
Product
Addons
(
options
:
ProductAddonOptions
, http
:
Client
)
:
ProductAddons
Parameters
options:
ProductAddonOptions
http:
Client
Returns
ProductAddons
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ProductAddonOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/product_addons'
Methods
create
create
(
productAddon
:
ProductAddon
)
:
Promise
<
ProductAddonResponse
>
Parameters
productAddon:
ProductAddon
Returns
Promise
<
ProductAddonResponse
>
delete
delete
(
productAddonId
:
string
)
:
Promise
<
ProductAddonResponse
>
Parameters
productAddonId:
string
Returns
Promise
<
ProductAddonResponse
>
get
get
(
productAddonId
:
string
)
:
Promise
<
ProductAddonResponse
>
Parameters
productAddonId:
string
Returns
Promise
<
ProductAddonResponse
>
get
All
get
All
(
query
?:
ProductAddonQuery
)
:
Promise
<
ProductAddonsResponse
>
Parameters
Optional
query:
ProductAddonQuery
Returns
Promise
<
ProductAddonsResponse
>
meta
meta
(
)
:
Promise
<
ProductAddonsResponse
>
Returns
Promise
<
ProductAddonsResponse
>
put
put
(
productAddonId
:
string
, productAddon
:
ProductAddon
)
:
Promise
<
ProductAddonResponse
>
Parameters
productAddonId:
string
productAddon:
ProductAddon
Returns
Promise
<
ProductAddonResponse
>
Generated using
TypeDoc