OfferObject class
Constructors
-
OfferObject({AppLinkData? appLinkData, Barcode? barcode, String? classId, OfferClass? classReference, bool? disableExpirationNotification, GroupingInfo? groupingInfo, bool? hasLinkedDevice, bool? hasUsers, Image? heroImage, String? id, List<
ImageModuleData> ? imageModulesData, InfoModuleData? infoModuleData, String? kind, LinksModuleData? linksModuleData, List<LatLongPoint> ? locations, List<Message> ? messages, PassConstraints? passConstraints, RotatingBarcode? rotatingBarcode, String? smartTapRedemptionValue, String? state, List<TextModuleData> ? textModulesData, TimeInterval? validTimeInterval, String? version}) - OfferObject.fromJson(Map json_)
Properties
- appLinkData ↔ AppLinkData?
-
Optional information about the partner app link.
getter/setter pair
- barcode ↔ Barcode?
-
The barcode type and value.
getter/setter pair
- classId ↔ String?
-
The class associated with this object.
getter/setter pair
- classReference ↔ OfferClass?
-
A copy of the inherited fields of the parent class.
getter/setter pair
- disableExpirationNotification ↔ bool?
-
Indicates if notifications should explicitly be suppressed.
getter/setter pair
- groupingInfo ↔ GroupingInfo?
-
Information that controls how passes are grouped together.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLinkedDevice ↔ bool?
-
Whether this object is currently linked to a single device.
getter/setter pair
- hasUsers ↔ bool?
-
Indicates if the object has users.
getter/setter pair
- heroImage ↔ Image?
-
Optional banner image displayed on the front of the card.
getter/setter pair
- id ↔ String?
-
The unique identifier for an object.
getter/setter pair
-
imageModulesData
↔ List<
ImageModuleData> ? -
Image module data.
getter/setter pair
- infoModuleData ↔ InfoModuleData?
-
Use textModulesData instead.
getter/setter pair
- kind ↔ String?
-
Identifies what kind of resource this is.
getter/setter pair
- linksModuleData ↔ LinksModuleData?
-
Links module data.
getter/setter pair
-
locations
↔ List<
LatLongPoint> ? -
Note: This field is currently not supported to trigger geo notifications.
getter/setter pair
-
messages
↔ List<
Message> ? -
An array of messages displayed in the app.
getter/setter pair
- passConstraints ↔ PassConstraints?
-
Pass constraints for the object.
getter/setter pair
- rotatingBarcode ↔ RotatingBarcode?
-
The rotating barcode type and value.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smartTapRedemptionValue ↔ String?
-
The value that will be transmitted to a Smart Tap certified terminal over
NFC for this object.
getter/setter pair
- state ↔ String?
-
The state of the object.
getter/setter pair
-
textModulesData
↔ List<
TextModuleData> ? -
Text module data.
getter/setter pair
- validTimeInterval ↔ TimeInterval?
-
The time period this object will be
active
and object can be used.getter/setter pair - version ↔ String?
-
Deprecated
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited