Bump version to 1.0.9; update JSON schemas; add new APIs

This commit is contained in:
Sebastian Thiel
2019-07-05 11:32:35 +08:00
parent 99e97ceece
commit e42ebc0c2b
2442 changed files with 190984 additions and 71186 deletions

View File

@@ -4,12 +4,12 @@
[package]
name = "google-content2"
version = "1.0.8+20190327"
version = "1.0.9+20190702"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Shopping Content (protocol v2)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2"
homepage = "https://developers.google.com/shopping-content"
documentation = "https://docs.rs/google-content2/1.0.8+20190327"
documentation = "https://docs.rs/google-content2/1.0.9+20190702"
license = "MIT"
keywords = ["content", "google", "protocol", "web", "api"]
autobins = false

View File

@@ -6,7 +6,7 @@ DO NOT EDIT !
The MIT License (MIT)
=====================
Copyright © `2015-2016` `Sebastian Thiel`
Copyright © `2015-2019` `Sebastian Thiel`
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation

View File

@@ -5,46 +5,46 @@ DO NOT EDIT !
-->
The `google-content2` library allows access to all features of the *Google Shopping Content* service.
This documentation was generated from *Shopping Content* crate version *1.0.8+20190327*, where *20190327* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.8*.
This documentation was generated from *Shopping Content* crate version *1.0.9+20190702*, where *20190702* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.9*.
Everything else about the *Shopping Content* *v2* API can be found at the
[official documentation site](https://developers.google.com/shopping-content).
# Features
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShoppingContent.html) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShoppingContent.html) ...
* [accounts](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.Account.html)
* [*authinfo*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountAuthinfoCall.html), [*claimwebsite*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountClaimwebsiteCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountInsertCall.html), [*link*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountLinkCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountUpdateCall.html)
* [accounts](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.Account.html)
* [*authinfo*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountAuthinfoCall.html), [*claimwebsite*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountClaimwebsiteCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountInsertCall.html), [*link*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountLinkCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountUpdateCall.html)
* accountstatuses
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccountstatuseListCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccountstatuseListCall.html)
* accounttax
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccounttaxCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccounttaxGetCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccounttaxListCall.html), [*patch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccounttaxPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.AccounttaxUpdateCall.html)
* [datafeeds](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.Datafeed.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedDeleteCall.html), [*fetchnow*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedFetchnowCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedListCall.html), [*patch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedUpdateCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccounttaxCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccounttaxGetCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccounttaxListCall.html), [*patch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccounttaxPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.AccounttaxUpdateCall.html)
* [datafeeds](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.Datafeed.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedDeleteCall.html), [*fetchnow*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedFetchnowCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedListCall.html), [*patch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedUpdateCall.html)
* datafeedstatuses
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.DatafeedstatuseListCall.html)
* [inventory](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.Inventory.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.InventoryCustombatchCall.html) and [*set*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.InventorySetCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.DatafeedstatuseListCall.html)
* [inventory](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.Inventory.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.InventoryCustombatchCall.html) and [*set*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.InventorySetCall.html)
* liasettings
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingGetCall.html), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingGetaccessiblegmbaccountCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingListCall.html), [*listposdataproviders*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingListposdataproviderCall.html), [*patch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingPatchCall.html), [*requestgmbaccess*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingRequestgmbaccesCall.html), [*requestinventoryverification*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingRequestinventoryverificationCall.html), [*setinventoryverificationcontact*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingSetinventoryverificationcontactCall.html), [*setposdataprovider*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingSetposdataproviderCall.html) and [*update*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.LiasettingUpdateCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingGetCall.html), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingGetaccessiblegmbaccountCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingListCall.html), [*listposdataproviders*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingListposdataproviderCall.html), [*patch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingPatchCall.html), [*requestgmbaccess*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingRequestgmbaccesCall.html), [*requestinventoryverification*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingRequestinventoryverificationCall.html), [*setinventoryverificationcontact*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingSetinventoryverificationcontactCall.html), [*setposdataprovider*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingSetposdataproviderCall.html) and [*update*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.LiasettingUpdateCall.html)
* orderinvoices
* [*createchargeinvoice*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderinvoiceCreatechargeinvoiceCall.html) and [*createrefundinvoice*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderinvoiceCreaterefundinvoiceCall.html)
* [*createchargeinvoice*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderinvoiceCreatechargeinvoiceCall.html) and [*createrefundinvoice*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderinvoiceCreaterefundinvoiceCall.html)
* orderpayments
* [*notifyauthapproved*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderpaymentNotifyauthapprovedCall.html), [*notifyauthdeclined*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderpaymentNotifyauthdeclinedCall.html), [*notifycharge*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderpaymentNotifychargeCall.html) and [*notifyrefund*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderpaymentNotifyrefundCall.html)
* [*notifyauthapproved*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderpaymentNotifyauthapprovedCall.html), [*notifyauthdeclined*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderpaymentNotifyauthdeclinedCall.html), [*notifycharge*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderpaymentNotifychargeCall.html) and [*notifyrefund*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderpaymentNotifyrefundCall.html)
* orderreports
* [*listdisbursements*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderreportListdisbursementCall.html) and [*listtransactions*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderreportListtransactionCall.html)
* [*listdisbursements*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderreportListdisbursementCall.html) and [*listtransactions*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderreportListtransactionCall.html)
* orderreturns
* [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderreturnGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderreturnListCall.html)
* [orders](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.Order.html)
* [*acknowledge*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderCancellineitemCall.html), [*canceltestorderbycustomer*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderCanceltestorderbycustomerCall.html), [*createtestorder*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderCreatetestorderCall.html), [*createtestreturn*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderCreatetestreturnCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderGettestordertemplateCall.html), [*instorerefundlineitem*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderInstorerefundlineitemCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderRefundCall.html), [*rejectreturnlineitem*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderRejectreturnlineitemCall.html), [*returnlineitem*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderReturnlineitemCall.html), [*returnrefundlineitem*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderReturnrefundlineitemCall.html), [*setlineitemmetadata*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderSetlineitemmetadataCall.html), [*shiplineitems*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderShiplineitemCall.html), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderUpdatelineitemshippingdetailCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.OrderUpdateshipmentCall.html)
* [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderreturnGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderreturnListCall.html)
* [orders](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.Order.html)
* [*acknowledge*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderCancellineitemCall.html), [*canceltestorderbycustomer*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderCanceltestorderbycustomerCall.html), [*createtestorder*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderCreatetestorderCall.html), [*createtestreturn*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderCreatetestreturnCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderGettestordertemplateCall.html), [*instorerefundlineitem*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderInstorerefundlineitemCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderRefundCall.html), [*rejectreturnlineitem*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderRejectreturnlineitemCall.html), [*returnlineitem*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderReturnlineitemCall.html), [*returnrefundlineitem*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderReturnrefundlineitemCall.html), [*setlineitemmetadata*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderSetlineitemmetadataCall.html), [*shiplineitems*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderShiplineitemCall.html), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderUpdatelineitemshippingdetailCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.OrderUpdateshipmentCall.html)
* pos
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoInsertCall.html), [*inventory*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoInventoryCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoListCall.html) and [*sale*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.PoSaleCall.html)
* [products](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.Product.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductInsertCall.html) and [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductListCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoInsertCall.html), [*inventory*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoInventoryCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoListCall.html) and [*sale*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.PoSaleCall.html)
* [products](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.Product.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductInsertCall.html) and [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductListCall.html)
* productstatuses
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ProductstatuseListCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ProductstatuseListCall.html)
* shippingsettings
* [*custombatch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingGetCall.html), [*getsupportedcarriers*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingGetsupportedcarrierCall.html), [*getsupportedholidays*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingGetsupportedholidayCall.html), [*list*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShippingsettingUpdateCall.html)
* [*custombatch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingGetCall.html), [*getsupportedcarriers*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingGetsupportedcarrierCall.html), [*getsupportedholidays*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingGetsupportedholidayCall.html), [*list*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShippingsettingUpdateCall.html)
@@ -53,17 +53,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r
The API is structured into the following primary items:
* **[Hub](https://docs.rs/google-content2/1.0.8+20190327/google_content2/struct.ShoppingContent.html)**
* **[Hub](https://docs.rs/google-content2/1.0.9+20190702/google_content2/struct.ShoppingContent.html)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.MethodsBuilder.html) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.CallBuilder.html)
* **[Resources](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.Resource.html)**
* creates [*Method Builders*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.MethodsBuilder.html) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.CallBuilder.html)
* **[Resources](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.Resource.html)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.Part.html)**
* **[Parts](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.Part.html)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.CallBuilder.html)**
* **[Activities](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.CallBuilder.html)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -182,17 +182,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/1.0.8+20190327/google_content2/enum.Result.html) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/1.0.9+20190702/google_content2/enum.Result.html) enumeration as return value of
the doit() methods, or handed as possibly intermediate results to either the
[Hub Delegate](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
makes the system potentially resilient to all kinds of errors.
## Uploads and Downloads
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/1.0.8+20190327/google_content2/enum.Result.html), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/1.0.9+20190702/google_content2/enum.Result.html), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.ResponseResult.html), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.ResponseResult.html), it will return that by default.
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
this call: `.param("alt", "media")`.
@@ -202,29 +202,29 @@ Methods supporting uploads can do so using up to 2 different protocols:
## Customization and Callbacks
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.Delegate.html) to the
[Method Builder](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.CallBuilder.html) before making the final `doit()` call.
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.Delegate.html) to the
[Method Builder](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.CallBuilder.html) before making the final `doit()` call.
Respective methods will be called to provide progress information, as well as determine whether the system should
retry on failure.
The [delegate trait](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
## Optional Parts in Server-Requests
All structures provided by this library are made to be [enocodable](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.RequestValue.html) and
[decodable](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses
All structures provided by this library are made to be [enocodable](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.RequestValue.html) and
[decodable](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses
are valid.
Most optionals are are considered [Parts](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.Part.html) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.Part.html) which are identifiable by name, which will be sent to
the server to indicate either the set parts of the request or the desired parts in the response.
## Builder Arguments
Using [method builders](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
These will always take a single argument, for which the following statements are true.
* [PODs][wiki-pod] are handed by copy
* strings are passed as `&str`
* [request values](https://docs.rs/google-content2/1.0.8+20190327/google_content2/trait.RequestValue.html) are moved
* [request values](https://docs.rs/google-content2/1.0.9+20190702/google_content2/trait.RequestValue.html) are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.

View File

@@ -748,6 +748,17 @@ pub fn remove_json_null_values(value: &mut json::value::Value) {
map.remove(key);
}
}
json::value::Value::Array(ref mut arr) => {
let mut i = 0;
while i < arr.len() {
if arr[i].is_null() {
arr.remove(i);
} else {
remove_json_null_values(&mut arr[i]);
i += 1;
}
}
}
_ => {}
}
}

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *Shopping Content* crate version *1.0.8+20190327*, where *20190327* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.8*.
//! This documentation was generated from *Shopping Content* crate version *1.0.9+20190702*, where *20190702* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.9*.
//!
//! Everything else about the *Shopping Content* *v2* API can be found at the
//! [official documentation site](https://developers.google.com/shopping-content).
@@ -269,9 +269,7 @@ use std::mem;
use std::thread::sleep;
use std::time::Duration;
pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, Hub, ReadSeek, Part,
ResponseResult, RequestValue, NestedType, Delegate, DefaultDelegate, MethodsBuilder,
Resource, ErrorResponse, remove_json_null_values};
pub use cmn::*;
// ##############
@@ -384,7 +382,7 @@ impl<'a, C, A> ShoppingContent<C, A>
ShoppingContent {
client: RefCell::new(client),
auth: RefCell::new(authenticator),
_user_agent: "google-api-rust-client/1.0.8".to_string(),
_user_agent: "google-api-rust-client/1.0.9".to_string(),
_base_url: "https://www.googleapis.com/content/v2/".to_string(),
_root_url: "https://www.googleapis.com/".to_string(),
}
@@ -440,7 +438,7 @@ impl<'a, C, A> ShoppingContent<C, A>
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/1.0.8`.
/// It defaults to `google-api-rust-client/1.0.9`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {
@@ -918,7 +916,7 @@ impl Part for OrdersCustomBatchRequestEntryReturnLineItem {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct OrderCustomerMarketingRightsInfo {
/// Last known user selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty.
/// Last known customer selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty. If a customer selected granted in their most recent order, they can be subscribed to marketing emails. Customers who have chosen denied must not be subscribed, or must be unsubscribed if already opted-in.
#[serde(rename="explicitMarketingPreference")]
pub explicit_marketing_preference: Option<String>,
/// Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.
@@ -2555,7 +2553,7 @@ pub struct OrderCustomer {
pub full_name: Option<String>,
/// Deprecated.
pub email: Option<String>,
/// Customer's marketing preferences.
/// Customer's marketing preferences. Contains the marketing opt-in information that is current at the time that the merchant call. User preference selections can change from one order to the next so preferences must be checked with every order.
#[serde(rename="marketingRightsInfo")]
pub marketing_rights_info: Option<OrderCustomerMarketingRightsInfo>,
}
@@ -3619,7 +3617,7 @@ pub struct Order {
pub shipping_option: Option<String>,
/// The status of the order.
pub status: Option<String>,
/// The details for the delivery.
/// Delivery details for shipments.
#[serde(rename="deliveryDetails")]
pub delivery_details: Option<OrderDeliveryDetails>,
/// The date when the order was placed, in ISO 8601 format.
@@ -4442,16 +4440,19 @@ pub struct ProductsCustomBatchRequestEntry {
/// An entry ID, unique within the batch request.
#[serde(rename="batchId")]
pub batch_id: Option<u32>,
/// The product to insert. Only required if the method is insert.
pub product: Option<Product>,
/// The ID of the managing account.
#[serde(rename="merchantId")]
pub merchant_id: Option<String>,
/// no description provided
pub method: Option<String>,
/// The product to insert. Only required if the method is insert.
pub product: Option<Product>,
/// The ID of the product to get or delete. Only defined if the method is get or delete.
#[serde(rename="productId")]
pub product_id: Option<String>,
/// The ContentAPI feed id.
#[serde(rename="feedId")]
pub feed_id: Option<String>,
/// The ID of the managing account.
#[serde(rename="merchantId")]
pub merchant_id: Option<String>,
}
impl Part for ProductsCustomBatchRequestEntry {}
@@ -5109,6 +5110,20 @@ pub struct OrdersCustomBatchRequestEntryReturnRefundLineItem {
impl Part for OrdersCustomBatchRequestEntryReturnRefundLineItem {}
/// There is no detailed description.
///
/// This type is not used in any activity, and only used as *part* of another schema.
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct BusinessDayConfig {
/// Regular business days. May not be empty.
#[serde(rename="businessDays")]
pub business_days: Option<Vec<String>>,
}
impl Part for BusinessDayConfig {}
/// There is no detailed description.
///
/// This type is not used in any activity, and only used as *part* of another schema.
@@ -5150,24 +5165,30 @@ pub struct DeliveryTime {
/// Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.
#[serde(rename="minHandlingTimeInDays")]
pub min_handling_time_in_days: Option<u32>,
/// The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.
#[serde(rename="handlingBusinessDayConfig")]
pub handling_business_day_config: Option<BusinessDayConfig>,
/// Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to minHandlingTimeInDays.
#[serde(rename="maxHandlingTimeInDays")]
pub max_handling_time_in_days: Option<u32>,
/// Transit time table, number of business days spent in transit based on row and column dimensions. Either {min,max}TransitTimeInDays or transitTimeTable can be set, but not both.
#[serde(rename="transitTimeTable")]
pub transit_time_table: Option<TransitTable>,
/// The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.
#[serde(rename="transitBusinessDayConfig")]
pub transit_business_day_config: Option<BusinessDayConfig>,
/// Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.
#[serde(rename="cutoffTime")]
pub cutoff_time: Option<CutoffTime>,
/// Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to minTransitTimeInDays.
#[serde(rename="maxTransitTimeInDays")]
pub max_transit_time_in_days: Option<u32>,
/// Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either {min,max}transitTimeInDays or transitTimeTable must be set, but not both.
/// Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either {min,max}TransitTimeInDays or transitTimeTable must be set, but not both.
#[serde(rename="minTransitTimeInDays")]
pub min_transit_time_in_days: Option<u32>,
/// Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to minHandlingTimeInDays.
#[serde(rename="maxHandlingTimeInDays")]
pub max_handling_time_in_days: Option<u32>,
/// Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.
#[serde(rename="holidayCutoffs")]
pub holiday_cutoffs: Option<Vec<HolidayCutoff>>,
/// Transit time table, number of business days spent in transit based on row and column dimensions. Either {min,max}transitTimeInDays or transitTimeTable can be set, but not both.
#[serde(rename="transitTimeTable")]
pub transit_time_table: Option<TransitTable>,
}
impl Part for DeliveryTime {}
@@ -6126,11 +6147,15 @@ pub struct OrderShipment {
/// - "dynamex"
/// - "lasership"
/// - "mpx"
/// - "uds"
/// - "uds"
/// - "efw"
///
/// Acceptable values for FR are:
/// - "colissimo"
/// - "chronopost"
/// - "chronopost"
/// - "gls"
/// - "dpd"
/// - "bpost"
pub carrier: Option<String>,
/// The tracking ID for the shipment.
#[serde(rename="trackingId")]
@@ -6387,6 +6412,8 @@ pub struct TestOrderLineItemProduct {
pub gtin: Option<String>,
/// Condition or state of the item.
pub condition: Option<String>,
/// Fees for the item. Optional.
pub fees: Option<Vec<OrderLineItemProductFee>>,
/// The price for the product. Tax is automatically calculated for MFL orders. For non-MFL orders, tax settings from Merchant Center are applied.
pub price: Option<Price>,
/// Deprecated.
@@ -6857,7 +6884,7 @@ pub struct Product {
pub custom_label4: Option<String>,
/// The source of the offer, i.e., how the offer was created.
pub source: Option<String>,
/// Additional categories of the item (formatted as in products feed specification).
/// Additional categories of the item (formatted as in products data specification).
#[serde(rename="additionalProductTypes")]
pub additional_product_types: Option<Vec<String>>,
/// The energy efficiency class as defined in EU directive 2010/30/EU.
@@ -6882,7 +6909,7 @@ pub struct Product {
pub content_language: Option<String>,
/// Manufacturer Part Number (MPN) of the item.
pub mpn: Option<String>,
/// Date range during which the item is on sale (see products feed specification).
/// Date range during which the item is on sale (see products data specification).
#[serde(rename="salePriceEffectiveDate")]
pub sale_price_effective_date: Option<String>,
/// Brand of the item.
@@ -6934,7 +6961,7 @@ pub struct Product {
/// Advertised sale price of the item.
#[serde(rename="salePrice")]
pub sale_price: Option<Price>,
/// Your category of the item (formatted as in products feed specification).
/// Your category of the item (formatted as in products data specification).
#[serde(rename="productType")]
pub product_type: Option<String>,
/// Advertiser-specified recommendations.
@@ -8439,7 +8466,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Performs an action on a link between a Merchant Center account and another account.
/// Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
///
/// # Arguments
///
@@ -9707,7 +9734,7 @@ impl<'a, C, A> OrderinvoiceMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Creates a refund invoice for one or more shipment groups, and triggers a refund for non-facilitated payment orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.
/// Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.
///
/// # Arguments
///
@@ -9728,7 +9755,7 @@ impl<'a, C, A> OrderinvoiceMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Creates a charge invoice for a shipment group, and triggers a charge capture for non-facilitated payment orders.
/// Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.
///
/// # Arguments
///
@@ -22187,7 +22214,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
}
/// Performs an action on a link between a Merchant Center account and another account.
/// Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
///
/// A builder for the *link* method supported by a *account* resource.
/// It is not used directly, but through a `AccountMethods` instance.
@@ -31315,7 +31342,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
self._merchant_id = new_value.to_string();
self
}
/// Obtains orders that match any of the specified statuses. Multiple values can be specified with comma separation. Additionally, please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped , partiallyDelivered, delivered, partiallyReturned, returned, and canceled.
/// Obtains orders that match any of the specified statuses. Please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and canceled.
///
/// Append the given value to the *statuses* query property.
/// Each appended value will retain its original ordering and be '/'-separated in the URL's parameters.
@@ -31344,7 +31371,11 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
self._page_token = Some(new_value.to_string());
self
}
/// The ordering of the returned list. The only supported value are placedDate desc and placedDate asc for now, which returns orders sorted by placement date. "placedDate desc" stands for listing orders by placement date, from oldest to most recent. "placedDate asc" stands for listing orders by placement date, from most recent to oldest. In future releases we'll support other sorting criteria.
/// Order results by placement date in descending or ascending order.
///
/// Acceptable values are:
/// - placedDateAsc
/// - placedDateDesc
///
/// Sets the *order by* query property to the given value.
pub fn order_by(mut self, new_value: &str) -> OrderListCall<'a, C, A> {
@@ -31352,7 +31383,6 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
self
}
/// The maximum number of orders to return in the response, used for paging. The default value is 25 orders per page, and the maximum allowed value is 250 orders per page.
/// Known issue: All List calls will return all Orders without limit regardless of the value of this field.
///
/// Sets the *max results* query property to the given value.
pub fn max_results(mut self, new_value: u32) -> OrderListCall<'a, C, A> {
@@ -35250,7 +35280,7 @@ impl<'a, C, A> OrderCancellineitemCall<'a, C, A> where C: BorrowMut<hyper::Clien
}
/// Creates a refund invoice for one or more shipment groups, and triggers a refund for non-facilitated payment orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.
/// Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.
///
/// A builder for the *createrefundinvoice* method supported by a *orderinvoice* resource.
/// It is not used directly, but through a `OrderinvoiceMethods` instance.
@@ -35533,7 +35563,7 @@ impl<'a, C, A> OrderinvoiceCreaterefundinvoiceCall<'a, C, A> where C: BorrowMut<
}
/// Creates a charge invoice for a shipment group, and triggers a charge capture for non-facilitated payment orders.
/// Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.
///
/// A builder for the *createchargeinvoice* method supported by a *orderinvoice* resource.
/// It is not used directly, but through a `OrderinvoiceMethods` instance.