LoyaltyData class abstract

In the Payment, Loyalty or Balance Inquiry Request message, it allows the Sale Terminal to send the identification of the loyalty account or an awarded amount or an amount to redeem to the loyalty account. Data related to a Loyalty program or account.

Properties:

  • cardAcquisitionReference - Reference to the last CardAcquisition, to use the same card. If the loyalty account ID comes from a previous CardAcquisition.
  • loyaltyAccountID - Identification of a Loyalty account. If loyalty identification of the loyalty account is realised by the Sale System.
Annotations
  • @BuiltValue.new()

Constructors

LoyaltyData([void updates(LoyaltyDataBuilder b)])
factory

Properties

cardAcquisitionReference TransactionIDType?
Reference to the last CardAcquisition, to use the same card. If the loyalty account ID comes from a previous CardAcquisition.
no setter
hashCode int
The hash code for this object.
no setterinherited
loyaltyAccountID LoyaltyAccountID?
Identification of a Loyalty account. If loyalty identification of the loyalty account is realised by the Sale System.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(LoyaltyDataBuilder)) LoyaltyData
Rebuilds the instance.
inherited
toBuilder() LoyaltyDataBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<LoyaltyData>
no setter