应用购买-AppPurchase 接口

商店购买一次的服务和功能。


属性

  • createdAt[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01)
    创建应用购买的日期和时间。
  • amount [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    应用购买的名称。
  • price[MoneyV2!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneyv2)
    购买应用程式时要向商店收取的金额。
  • status[AppPurchaseStatus!](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchasestatus)
    应用购买的状态。可能的值包括未决,有效,已拒绝和已取消。
  • test[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
    应用购买是否为测试交易。

实现AppPurchase的类型

  • [AppPurchaseOneTime](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchaseonetime)