InterfaceItem_LoyaltyPointsRedemption Model

Loyalty Points Redemption information

Nullable
Provider : GeneralProviders

The provider that was used for the Loyalty operation

Nullable
CalcMethod : InterfaceItemLoyaltyPointsRedemptionCalculationMethod

The calculation method used for the points redemptions

Nullable
CalcMethodValue : number (decimal)

The method value used for the points redemption calculation (eg for fixed points method, this is the number of fixed points, for points per dollar, this is the ratio)

Nullable
CalcRedeemRatio : number (decimal)

(OPTIONAL) This is the providers redemption ratio that they apply on top of our calculation.

IsDeferred : bool

Is this a deferred points redemption?

Nullable
ID : string

The ID as returned by the loyalty system for the points redemption itself
Will ALWAYS be NULL when IsDeferred is TRUE
May be NULL when IsDeferred is FALSE if provider doesn't supply an ID during redemption process

Nullable
Value : number (decimal)

The value of the points redemption (ie how many points were redeemed in the operation)
Positive values are redemptions, Negative values are reversals
Will ALWAYS be NULL when IsDeferred is TRUE
May be NULL when IsDeferred is FALSE if provider doesn't tell us how many points were used for the redemption

Example
{
  "Provider": 1,
  "CalcMethod": 1,
  "CalcMethodValue": 1.23,
  "CalcRedeemRatio": 1.23,
  "IsDeferred": true,
  "ID": "string value",
  "Value": 1.23
}