Search
Preparing search index...
The search index is not available
merchisdk
Options
All
Public
Public/Protected
All
Inherited
Menu
merchisdk
entities/shipment_method
ShipmentMethod
Class ShipmentMethod
Hierarchy
Entity
ShipmentMethod
Index
Constructors
constructor
Properties
back
Objects
buy
Cost
buy
Currency
company
company
Default
create
currency
default
Cost
id
is
Dirty
key
merchi
name
origin
Address
products
properties
Map
tax
Type
transport
Company
variations
merchi
Methods
clean
Dirty
create
Factory
delete
from
Json
get
Primary
Key
Value
recover
save
to
Form
Data
to
Json
update
Order
get
list
Constructors
constructor
new
Shipment
Method
(
merchi
?:
Merchi
)
:
ShipmentMethod
Parameters
Optional
merchi:
Merchi
Returns
ShipmentMethod
Properties
Readonly
back
Objects
back
Objects
:
Set
<
Entity
>
= ...
Optional
buy
Cost
buy
Cost
:
number
Optional
buy
Currency
buy
Currency
:
string
Optional
company
company
:
null
|
Company
Optional
company
Default
company
Default
:
boolean
create
create
:
(
options
?:
CreateOptions
)
=>
Promise
<
ShipmentMethod
>
= ...
Type declaration
(
options
?:
CreateOptions
)
:
Promise
<
ShipmentMethod
>
Parameters
Optional
options:
CreateOptions
Returns
Promise
<
ShipmentMethod
>
Optional
currency
currency
:
string
Optional
default
Cost
default
Cost
:
number
Optional
id
id
:
number
is
Dirty
is
Dirty
:
boolean
= false
key
key
:
string
= ...
merchi
merchi
:
Merchi
Optional
name
name
:
string
Optional
origin
Address
origin
Address
:
null
|
Address
Optional
products
products
:
Product
[]
properties
Map
properties
Map
:
Map
<
string
,
PropertyInfo
>
Optional
tax
Type
tax
Type
:
null
|
CountryTax
Optional
transport
Company
transport
Company
:
null
|
number
Optional
variations
variations
:
ShipmentMethodVariation
[]
Static
merchi
merchi
:
Merchi
Methods
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
>
delete
delete
(
options
?:
DeleteOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
DeleteOptions
Returns
Promise
<
this
>
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
recover
recover
(
options
?:
SaveOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
this
>
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/shipment_
method
Shipment
Method
constructor
back
Objects
buy
Cost
buy
Currency
company
company
Default
create
currency
default
Cost
id
is
Dirty
key
merchi
name
origin
Address
products
properties
Map
tax
Type
transport
Company
variations
merchi
clean
Dirty
create
Factory
delete
from
Json
get
Primary
Key
Value
recover
save
to
Form
Data
to
Json
update
Order
get
list
Generated using
TypeDoc