stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > AppDiscountType

AdminTypes.AppDiscountType interface

A script that defines a discount type.

Signature:

export interface AppDiscountType 

Properties

Property Modifiers Type Description
app   App The app providing the app discount type.
appBridge   FunctionsAppBridge The App Bridge details for discount type configuration.
appKey   Scalars[‘String’][‘output’] The client ID of the app providing the app discount type.
description?   Maybe<Scalars[‘String’][‘output’]> (Optional) A description of the app discount type.
discountClass   DiscountClass | `${DiscountClass}` The class of the app discount type.
functionId   Scalars[‘String’][‘output’] The ID of the function providing the app discount type.
targetType   DiscountApplicationTargetType | `${DiscountApplicationTargetType}` The target type of the app discount type. Possible values: SHIPPING_LINE and LINE_ITEM.
title   Scalars[‘String’][‘output’] The title of the app discount type.