订阅计费政策-SubscriptionBillingPolicy 对象
代表订阅计费政策。
所需的访问
需要all_subscription_contracts或own_subscription_contracts范围。
在本页面
字段
- anchors(
[[SellingPlanAnchor!]!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplananchor)
)
计费间隔计算应使用的特定锚定日期。 - interval(
[SellingPlanInterval!](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplaninterval)
)
与该时间表关联的间隔的类型(例如,每月,每周等)。 - intervalCount(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
)
发票之间的计费间隔数。 - maxCycles(
[Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
)
订阅结束的最大周期数。 - minCycles(
[Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
)
订阅中所需的最小周期数。
返回SubscriptionBillingPolicy的类型
[SubscriptionContract.billingPolicy](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract#billingpolicy-2021-01)
[SubscriptionDraft.billingPolicy](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondraft#billingpolicy-2021-01)