@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Invoices
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
One
generate
Uri
Query
Embed
get
All
get
Meta
get
One
update
Invoices
Create
Body
Invoices
Create
Request
Object
Invoices
Get
One
Request
Object
Invoices
Options
Invoices
Query
Invoices
Response
Invoices
Simple
Update
Request
Body
Invoices
Update
Body
Invoices
Update
Request
Object
Hierarchy
ThBaseHandler
Invoices
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
One
generate
Uri
Query
Embed
get
All
get
Meta
get
One
update
Constructors
constructor
new
Invoices
(
options
:
InvoicesOptions
, http
:
Client
)
:
Invoices
Parameters
options:
InvoicesOptions
http:
Client
Returns
Invoices
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
InvoicesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/invoices'
Methods
create
create
(
requestObject
:
InvoicesCreateRequestObject
)
:
Promise
<
InvoicesResponse
>
Parameters
requestObject:
InvoicesCreateRequestObject
Returns
Promise
<
InvoicesResponse
>
delete
One
delete
One
(
invoiceId
:
string
)
:
Promise
<
InvoicesResponse
>
Parameters
invoiceId:
string
Returns
Promise
<
InvoicesResponse
>
generate
Uri
Query
Embed
generate
Uri
Query
Embed
(
base
:
string
, query
?:
InvoicesQuery
)
:
string
Parameters
base:
string
Optional
query:
InvoicesQuery
Returns
string
get
All
get
All
(
query
?:
InvoicesQuery
)
:
Promise
<
InvoicesResponse
>
Parameters
Optional
query:
InvoicesQuery
Returns
Promise
<
InvoicesResponse
>
get
Meta
get
Meta
(
)
:
Promise
<
InvoicesResponse
>
Returns
Promise
<
InvoicesResponse
>
get
One
get
One
(
requestObject
:
InvoicesGetOneRequestObject
)
:
Promise
<
InvoicesResponse
>
Parameters
requestObject:
InvoicesGetOneRequestObject
Returns
Promise
<
InvoicesResponse
>
update
update
(
requestObject
:
InvoicesUpdateRequestObject
)
:
Promise
<
InvoicesResponse
>
Parameters
requestObject:
InvoicesUpdateRequestObject
Returns
Promise
<
InvoicesResponse
>
Generated using
TypeDoc