OfferClass class

Constructors

OfferClass({bool? allowMultipleUsersPerObject, CallbackOptions? callbackOptions, ClassTemplateInfo? classTemplateInfo, String? countryCode, String? details, bool? enableSmartTap, String? finePrint, Uri? helpUri, Image? heroImage, String? hexBackgroundColor, Uri? homepageUri, String? id, List<ImageModuleData>? imageModulesData, InfoModuleData? infoModuleData, String? issuerName, String? kind, LinksModuleData? linksModuleData, LocalizedString? localizedDetails, LocalizedString? localizedFinePrint, LocalizedString? localizedIssuerName, LocalizedString? localizedProvider, LocalizedString? localizedShortTitle, LocalizedString? localizedTitle, List<LatLongPoint>? locations, List<Message>? messages, String? multipleDevicesAndHoldersAllowedStatus, String? provider, String? redemptionChannel, List<String>? redemptionIssuers, Review? review, String? reviewStatus, SecurityAnimation? securityAnimation, String? shortTitle, List<TextModuleData>? textModulesData, String? title, Image? titleImage, String? version, String? viewUnlockRequirement, Image? wideTitleImage, Image? wordMark})
OfferClass.fromJson(Map json_)

Properties

allowMultipleUsersPerObject bool?
Use multipleDevicesAndHoldersAllowedStatus instead.
getter/setter pair
callbackOptions CallbackOptions?
Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user.
getter/setter pair
classTemplateInfo ClassTemplateInfo?
Template information about how the class should be displayed.
getter/setter pair
countryCode String?
Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.
getter/setter pair
details String?
The details of the offer.
getter/setter pair
enableSmartTap bool?
Identifies whether this class supports Smart Tap.
getter/setter pair
finePrint String?
The fine print or terms of the offer, such as "20% off any t-shirt at Adam's Apparel."
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
helpUri Uri?
The help link for the offer, such as http://myownpersonaldomain.com/help
getter/setter pair
heroImage Image?
Optional banner image displayed on the front of the card.
getter/setter pair
hexBackgroundColor String?
The background color for the card.
getter/setter pair
homepageUri Uri?
The URI of your application's home page.
getter/setter pair
id String?
The unique identifier for a class.
getter/setter pair
imageModulesData List<ImageModuleData>?
Image module data.
getter/setter pair
infoModuleData InfoModuleData?
Use textModulesData instead.
getter/setter pair
issuerName String?
The issuer name.
getter/setter pair
kind String?
Identifies what kind of resource this is.
getter/setter pair
linksModuleData LinksModuleData?
Links module data.
getter/setter pair
localizedDetails LocalizedString?
Translated strings for the details.
getter/setter pair
localizedFinePrint LocalizedString?
Translated strings for the fine_print.
getter/setter pair
localizedIssuerName LocalizedString?
Translated strings for the issuer_name.
getter/setter pair
localizedProvider LocalizedString?
Translated strings for the provider.
getter/setter pair
localizedShortTitle LocalizedString?
Translated strings for the short title.
getter/setter pair
localizedTitle LocalizedString?
Translated strings for the title.
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
multipleDevicesAndHoldersAllowedStatus String?
Identifies whether multiple users and devices will save the same object referencing this class. Possible string values are:
getter/setter pair
provider String?
The offer provider (either the aggregator name or merchant name).
getter/setter pair
redemptionChannel String?
The redemption channels applicable to this offer.
getter/setter pair
redemptionIssuers List<String>?
Identifies which redemption issuers can redeem the pass over Smart Tap.
getter/setter pair
review Review?
The review comments set by the platform when a class is marked approved or rejected.
getter/setter pair
reviewStatus String?
The status of the class.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityAnimation SecurityAnimation?
Optional information about the security animation.
getter/setter pair
shortTitle String?
A shortened version of the title of the offer, such as "20% off," shown to users as a quick reference to the offer contents.
getter/setter pair
textModulesData List<TextModuleData>?
Text module data.
getter/setter pair
title String?
The title of the offer, such as "20% off any t-shirt." Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens.
getter/setter pair
titleImage Image?
The title image of the offer.
getter/setter pair
version String?
Deprecated
getter/setter pair
viewUnlockRequirement String?
View Unlock Requirement options for the offer. Possible string values are:
getter/setter pair
wideTitleImage Image?
The wide title image of the offer.
getter/setter pair
wordMark Image?
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