Enums

This is a list of enums used in Loyale.

Enum NameValues
ActivityTypeAlertLink = 0, CouponLink = 1, CouponUsage = 2, PunchCardLink = 3, PunchCardUse = 4, TransactionGroup = 5, LotteryTicketAssigned = 6
AlertLinkedStatusNew = 0, Opened = 1, Dismissed = 2
GenderMale = 0, Female = 1, NonBinary = 2, Unspecified = 3
LoyaleTransactionTypePurchase = 0, PositiveAdjustment = 1, NegativeAdjustment = 2, Redeem = 3, Refund = 4, TopUp = 5 , OnHold = 6
LocationTypePhysical = 0, Webstore = 1
MessageStatusNew = 0, WaitingForCustomer = 1, Solved = 2
LotteryStatusUpComing = 0, OnGoing =1, Closed = 2, Drawn = 3
PunchCardActionTypeBuy = 0, Collect = 1
RoundingNearest = 0, Up = 1, Down = 2, None = 3
SchemeOriginLoyale = 0, Shopify = 1
SchemeStatusTrial = 0, Active = 1, Closed = 2, Provisional = 3, Suspended = 4
QrCodeTypeCustomer = 0, Coupon = 1, PunchCard = 2
FeedbackLinkedStatusNew = 0, Opened = 1, Dismissed = 2

Note:

  • SchemeStatus: Provisional indicates that a scheme has missed a payment, the scheme will still work in this time but if the provisional period passes and the payment would not be complete then it will be put into the Suspended state which means that users will no longer be able to use this scheme. The Closed status indicates that the owner no longer wishes to use this scheme.
  • QrCodeType: This is used to identify which model the QR Code generate endpoint will build.