import type * as Square from "../index"; /** * Represents a reward tier in a loyalty program. A reward tier defines how buyers can redeem points for a reward, such as the number of points required and the value and scope of the discount. A loyalty program can offer multiple reward tiers. */ export interface LoyaltyProgramRewardTier { /** The Square-assigned ID of the reward tier. */ id?: string; /** The points exchanged for the reward tier. */ points: number; /** The name of the reward tier. */ name?: string; /** The timestamp when the reward tier was created, in RFC 3339 format. */ createdAt?: string; /** * A reference to the specific version of a `PRICING_RULE` catalog object that contains information about the reward tier discount. * * Use `object_id` and `catalog_version` with the [RetrieveCatalogObject](api-endpoint:Catalog-RetrieveCatalogObject) endpoint * to get discount details. Make sure to set `include_related_objects` to true in the request to retrieve all catalog objects * that define the discount. For more information, see [Getting discount details for a reward tier](https://developer.squareup.com/docs/loyalty-api/loyalty-rewards#get-discount-details). */ pricingRuleReference: Square.CatalogObjectReference; }