Search
Preparing search index...
The search index is not available
@antbat/base-client-js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"repository/models/Offer"
Offer
Class Offer
Hierarchy
Offer
Index
Constructors
constructor
Properties
compare
description
id
image
Url
offer
Prices
owner
rules
tags
title
worth
Methods
get
Price
ById
to
Json
valid
Prices
from
Json
Constructors
constructor
new
Offer
(
description
?:
string
, title
?:
string
, imageUrl
?:
string
, worth
?:
string
, tags
?:
Map
<
String
,
String
>
, compare
?:
Map
<
String
,
String
>
, rules
?:
Map
<
String
,
CompareAction
>
, offerPrices
?:
Array
<
OfferPrice
>
)
:
Offer
Parameters
Default value
description:
string
= ""
Default value
title:
string
= ""
Default value
imageUrl:
string
= ""
Default value
worth:
string
= "0"
Default value
tags:
Map
<
String
,
String
>
= new Map()
Default value
compare:
Map
<
String
,
String
>
= new Map()
Default value
rules:
Map
<
String
,
CompareAction
>
= new Map()
Default value
offerPrices:
Array
<
OfferPrice
>
= new Array<OfferPrice>()
Returns
Offer
Properties
compare
compare
:
Map
<
String
,
String
>
description
description
:
string
id
id
:
number
= 0
image
Url
image
Url
:
string
offer
Prices
offer
Prices
:
OfferPrice
[]
= new Array<OfferPrice>()
owner
owner
:
string
= "0x0"
rules
rules
:
Map
<
String
,
CompareAction
>
tags
tags
:
Map
<
String
,
String
>
title
title
:
string
worth
worth
:
string
Methods
get
Price
ById
get
Price
ById
(
id
:
number
)
:
OfferPrice
|
undefined
Parameters
id:
number
Returns
OfferPrice
|
undefined
to
Json
to
Json
(
)
:
any
Returns
any
valid
Prices
valid
Prices
(
data
:
Map
<
string
,
string
>
)
:
Array
<
OfferPrice
>
Parameters
data:
Map
<
string
,
string
>
Returns
Array
<
OfferPrice
>
Static
from
Json
from
Json
(
json
:
any
)
:
Offer
Parameters
json:
any
Returns
Offer
Globals
"repository/models/
Offer"
Offer
constructor
compare
description
id
image
Url
offer
Prices
owner
rules
tags
title
worth
get
Price
ById
to
Json
valid
Prices
from
Json
Generated using
TypeDoc