Search
Preparing search index...
The search index is not available
merchisdk
Options
All
Public
Public/Protected
All
Inherited
Menu
merchisdk
entities/variation_fields_option
VariationFieldsOption
Class VariationFieldsOption
Hierarchy
Entity
VariationFieldsOption
Index
Constructors
constructor
Properties
archived
back
Objects
buy
Cost
buy
Unit
Cost
colour
create
currency
default
id
inventory
Unit
Variations
is
Dirty
key
linked
File
merchi
position
properties
Map
selected
ByVariations
value
variation
Cost
variation
Cost
Discount
Group
variation
Field
variation
Unit
Cost
variation
Unit
Cost
Discount
Group
merchi
Methods
build
Variation
Option
clean
Dirty
create
Factory
delete
from
Json
get
Primary
Key
Value
recover
save
to
Form
Data
to
Json
total
Cost
update
Order
get
list
Constructors
constructor
new
Variation
Fields
Option
(
merchi
?:
Merchi
)
:
VariationFieldsOption
Parameters
Optional
merchi:
Merchi
Returns
VariationFieldsOption
Properties
Optional
archived
archived
:
null
|
Date
Readonly
back
Objects
back
Objects
:
Set
<
Entity
>
= ...
Optional
buy
Cost
buy
Cost
:
number
Optional
buy
Unit
Cost
buy
Unit
Cost
:
number
Optional
colour
colour
:
null
|
string
create
create
:
(
options
?:
CreateOptions
)
=>
Promise
<
VariationFieldsOption
>
= ...
Type declaration
(
options
?:
CreateOptions
)
:
Promise
<
VariationFieldsOption
>
Parameters
Optional
options:
CreateOptions
Returns
Promise
<
VariationFieldsOption
>
Optional
currency
currency
:
string
Optional
default
default
:
boolean
Optional
id
id
:
number
Optional
inventory
Unit
Variations
inventory
Unit
Variations
:
InventoryUnitVariation
[]
is
Dirty
is
Dirty
:
boolean
= false
key
key
:
string
= ...
Optional
linked
File
linked
File
:
null
|
MerchiFile
merchi
merchi
:
Merchi
Optional
position
position
:
number
properties
Map
properties
Map
:
Map
<
string
,
PropertyInfo
>
Optional
selected
ByVariations
selected
ByVariations
:
Variation
[]
Optional
value
value
:
null
|
string
Optional
variation
Cost
variation
Cost
:
number
Optional
variation
Cost
Discount
Group
variation
Cost
Discount
Group
:
null
|
DiscountGroup
Optional
variation
Field
variation
Field
:
null
|
VariationField
Optional
variation
Unit
Cost
variation
Unit
Cost
:
number
Optional
variation
Unit
Cost
Discount
Group
variation
Unit
Cost
Discount
Group
:
null
|
DiscountGroup
Static
merchi
merchi
:
Merchi
Methods
build
Variation
Option
build
Variation
Option
(
)
:
VariationOption
Returns
VariationOption
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
total
Cost
total
Cost
(
quantity
:
number
)
:
number
Parameters
quantity:
number
Returns
number
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/variation_
fields_
option
Variation
Fields
Option
constructor
archived
back
Objects
buy
Cost
buy
Unit
Cost
colour
create
currency
default
id
inventory
Unit
Variations
is
Dirty
key
linked
File
merchi
position
properties
Map
selected
ByVariations
value
variation
Cost
variation
Cost
Discount
Group
variation
Field
variation
Unit
Cost
variation
Unit
Cost
Discount
Group
merchi
build
Variation
Option
clean
Dirty
create
Factory
delete
from
Json
get
Primary
Key
Value
recover
save
to
Form
Data
to
Json
total
Cost
update
Order
get
list
Generated using
TypeDoc