coco-react-native-sdk
    Preparing search index...

    Interface DiscountCode

    Represents an order discount code.

    interface DiscountCode {
        amount: number;
        code: string;
    }
    Index

    Properties

    Properties

    amount: number

    The discounted amount.

    code: string

    The discount code string.

    Typically this is some coupon or promo code string entered by the user to apply the discount to the order.