ModifierIntegrationAttributes

与用于下游集成的修饰符关联的元数据。

JSON 表示法
{
  "customIntegrationAttributes": {
    object
  },
  "toastAttributes": {
    object (ToastModifierIntegrationAttributes)
  }
}
字段
customIntegrationAttributes

object (Struct format)

可选。要与实体关联的任意元数据,用于构建下游集成,例如用于构建要提交到第三方销售点 API 的订单的标识符或架构信息。

toastAttributes

object (ToastModifierIntegrationAttributes)

可选。表示与此修饰符关联的元数据,用于 Toast 集成。如果商店未启用 Toast 集成,系统会忽略此字段。

ToastModifierIntegrationAttributes

表示 Toast 菜单中修饰符的属性。

JSON 表示法
{
  "guid": string,
  "isPreModifier": boolean
}
字段
guid

string

可选。表示 Toast 菜单中商品的修饰符选项 guid。

isPreModifier

boolean

可选。如果为 true,则此修饰符表示 Toast PreModifier。