Class DonationAlertsMerchandise

Represents Donation Alerts merchandise.

This class provides detailed information about Donation Alerts merchandise items, such as the associated merchant, pricing details, availability status, and localized titles. It parses and exposes raw data provided by the Donation Alerts API for ease of use.

Hierarchy

Accessors

  • get endDate(): null | Date

    Merchandising end date.

    Returns null | Date

    A Date object indicating the end date, or null if not set.

    The date and time at which the merchandise becomes inactive and unavailable for purchase.

    If no end date is set, null is returned.

  • get identifier(): string

    Unique ID of the merchandise on the merchant's platform.

    Returns string

    The merchant's unique merchandise ID as a string.

    This identifier is set by the merchant and is unique to their platform or online store.

  • get isPercentage(): boolean

    Pricing mode for the merchandise.

    Returns boolean

    true if pricing is percentage-based; otherwise false.

    Indicates whether the revenue (priceUser and priceService) is calculated as an absolute amount or a percentage of the total.

Methods