GiftCardClass class

Constructors

GiftCardClass({bool? allowBarcodeRedemption, bool? allowMultipleUsersPerObject, AppLinkData? appLinkData, CallbackOptions? callbackOptions, String? cardNumberLabel, ClassTemplateInfo? classTemplateInfo, String? countryCode, bool? enableSmartTap, String? eventNumberLabel, Image? heroImage, String? hexBackgroundColor, Uri? homepageUri, String? id, List<ImageModuleData>? imageModulesData, InfoModuleData? infoModuleData, String? issuerName, String? kind, LinksModuleData? linksModuleData, LocalizedString? localizedCardNumberLabel, LocalizedString? localizedEventNumberLabel, LocalizedString? localizedIssuerName, LocalizedString? localizedMerchantName, LocalizedString? localizedPinLabel, List<LatLongPoint>? locations, List<MerchantLocation>? merchantLocations, String? merchantName, List<Message>? messages, String? multipleDevicesAndHoldersAllowedStatus, String? notifyPreference, String? pinLabel, List<String>? redemptionIssuers, Review? review, String? reviewStatus, SecurityAnimation? securityAnimation, List<TextModuleData>? textModulesData, List<ValueAddedModuleData>? valueAddedModuleData, String? version, String? viewUnlockRequirement, Image? wordMark})
GiftCardClass.fromJson(Map json_)

Properties

allowBarcodeRedemption ↔ bool?
Determines whether the merchant supports gift card redemption using barcode.
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
cardNumberLabel ↔ String?
The label to display for the card number, such as "Card Number".
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
enableSmartTap ↔ bool?
Identifies whether this class supports Smart Tap.
getter/setter pair
eventNumberLabel ↔ String?
The label to display for event number, such as "Target Event #".
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
localizedCardNumberLabel ↔ LocalizedString?
Translated strings for the card_number_label.
getter/setter pair
localizedEventNumberLabel ↔ LocalizedString?
Translated strings for the event_number_label.
getter/setter pair
localizedIssuerName ↔ LocalizedString?
Translated strings for the issuer_name.
getter/setter pair
localizedMerchantName ↔ LocalizedString?
Translated strings for the merchant_name.
getter/setter pair
localizedPinLabel ↔ LocalizedString?
Translated strings for the pin_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
merchantName ↔ String?
Merchant name, such as "Adam's Apparel".
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
pinLabel ↔ String?
The label to display for the PIN, such as "4-digit PIN".
getter/setter pair
The logo of the gift card program or company.
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
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 gift card. Possible string values are:
getter/setter pair
The wide logo of the gift card 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