functionId:
String! -
The ID for the function providing the app discount type.
Returns
app:
App!
The name of the app extension that's providing the
[discount type](https://help.shopify.com/manual/discounts/discount-types).
appBridge:
FunctionsAppBridge!
The [App Bridge configuration](https://shopify.dev/docs/api/app-bridge)
for the [discount type](https://help.shopify.com/manual/discounts/discount-types).
appKey:
String!
The [client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets)
of the app extension that's providing the [discount type](https://help.shopify.com/manual/discounts/discount-types).
description:
String
A description of the
[discount type](https://help.shopify.com/manual/discounts/discount-types)
provided by the app extension.
discountClass:
DiscountClass!
The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)
that's used to control how discounts can be combined.
functionId:
String!
The
[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries)
associated with the app extension providing the
[discount type](https://help.shopify.com/manual/discounts/discount-types).
targetType:
DiscountApplicationTargetType!
The type of line item on an order that the
[discount type](https://help.shopify.com/manual/discounts/discount-types) applies to.
Valid values: `SHIPPING_LINE` and `LINE_ITEM`.
title:
String!
The name of the [discount type](https://help.shopify.com/manual/discounts/discount-types)
that the app extension is providing.