ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Interface Magento2Discount

    Discount applied to a tiered or final price in a Magento 2 GraphQL response.

    const discount: Magento2Discount = {
    amount_off: 5,
    percent_off: 10
    };
    interface Magento2Discount {
        amount_off: number;
        percent_off: number;
    }
    Index

    Properties

    amount_off: number

    Absolute discount amount in the price's currency

    percent_off: number

    Percentage discount applied to the regular price