计算折扣应用-CalculatedDiscountApplication 对象

自动生成的类型,用于通过多个CalculatedDiscountApplications分页。


在本页面


字段

  • edges[[CalculatedDiscountApplicationEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication)
    边列表。
  • pageInfo[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo)
    有助于分页的信息。

一种自动生成的类型,在分页期间包含一个CalculatedDiscountApplication和一个游标。


在本页面


字段

  • cursor[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    用于分页的光标。
  • node[CalculatedDiscountApplication!](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication)
    CalculatedDiscountApplicationEdge末尾的项目。

返回CalculatedDiscountApplicationEdge的类型

  • [CalculatedDiscountApplicationConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication#edges-2021-01)

可能新添加或应用了新更改的订单编辑中涉及的折扣应用程序。


字段

  • locationMethod[DiscountApplicationAllocationMethod!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationallocationmethod)
    折扣值分配给其应享项目的方法。
  • appliedTo ([DiscountApplicationLevel!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationlevel))
    折扣应用的水平。
  • description ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    折扣申请的描述。指示应用折扣的原因。
  • id ([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    全球唯一认证.
  • targetSelection ([DiscountApplicationTargetSelection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationtargetselection))
    折扣金额如何在折扣线上分配
  • targetType ([DiscountApplicationTargetType!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplicationtargettype))
    折扣是否适用于行项目或运输行。
  • value ([PricingValue!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricingvalue))
    应用折扣值。

Types that implement CalculatedDiscountApplication

  • [CalculatedAutomaticDiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedautomaticdiscountapplication)
  • [CalculatedDiscountCodeApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountcodeapplication)
  • [CalculatedManualDiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedmanualdiscountapplication)
  • [CalculatedScriptDiscountApplication](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedscriptdiscountapplication)