LoyaltyObject class
Constructors
LoyaltyObject.new ({String ? accountId , String ? accountName , AppLinkData ? appLinkData , Barcode ? barcode , String ? classId , LoyaltyClass ? classReference , bool ? disableExpirationNotification , GroupingInfo ? groupingInfo , bool ? hasLinkedDevice , bool ? hasUsers , Image ? heroImage , String ? id , List <ImageModuleData > ? imageModulesData , InfoModuleData ? infoModuleData , String ? kind , List <String > ? linkedObjectIds , List <String > ? linkedOfferIds , LinksModuleData ? linksModuleData , List <LatLongPoint > ? locations , LoyaltyPoints ? loyaltyPoints , List <MerchantLocation > ? merchantLocations , List <Message > ? messages , String ? notifyPreference , PassConstraints ? passConstraints , RotatingBarcode ? rotatingBarcode , SaveRestrictions ? saveRestrictions , LoyaltyPoints ? secondaryLoyaltyPoints , String ? smartTapRedemptionValue , String ? state , List <TextModuleData > ? textModulesData , TimeInterval ? validTimeInterval , List <ValueAddedModuleData > ? valueAddedModuleData , String ? version })
LoyaltyObject.fromJson (Map json_ )
Properties
accountId
↔ String ?
The loyalty account identifier.
getter/setter pair
accountName
↔ String ?
The loyalty account holder name, such as "John Smith." Recommended maximum
length is 20 characters to ensure full string is displayed on smaller
screens.
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
barcode
↔ Barcode ?
The barcode type and value.
getter/setter pair
classId
↔ String ?
The class associated with this object.
getter/setter pair
classReference
↔ LoyaltyClass ?
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 setter inherited
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
linkedObjectIds
↔ List <String > ?
linked_object_ids are a list of other objects such as event ticket,
loyalty, offer, generic, giftcard, transit and boarding pass that should
be automatically attached to this loyalty object.
getter/setter pair
linkedOfferIds
↔ List <String > ?
A list of offer objects linked to this loyalty card.
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
loyaltyPoints
↔ LoyaltyPoints ?
The loyalty reward points label, balance, and type.
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
notifyPreference
↔ String ?
Whether or not field updates to this object should trigger notifications.
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 setter inherited
saveRestrictions
↔ SaveRestrictions ?
Restrictions on the object that needs to be verified before the user tries
to save the pass.
getter/setter pair
secondaryLoyaltyPoints
↔ LoyaltyPoints ?
The secondary loyalty reward points label, balance, and type.
getter/setter pair
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
valueAddedModuleData
↔ List <ValueAddedModuleData > ?
Optional value added module data.
getter/setter pair
version
↔ String ?
Deprecated
getter/setter pair