@ptkl/sdk - v0.9.9
Preparing search index...
Invoicing
Class Invoicing
Hierarchy
default
Invoicing
Index
Constructors
constructor
Properties
client
env
host
token
Methods
accept
Purchase
Invoice
get
Sales
Invoices
request
set
Client
Constructors
constructor
new
Invoicing
(
options
?:
{
env
?:
string
;
host
?:
string
;
token
?:
string
}
,
)
:
Invoicing
Parameters
Optional
options
:
{
env
?:
string
;
host
?:
string
;
token
?:
string
}
Returns
Invoicing
Properties
client
client
:
AxiosInstance
Protected
env
env
:
null
|
string
= null
Protected
host
host
:
null
|
string
= null
Protected
token
token
:
null
|
string
= null
Methods
accept
Purchase
Invoice
acceptPurchaseInvoice
(
provider
:
string
,
id
:
string
,
comment
:
string
,
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
provider
:
string
id
:
string
comment
:
string
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
get
Sales
Invoices
getSalesInvoices
(
provider
:
string
,
page
:
number
,
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
provider
:
string
page
:
number
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
request
request
(
method
:
string
,
endpoint
:
string
,
params
:
any
,
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
method
:
string
endpoint
:
string
params
:
any
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
set
Client
setClient
(
client
:
AxiosInstance
)
:
Invoicing
Parameters
client
:
AxiosInstance
Returns
Invoicing
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
env
host
token
Methods
accept
Purchase
Invoice
get
Sales
Invoices
request
set
Client
@ptkl/sdk - v0.9.9
Loading...