InterfaceItem_LoyaltyMember Model

Loyalty Member information

Nullable
Provider : GeneralProviders

The provider that was used for the Loyalty operation

Nullable
ID : string

The Membership ID as returned by the loyalty system

Nullable
Name : string

The display name to show in POS for the member

Nullable
MembershipTypeID : string

The Membership Type ID we will be using as the default for any member activity that requires a single selection from the membership types list
For example, in Aura loyalty we need to post transactions to a specific linking ID (ie MembershipType.MembershipID) which ties the member to the member type (aura scheme)
When set, this should reference a MembershipType.ID value in the attached MembershipTypes list
EA - NULL (not used)
Aura - NOT NULL (will link to a row in MembershipTypes by the ID field)

Nullable
MembershipTypes : InterfaceItem_LoyaltyMembershipType []

A list of active membership types for this member at the time the member was linked
A Membership Type row represents a single subscription plan (eg EA Loyalty) or membership scheme (eg Aura Loyalty) that the member belongs to.
A member may have multiple MembershipTypes rows (subscriptions/schemes) linked to their account

Nullable
Points : number (decimal)

Contains the current points balance at the time of the member lookup
NULL indicates no points balance is available for the integration

Nullable
DEPRECATED_Entitlements : InterfaceItem_LoyaltyEntitlements

[DEPRECATED]
The entitlements this member is entitled to (eg Member Discounts, Price Levels etc)
This should only be populated during deserialisation from existing records, should not be used otherwise. Can be removed in the future, is only here for upgrade purposes to allow backwards compatibility with older transactions for a short period
Entitlements are now stored as entirely separate interface item records with the type InterfaceItemJSONDataTypes.Loyalty_MemberEntitlements

Example
{
  "Provider": 1,
  "ID": "string value",
  "Name": "string value",
  "MembershipTypeID": "string value",
  "MembershipTypes": [],
  "Points": 1.23,
  "DEPRECATED_Entitlements": {}
}