Class MarketAttachment

Hierarchy (view full)

Constructors

Properties

$filled: boolean
api: API
photos?: PhotoAttachment[]
type: "market" | MARKET

Accessors

  • get category(): undefined | {
        id: number;
        name: string;
        section: {
            id: number;
            name: string;
        };
    }
  • Returns product category

    Returns undefined | {
        id: number;
        name: string;
        section: {
            id: number;
            name: string;
        };
    }

  • get dimensions(): undefined | {
        height: number;
        length: number;
        width: number;
    }
  • Returns product dimensions

    Returns undefined | {
        height: number;
        length: number;
        width: number;
    }

  • get price(): undefined | {
        amount: string;
        currency: {
            id: number;
            name: string;
        };
        old_amount?: string;
        text: string;
    }
  • Returns product price

    Returns undefined | {
        amount: string;
        currency: {
            id: number;
            name: string;
        };
        old_amount?: string;
        text: string;
    }

Methods

Generated using TypeDoc