Merchant
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"id": string,
"name": string,
"image": {
object (Image )
},
"phoneNumbers": [
{
object (PhoneNumber )
}
],
"address": {
object (Location )
}
} |
字段 |
id |
string
分配给商家的可选 ID(如果有)。
|
name |
string
商家的名称,例如“帕纳拉面包”。
|
image |
object (Image )
与商家关联的图片。
|
phoneNumbers[] |
object (PhoneNumber )
商家的电话号码。
|
address |
object (Location )
商家的地址。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis documentation outlines the JSON representation for merchant information within a cart, order, or line item.\u003c/p\u003e\n"],["\u003cp\u003eThe representation includes fields for merchant ID, name, image, phone numbers, and address, with links to further details for complex object types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e field is optional, while the \u003ccode\u003ename\u003c/code\u003e field is required for basic identification of the merchant.\u003c/p\u003e\n"]]],["The JSON representation details the structure for a merchant associated with a cart, order, or line item. Key information includes the merchant's `id`, `name`, and `image`. It also allows for an array of `phoneNumbers` and a structured `address`. The `id` is optional, while `name` is a string, `image` is an object, `phoneNumbers` are a collection of objects, and `address` is a structured object.\n"],null,["# Merchant\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nMerchant for the cart/order/line item.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"id\": string, \"name\": string, \"image\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Image) }, \"phoneNumbers\": [ { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/PhoneNumber) } ], \"address\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location) } } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Optional ID assigned to merchant if any. |\n| `name` | `string` The name of the merchant like \"Panera Bread\". |\n| `image` | `object (`[Image](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Image)`)` The image associated with the merchant. |\n| `phoneNumbers[]` | `object (`[PhoneNumber](/assistant/df-asdk/reference/webhook/rest/Shared.Types/PhoneNumber)`)` Merchant's phone numbers. |\n| `address` | `object (`[Location](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location)`)` Merchant's address. |"]]