LoyaltyClass class

Constructors

LoyaltyClass({String? accountIdLabel, String? accountNameLabel, bool? allowMultipleUsersPerObject, AppLinkData? appLinkData, CallbackOptions? callbackOptions, ClassTemplateInfo? classTemplateInfo, String? countryCode, DiscoverableProgram? discoverableProgram, bool? enableSmartTap, Image? heroImage, String? hexBackgroundColor, Uri? homepageUri, String? id, List<ImageModuleData>? imageModulesData, InfoModuleData? infoModuleData, String? issuerName, String? kind, LinksModuleData? linksModuleData, LocalizedString? localizedAccountIdLabel, LocalizedString? localizedAccountNameLabel, LocalizedString? localizedIssuerName, LocalizedString? localizedProgramName, LocalizedString? localizedRewardsTier, LocalizedString? localizedRewardsTierLabel, LocalizedString? localizedSecondaryRewardsTier, LocalizedString? localizedSecondaryRewardsTierLabel, List<LatLongPoint>? locations, List<MerchantLocation>? merchantLocations, List<Message>? messages, String? multipleDevicesAndHoldersAllowedStatus, String? notifyPreference, String? programName, List<String>? redemptionIssuers, Review? review, String? reviewStatus, String? rewardsTier, String? rewardsTierLabel, String? secondaryRewardsTier, String? secondaryRewardsTierLabel, SecurityAnimation? securityAnimation, List<TextModuleData>? textModulesData, List<ValueAddedModuleData>? valueAddedModuleData, String? version, String? viewUnlockRequirement, Image? wordMark})
LoyaltyClass.fromJson(Map json_)

Properties

accountIdLabel ↔ String?
The account ID label, such as "Member ID." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens.
getter/setter pair
accountNameLabel ↔ String?
The account name label, such as "Member Name." Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens.
getter/setter pair
allowMultipleUsersPerObject ↔ bool?
Use multipleDevicesAndHoldersAllowedStatus instead.
getter/setter pair
appLinkData ↔ AppLinkData?
Optional app or website link that will be displayed as a button on the front of the pass.
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
discoverableProgram ↔ DiscoverableProgram?
Information about how the class may be discovered and instantiated from within the Google Pay app.
getter/setter pair
enableSmartTap ↔ bool?
Identifies whether this class supports Smart Tap.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
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
localizedAccountIdLabel ↔ LocalizedString?
Translated strings for the account_id_label.
getter/setter pair
localizedAccountNameLabel ↔ LocalizedString?
Translated strings for the account_name_label.
getter/setter pair
localizedIssuerName ↔ LocalizedString?
Translated strings for the issuer_name.
getter/setter pair
localizedProgramName ↔ LocalizedString?
Translated strings for the program_name.
getter/setter pair
localizedRewardsTier ↔ LocalizedString?
Translated strings for the rewards_tier.
getter/setter pair
localizedRewardsTierLabel ↔ LocalizedString?
Translated strings for the rewards_tier_label.
getter/setter pair
localizedSecondaryRewardsTier ↔ LocalizedString?
Translated strings for the secondary_rewards_tier.
getter/setter pair
localizedSecondaryRewardsTierLabel ↔ LocalizedString?
Translated strings for the secondary_rewards_tier_label.
getter/setter pair
locations ↔ List<LatLongPoint>?
Note: This field is currently not supported to trigger geo notifications.
getter/setter pair
merchantLocations ↔ List<MerchantLocation>?
Merchant locations.
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
notifyPreference ↔ String?
Whether or not field updates to this class should trigger notifications.
getter/setter pair
The logo of the loyalty program or company.
getter/setter pair
programName ↔ String?
The program name, such as "Adam's Apparel".
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
rewardsTier ↔ String?
The rewards tier, such as "Gold" or "Platinum." Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens.
getter/setter pair
rewardsTierLabel ↔ String?
The rewards tier label, such as "Rewards Tier." Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryRewardsTier ↔ String?
The secondary rewards tier, such as "Gold" or "Platinum."
getter/setter pair
secondaryRewardsTierLabel ↔ String?
The secondary rewards tier label, such as "Rewards Tier."
getter/setter pair
securityAnimation ↔ SecurityAnimation?
Optional information about the security animation.
getter/setter pair
textModulesData ↔ List<TextModuleData>?
Text module data.
getter/setter pair
valueAddedModuleData ↔ List<ValueAddedModuleData>?
Optional value added module data.
getter/setter pair
version ↔ String?
Deprecated
getter/setter pair
viewUnlockRequirement ↔ String?
View Unlock Requirement options for the loyalty card. Possible string values are:
getter/setter pair
The wide logo of the loyalty program or company.
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