A gift with stars attached to it.

Constructors

Properties

isUnique: false = ...

Whether this gift is a unique gift

Accessors

  • get availability(): null | { remains: number; total: number }
  • For limited availability gifts, the number of remaining and total gifts available

    Returns null | { remains: number; total: number }

  • get convertStars(): Long
  • Amount of stars the gift can be converted to by the recipient

    Returns Long

  • get id(): Long
  • ID of the gift

    Returns Long

  • get isLimited(): boolean
  • Whether this gift has limited availability

    Returns boolean

  • get isSoldOut(): boolean
  • Whether this gift sold out and cannot be bought anymore

    Returns boolean

  • get purchaseStars(): Long
  • Amount of stars the gift was purchased for

    Returns Long

  • get soldOutInfo(): null | { firstSale: Date; lastSale: Date }
  • Additional information for sold-out gifts

    Returns null | { firstSale: Date; lastSale: Date }

    • null
    • { firstSale: Date; lastSale: Date }
      • firstSale: Date

        Date when the first gift was bought

      • lastSale: Date

        Date when the last gift was bought

  • get sticker(): Sticker
  • Sticker associated with the gift

    Returns Sticker

  • get upgradeStars(): null | Long
  • Amount of stars the gift can be upgraded for

    Returns null | Long