LineItemUpdate
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
已弃用:请改用 V3 Proto。对各个订单项进行更新。应至少指定 orderState
和 price
中的一个。
JSON 表示法 |
{
"orderState": {
object (OrderState )
},
"price": {
object (Price )
},
"reason": string,
"extension": {
"@type": string,
field1: ...,
...
}
} |
字段 |
orderState |
object (OrderState )
新的订单项级状态。
|
price |
object (Price )
订单项的新价格。
|
reason |
string
更改原因。价格变动时必填。
|
extension |
object
更新了订单项附加信息。type 必须与商品的现有附加信息类型一致。 此对象可以包含任意类型的字段。附加字段 "@type" 包含用于标示相应类型的 URI。示例:{ "id": 1234, "@type": "types.example.com/standard/id" } 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-09。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-09-09。"],[[["This JSON representation is deprecated and recommends using V3 Proto instead."],["It describes updates for individual line items, requiring either `orderState` or `price` to be specified."],["The representation includes fields for new line item state (`orderState`), price (`price`), reason for change (`reason`), and extension updates (`extension`)."],["`reason` is mandatory when updating the price of a line item."],["`extension` allows updating the existing extension with new values while maintaining the original extension type."]]],[]]