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。