whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
vendor
/
square
/
square
/
doc
/
models
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/vendor/square/square/doc/models/loyalty-event-other.md
# Loyalty Event Other Provides metadata when the event `type` is `OTHER`. ## Structure `LoyaltyEventOther` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `loyaltyProgramId` | `string` | Required | The Square-assigned ID of the [loyalty program](entity:LoyaltyProgram).<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `36` | getLoyaltyProgramId(): string | setLoyaltyProgramId(string loyaltyProgramId): void | | `points` | `int` | Required | The number of points added or removed. | getPoints(): int | setPoints(int points): void | ## Example (as JSON) ```json { "loyalty_program_id": "loyalty_program_id0", "points": 236 } ```
Copyright ©2021 || Defacer Indonesia