SchemaMonetaryAmount class
A monetary value or range. This type can be used to describe an amount of money such as $50 USD, or a range as in describing a bank account being suitable for a balance between £1,000 and £1,000,000 GBP, or the value of a salary, etc. It is recommended to use SchemaPriceSpecification Types to describe the price of an Offer, Invoice, etc. See https://schema.org/MonetaryAmount
Constructors
- SchemaMonetaryAmount.new({String? currency, int? maxValue, int? minValue, String? validFrom, String? validThrough, dynamic value, String? additionalType, String? alternateName, dynamic description, String? disambiguatingDescription, dynamic identifier, dynamic image, dynamic mainEntityOfPage, String? name, SchemaAction? potentialAction, String? sameAs, dynamic subjectOf, String? url})
- Create a new instance of SchemaMonetaryAmount
Properties
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide.
getter/setter pair
- alternateName ↔ String?
-
An alias for the item.
getter/setter pair
- currency ↔ String?
-
//en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other
currency types, e.g. "Ithaca HOUR".
getter/setter pair
- description ↔ dynamic
-
A description of the item.
getter/setter pair
- disambiguatingDescription ↔ String?
-
A sub property of description. A short description of the item used to
disambiguate from other, similar items. Information from other properties
(in particular, name) may be necessary for the description to be useful
for disambiguation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for any kind of
SchemaThing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
dedicated properties for representing many of these, either as textual
strings or as URL (URI) links. See background
notes for more details.
getter/setter pair
- image ↔ dynamic
-
An image of the item. This can be a
SchemaURL
or a fully described SchemaImageObject.getter/setter pair - mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is the main
entity being described. See background
notes for details.
getter/setter pair
- maxValue ↔ int?
-
The upper value of some characteristic or property.
getter/setter pair
- minValue ↔ int?
-
The lower value of some characteristic or property.
getter/setter pair
- name ↔ String?
-
The name of the item.
getter/setter pair
- potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized action in
which this thing would play an 'object' role.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
official website.
getter/setter pair
- subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing.
getter/setter pair
- url ↔ String?
-
URL of the item.
getter/setter pair
- validFrom ↔ String?
-
The date when the item becomes valid.
getter/setter pair
- validThrough ↔ String?
-
The date after when the item is not valid. For example the end of an
offer, salary period, or a period of opening hours.
getter/setter pair
- value ↔ dynamic
-
The value of a SchemaQuantitativeValue (including SchemaObservation)
or property value node.\n\n* For SchemaQuantitativeValue and
SchemaMonetaryAmount, the recommended type for values is 'Number'.\n*
For SchemaPropertyValue, it can be 'Text', 'Number', 'Boolean', or
'StructuredValue'.\n* Use values from 0123456789 (Unicode 'DIGIT ZERO'
(U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar
Unicode symbols.\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than
',' to indicate a decimal point. Avoid using these symbols as a
readability separator.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> - Serialize SchemaMonetaryAmount to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited