Search
Preparing search index...
The search index is not available
merchisdk
Options
All
Public
Public/Protected
All
Inherited
Menu
merchisdk
entities/quote
Quote
Class Quote
Hierarchy
Entity
Quote
Index
Constructors
constructor
Properties
agreed
Deadline
archived
assignments
back
Objects
calculate
Total
create
currency
id
invoice
is
Dirty
key
merchi
properties
Map
quote
Items
shipments
merchi
Methods
calculate
Sub
Total
calculate
Tax
Amount
clean
Dirty
create
Factory
deadline
Time
Difference
delete
find
Quote
Item
Index
from
Json
get
Primary
Key
Value
quote
Total
recover
remove
Quote
Item
save
to
Form
Data
to
Json
update
Order
get
list
Constructors
constructor
new
Quote
(
merchi
?:
Merchi
)
:
Quote
Parameters
Optional
merchi:
Merchi
Returns
Quote
Properties
Optional
agreed
Deadline
agreed
Deadline
:
null
|
Date
Optional
archived
archived
:
null
|
Date
Optional
assignments
assignments
:
Assignment
[]
Readonly
back
Objects
back
Objects
:
Set
<
Entity
>
= ...
calculate
Total
calculate
Total
:
(
options
?:
CalculateOptions
)
=>
string
= ...
Type declaration
(
options
?:
CalculateOptions
)
:
string
Parameters
Optional
options:
CalculateOptions
Returns
string
create
create
:
(
options
?:
CreateOptions
)
=>
Promise
<
Quote
>
= ...
Type declaration
(
options
?:
CreateOptions
)
:
Promise
<
Quote
>
Parameters
Optional
options:
CreateOptions
Returns
Promise
<
Quote
>
Optional
currency
currency
:
string
Optional
id
id
:
number
Optional
invoice
invoice
:
null
|
Invoice
is
Dirty
is
Dirty
:
boolean
= false
key
key
:
string
= ...
merchi
merchi
:
Merchi
properties
Map
properties
Map
:
Map
<
string
,
PropertyInfo
>
Optional
quote
Items
quote
Items
:
QuoteItem
[]
Optional
shipments
shipments
:
Shipment
[]
Static
merchi
merchi
:
Merchi
Methods
calculate
Sub
Total
calculate
Sub
Total
(
options
?:
CalculateOptions
)
:
string
Parameters
Optional
options:
CalculateOptions
Returns
string
calculate
Tax
Amount
calculate
Tax
Amount
(
options
?:
CalculateOptions
)
:
string
Parameters
Optional
options:
CalculateOptions
Returns
string
clean
Dirty
clean
Dirty
(
)
:
void
Returns
void
create
Factory
create
Factory
(
__namedParameters
:
Object
)
:
(
options
?:
CreateOptions
)
=>
Promise
<
this
>
Parameters
__namedParameters:
Object
Returns
(
options
?:
CreateOptions
)
=>
Promise
<
this
>
(
options
?:
CreateOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
CreateOptions
Returns
Promise
<
this
>
deadline
Time
Difference
deadline
Time
Difference
(
)
:
null
|
number
Returns
null
|
number
delete
delete
(
options
?:
DeleteOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
DeleteOptions
Returns
Promise
<
this
>
find
Quote
Item
Index
find
Quote
Item
Index
(
quoteItemId
:
number
)
:
number
Parameters
quoteItemId:
number
Returns
number
from
Json
from
Json
(
json
:
any
, options
?:
FromJsonOptions
)
:
this
Parameters
json:
any
Optional
options:
FromJsonOptions
Returns
this
get
Primary
Key
Value
get
Primary
Key
Value
(
)
:
any
Returns
any
quote
Total
quote
Total
(
options
?:
CalculateOptions
)
:
string
Parameters
Optional
options:
CalculateOptions
Returns
string
recover
recover
(
options
?:
SaveOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
this
>
remove
Quote
Item
remove
Quote
Item
(
quoteItem
:
QuoteItem
)
:
void
Parameters
quoteItem:
QuoteItem
Returns
void
save
save
(
options
?:
SaveOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
this
>
to
Form
Data
to
Form
Data
(
options
?:
SerialiseOptions
, fileIndex
?:
Counter
)
:
FormData
Parameters
Optional
options:
SerialiseOptions
Optional
fileIndex:
Counter
Returns
FormData
to
Json
to
Json
(
)
:
any
Returns
any
update
Order
update
Order
(
property
:
string
)
:
void
Parameters
property:
string
Returns
void
Static
get
get<T>
(
key
:
string
|
number
, options
?:
GetOptions
)
:
Promise
<
InstanceType
<
T
>
>
Type parameters
T
:
typeof
Entity
Parameters
key:
string
|
number
Optional
options:
GetOptions
Returns
Promise
<
InstanceType
<
T
>
>
Static
list
list<T>
(
options
?:
ListOptions
)
:
Promise
<
ListResponse
<
InstanceType
<
T
>
>
>
Type parameters
T
:
typeof
Entity
Parameters
Optional
options:
ListOptions
Returns
Promise
<
ListResponse
<
InstanceType
<
T
>
>
>
Modules
entities/quote
Quote
constructor
agreed
Deadline
archived
assignments
back
Objects
calculate
Total
create
currency
id
invoice
is
Dirty
key
merchi
properties
Map
quote
Items
shipments
merchi
calculate
Sub
Total
calculate
Tax
Amount
clean
Dirty
create
Factory
deadline
Time
Difference
delete
find
Quote
Item
Index
from
Json
get
Primary
Key
Value
quote
Total
recover
remove
Quote
Item
save
to
Form
Data
to
Json
update
Order
get
list
Generated using
TypeDoc