@donation-alerts/api
Version:
Interact with Donation Alerts API.
42 lines • 1.33 kB
TypeScript
import { DataObject } from '@donation-alerts/common';
/** @internal */
export interface DonationAlertsMerchandiseMerchantData {
identifier: string;
name: string;
}
/**
* Represents merchant information as a plain JavaScriptObject.
*/
export interface DonationAlertsMerchandiseMerchantJson {
identifier: string;
name: string;
}
/**
* Represents merchant information.
*
* @remarks
* This class provides details about a merchant associated with Donation Alerts merchandise.
* It includes the merchant's unique identifier and display name.
*/
export declare class DonationAlertsMerchandiseMerchant extends DataObject<DonationAlertsMerchandiseMerchantData, DonationAlertsMerchandiseMerchantJson> {
/**
* Unique merchant ID on Donation Alerts.
*
* @remarks
* A unique identifier assigned to the merchant by the Donation Alerts platform.
*
* @returns The merchant's unique identifier as a string.
*/
get identifier(): string;
/**
* Merchant name.
*
* @remarks
* The human-readable name of the merchant as displayed on Donation Alerts.
*
* @returns The merchant's name as a string.
*/
get name(): string;
toJSON(): DonationAlertsMerchandiseMerchantJson;
}
//# sourceMappingURL=donation-alerts-merchandise-merchant.d.ts.map