2015-06-23 23:05:46 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module ContentV2
|
|
|
|
|
|
|
|
class Account
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountAdwordsLink
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountIdentifier
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShipping
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingCarrierRate
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingCondition
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingLocationGroup
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingPostalCodeRange
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingRateTable
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingRateTableCell
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingShippingService
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingShippingServiceCalculationMethod
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingShippingServiceCostRule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusDataQualityIssue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusExampleItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTax
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxTaxRule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountUser
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsAuthInfoResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountShippingRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountShippingResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountShippingResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountStatusesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusesBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountStatusesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusesBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountStatusesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountTaxRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountTaxResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountTaxResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Datafeed
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFetchSchedule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFormat
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusError
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusExample
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListDatafeedsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedStatusesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusesBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedStatusesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusesBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListDatafeedStatusesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Error
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Errors
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class Installment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Inventory
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchInventoryRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class InventoryBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchInventoryResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class InventoryBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SetInventoryRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SetInventoryResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class LoyaltyPoints
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class Order
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCancellation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCustomer
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderDeliveryDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProduct
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProductVariantAttribute
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemReturnInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetailsMethod
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPaymentMethod
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2016-02-10 21:57:13 +00:00
|
|
|
class OrderPromotion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPromotionBenefit
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class OrderRefund
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReturn
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipmentLineItemShipment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAcknowledgeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAcknowledgeResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAdvanceTestOrderResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryCancel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryCancelLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryRefund
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryReturnLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryShipLineItems
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryUpdateShipment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetByMerchantOrderIdResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetTestOrderTemplateResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnLineItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnLineItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Price
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Product
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductAspect
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductCustomAttribute
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductCustomGroup
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductDestination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShipping
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingDimension
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingWeight
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusDataQualityIssue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusDestinationStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductTax
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingBaseMeasure
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingMeasure
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListProductsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductStatusesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusesBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductStatusesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusesBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ListProductStatusesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class TestOrder
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderCustomer
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderLineItemProduct
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderPaymentMethod
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Weight
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Account
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :adult_content, as: 'adultContent'
|
|
|
|
collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :reviews_url, as: 'reviewsUrl'
|
|
|
|
property :seller_id, as: 'sellerId'
|
|
|
|
collection :users, as: 'users', class: Google::Apis::ContentV2::AccountUser, decorator: Google::Apis::ContentV2::AccountUser::Representation
|
|
|
|
|
|
|
|
property :website_url, as: 'websiteUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountAdwordsLink
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :adwords_id, as: 'adwordsId'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountIdentifier
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :aggregator_id, as: 'aggregatorId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShipping
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
collection :carrier_rates, as: 'carrierRates', class: Google::Apis::ContentV2::AccountShippingCarrierRate, decorator: Google::Apis::ContentV2::AccountShippingCarrierRate::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :location_groups, as: 'locationGroups', class: Google::Apis::ContentV2::AccountShippingLocationGroup, decorator: Google::Apis::ContentV2::AccountShippingLocationGroup::Representation
|
|
|
|
|
|
|
|
collection :rate_tables, as: 'rateTables', class: Google::Apis::ContentV2::AccountShippingRateTable, decorator: Google::Apis::ContentV2::AccountShippingRateTable::Representation
|
|
|
|
|
|
|
|
collection :services, as: 'services', class: Google::Apis::ContentV2::AccountShippingShippingService, decorator: Google::Apis::ContentV2::AccountShippingShippingService::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingCarrierRate
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :carrier_service, as: 'carrierService'
|
|
|
|
property :modifier_flat_rate, as: 'modifierFlatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :modifier_percent, as: 'modifierPercent'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :sale_country, as: 'saleCountry'
|
|
|
|
property :shipping_origin, as: 'shippingOrigin'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingCondition
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :delivery_location_group, as: 'deliveryLocationGroup'
|
|
|
|
property :delivery_location_id, as: 'deliveryLocationId'
|
|
|
|
property :delivery_postal_code, as: 'deliveryPostalCode'
|
|
|
|
property :delivery_postal_code_range, as: 'deliveryPostalCodeRange', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation
|
|
|
|
|
|
|
|
property :price_max, as: 'priceMax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :shipping_label, as: 'shippingLabel'
|
|
|
|
property :weight_max, as: 'weightMax', class: Google::Apis::ContentV2::Weight, decorator: Google::Apis::ContentV2::Weight::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingLocationGroup
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
collection :location_ids, as: 'locationIds'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :postal_code_ranges, as: 'postalCodeRanges', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation
|
|
|
|
|
|
|
|
collection :postal_codes, as: 'postalCodes'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingPostalCodeRange
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end, as: 'end'
|
|
|
|
property :start, as: 'start'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingRateTable
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :content, as: 'content', class: Google::Apis::ContentV2::AccountShippingRateTableCell, decorator: Google::Apis::ContentV2::AccountShippingRateTableCell::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :sale_country, as: 'saleCountry'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingRateTableCell
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation
|
|
|
|
|
|
|
|
property :rate, as: 'rate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingShippingService
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :active, as: 'active'
|
|
|
|
property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation
|
|
|
|
|
|
|
|
property :cost_rule_tree, as: 'costRuleTree', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :sale_country, as: 'saleCountry'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingShippingServiceCalculationMethod
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier_rate, as: 'carrierRate'
|
|
|
|
property :excluded, as: 'excluded'
|
|
|
|
property :flat_rate, as: 'flatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :percentage_rate, as: 'percentageRate'
|
|
|
|
property :rate_table, as: 'rateTable'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingShippingServiceCostRule
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation
|
|
|
|
|
|
|
|
collection :children, as: 'children', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
|
|
|
|
|
|
|
|
property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::AccountStatusDataQualityIssue, decorator: Google::Apis::ContentV2::AccountStatusDataQualityIssue::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusDataQualityIssue
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :displayed_value, as: 'displayedValue'
|
|
|
|
collection :example_items, as: 'exampleItems', class: Google::Apis::ContentV2::AccountStatusExampleItem, decorator: Google::Apis::ContentV2::AccountStatusExampleItem::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :last_checked, as: 'lastChecked'
|
|
|
|
property :num_items, as: 'numItems'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :submitted_value, as: 'submittedValue'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusExampleItem
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :link, as: 'link'
|
|
|
|
property :submitted_value, as: 'submittedValue'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :value_on_landing_page, as: 'valueOnLandingPage'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTax
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :rules, as: 'rules', class: Google::Apis::ContentV2::AccountTaxTaxRule, decorator: Google::Apis::ContentV2::AccountTaxTaxRule::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxTaxRule
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :location_id, as: 'locationId'
|
|
|
|
property :rate_percent, as: 'ratePercent'
|
|
|
|
property :shipping_taxed, as: 'shippingTaxed'
|
|
|
|
property :use_global_rate, as: 'useGlobalRate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountUser
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :admin, as: 'admin'
|
|
|
|
property :email_address, as: 'emailAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsAuthInfoResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :account_identifiers, as: 'accountIdentifiers', class: Google::Apis::ContentV2::AccountIdentifier, decorator: Google::Apis::ContentV2::AccountIdentifier::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountsRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountsBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountsBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
|
|
|
|
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountsBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountsBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountShippingRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountShippingResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountShippingBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountShippingResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountStatusesRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountStatusesBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusesBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountStatusesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountStatusesBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusesBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_status, as: 'accountStatus', class: Google::Apis::ContentV2::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountStatusesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountTaxRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountTaxBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountTaxBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAccountTaxResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountTaxBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountTaxBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAccountTaxResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Datafeed
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :attribute_language, as: 'attributeLanguage'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :content_type, as: 'contentType'
|
|
|
|
property :fetch_schedule, as: 'fetchSchedule', class: Google::Apis::ContentV2::DatafeedFetchSchedule, decorator: Google::Apis::ContentV2::DatafeedFetchSchedule::Representation
|
|
|
|
|
|
|
|
property :file_name, as: 'fileName'
|
|
|
|
property :format, as: 'format', class: Google::Apis::ContentV2::DatafeedFormat, decorator: Google::Apis::ContentV2::DatafeedFormat::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
collection :intended_destinations, as: 'intendedDestinations'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFetchSchedule
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :day_of_month, as: 'dayOfMonth'
|
|
|
|
property :fetch_url, as: 'fetchUrl'
|
|
|
|
property :hour, as: 'hour'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :minute_of_hour, as: 'minuteOfHour'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :password, as: 'password'
|
|
|
|
property :time_zone, as: 'timeZone'
|
|
|
|
property :username, as: 'username'
|
|
|
|
property :weekday, as: 'weekday'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFormat
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :column_delimiter, as: 'columnDelimiter'
|
|
|
|
property :file_encoding, as: 'fileEncoding'
|
|
|
|
property :quoting_mode, as: 'quotingMode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :datafeed_id, as: 'datafeedId'
|
|
|
|
collection :errors, as: 'errors', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation
|
|
|
|
|
|
|
|
property :items_total, as: 'itemsTotal'
|
|
|
|
property :items_valid, as: 'itemsValid'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :last_upload_date, as: 'lastUploadDate'
|
|
|
|
property :processing_status, as: 'processingStatus'
|
|
|
|
collection :warnings, as: 'warnings', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusError
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :count, as: 'count'
|
|
|
|
collection :examples, as: 'examples', class: Google::Apis::ContentV2::DatafeedStatusExample, decorator: Google::Apis::ContentV2::DatafeedStatusExample::Representation
|
|
|
|
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusExample
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :line_number, as: 'lineNumber'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedsRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedsBatchRequestEntry, decorator: Google::Apis::ContentV2::DatafeedsBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
|
|
|
|
|
|
|
|
property :datafeed_id, as: 'datafeedId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedsBatchResponseEntry, decorator: Google::Apis::ContentV2::DatafeedsBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
|
|
|
|
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListDatafeedsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedStatusesRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusesBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed_id, as: 'datafeedId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDatafeedStatusesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusesBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed_status, as: 'datafeedStatus', class: Google::Apis::ContentV2::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
|
|
|
|
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListDatafeedStatusesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Error
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :domain, as: 'domain'
|
|
|
|
property :message, as: 'message'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Errors
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
collection :errors, as: 'errors', class: Google::Apis::ContentV2::Error, decorator: Google::Apis::ContentV2::Error::Representation
|
|
|
|
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class Installment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :months, as: 'months'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Inventory
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :availability, as: 'availability'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
property :kind, as: 'kind'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
2015-07-31 00:05:47 +00:00
|
|
|
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchInventoryRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::InventoryBatchRequestEntry, decorator: Google::Apis::ContentV2::InventoryBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InventoryBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :inventory, as: 'inventory', class: Google::Apis::ContentV2::Inventory, decorator: Google::Apis::ContentV2::Inventory::Representation
|
|
|
|
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchInventoryResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::InventoryBatchResponseEntry, decorator: Google::Apis::ContentV2::InventoryBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InventoryBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SetInventoryRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :availability, as: 'availability'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
|
|
|
|
|
|
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
2015-07-31 00:05:47 +00:00
|
|
|
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SetInventoryResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LoyaltyPoints
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :points_value, as: 'pointsValue'
|
|
|
|
property :ratio, as: 'ratio'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class Order
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2015-12-03 01:10:07 +00:00
|
|
|
property :acknowledged, as: 'acknowledged'
|
|
|
|
property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
2015-12-03 01:10:07 +00:00
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderLineItem, decorator: Google::Apis::ContentV2::OrderLineItem::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
|
|
|
property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :payment_status, as: 'paymentStatus'
|
|
|
|
property :placed_date, as: 'placedDate'
|
2016-02-10 21:57:13 +00:00
|
|
|
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
collection :shipments, as: 'shipments', class: Google::Apis::ContentV2::OrderShipment, decorator: Google::Apis::ContentV2::OrderShipment::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :shipping_option, as: 'shippingOption'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
2015-06-23 23:05:46 +00:00
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class OrderAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
collection :full_address, as: 'fullAddress'
|
|
|
|
property :is_post_office_box, as: 'isPostOfficeBox'
|
|
|
|
property :locality, as: 'locality'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :recipient_name, as: 'recipientName'
|
|
|
|
property :region, as: 'region'
|
|
|
|
collection :street_address, as: 'streetAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCancellation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actor, as: 'actor'
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCustomer
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
|
|
|
|
property :full_name, as: 'fullName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderDeliveryDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :address, as: 'address', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
|
|
|
|
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2::OrderLineItemProduct, decorator: Google::Apis::ContentV2::OrderLineItemProduct::Representation
|
|
|
|
|
|
|
|
property :quantity_canceled, as: 'quantityCanceled'
|
|
|
|
property :quantity_delivered, as: 'quantityDelivered'
|
|
|
|
property :quantity_ordered, as: 'quantityOrdered'
|
|
|
|
property :quantity_pending, as: 'quantityPending'
|
|
|
|
property :quantity_returned, as: 'quantityReturned'
|
|
|
|
property :quantity_shipped, as: 'quantityShipped'
|
|
|
|
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
|
|
|
|
|
|
|
|
collection :returns, as: 'returns', class: Google::Apis::ContentV2::OrderReturn, decorator: Google::Apis::ContentV2::OrderReturn::Representation
|
|
|
|
|
|
|
|
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
|
|
|
|
|
|
|
|
property :tax, as: 'tax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProduct
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :brand, as: 'brand'
|
|
|
|
property :channel, as: 'channel'
|
|
|
|
property :condition, as: 'condition'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :image_link, as: 'imageLink'
|
|
|
|
property :item_group_id, as: 'itemGroupId'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :offer_id, as: 'offerId'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :shown_image, as: 'shownImage'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :title, as: 'title'
|
|
|
|
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProductVariantAttribute
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :dimension, as: 'dimension'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemReturnInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :days_to_return, as: 'daysToReturn'
|
|
|
|
property :is_returnable, as: 'isReturnable'
|
|
|
|
property :policy_url, as: 'policyUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :deliver_by_date, as: 'deliverByDate'
|
|
|
|
property :method_prop, as: 'method', class: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod::Representation
|
|
|
|
|
|
|
|
property :ship_by_date, as: 'shipByDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetailsMethod
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :max_days_in_transit, as: 'maxDaysInTransit'
|
|
|
|
property :method_name, as: 'methodName'
|
|
|
|
property :min_days_in_transit, as: 'minDaysInTransit'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPaymentMethod
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
|
|
|
|
|
|
|
|
property :expiration_month, as: 'expirationMonth'
|
|
|
|
property :expiration_year, as: 'expirationYear'
|
|
|
|
property :last_four_digits, as: 'lastFourDigits'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-02-10 21:57:13 +00:00
|
|
|
class OrderPromotion
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderPromotionBenefit, decorator: Google::Apis::ContentV2::OrderPromotionBenefit::Representation
|
|
|
|
|
|
|
|
property :effective_dates, as: 'effectiveDates'
|
|
|
|
property :generic_redemption_code, as: 'genericRedemptionCode'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :long_title, as: 'longTitle'
|
|
|
|
property :product_applicability, as: 'productApplicability'
|
|
|
|
property :redemption_channel, as: 'redemptionChannel'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPromotionBenefit
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
collection :offer_ids, as: 'offerIds'
|
|
|
|
property :sub_type, as: 'subType'
|
|
|
|
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class OrderRefund
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actor, as: 'actor'
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReturn
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actor, as: 'actor'
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :delivery_date, as: 'deliveryDate'
|
|
|
|
property :id, as: 'id'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipmentLineItemShipment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAcknowledgeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAcknowledgeResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAdvanceTestOrderResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2015-12-14 22:27:57 +00:00
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :template_name, as: 'templateName'
|
|
|
|
property :test_order, as: 'testOrder', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :order_id, as: 'orderId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :cancel, as: 'cancel', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel::Representation
|
|
|
|
|
|
|
|
property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem::Representation
|
|
|
|
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :order_id, as: 'orderId'
|
|
|
|
property :refund, as: 'refund', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund::Representation
|
|
|
|
|
|
|
|
property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem::Representation
|
|
|
|
|
|
|
|
property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems::Representation
|
|
|
|
|
|
|
|
property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryCancel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryCancelLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2015-12-14 22:27:57 +00:00
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryRefund
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryReturnLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryShipLineItems
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
|
|
|
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryUpdateShipment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetByMerchantOrderIdResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetTestOrderTemplateResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :template, as: 'template', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnLineItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnLineItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
|
|
|
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Price
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Product
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :additional_image_links, as: 'additionalImageLinks'
|
|
|
|
property :adult, as: 'adult'
|
|
|
|
property :adwords_grouping, as: 'adwordsGrouping'
|
|
|
|
collection :adwords_labels, as: 'adwordsLabels'
|
|
|
|
property :adwords_redirect, as: 'adwordsRedirect'
|
|
|
|
property :age_group, as: 'ageGroup'
|
|
|
|
collection :aspects, as: 'aspects', class: Google::Apis::ContentV2::ProductAspect, decorator: Google::Apis::ContentV2::ProductAspect::Representation
|
|
|
|
|
|
|
|
property :availability, as: 'availability'
|
|
|
|
property :availability_date, as: 'availabilityDate'
|
|
|
|
property :brand, as: 'brand'
|
|
|
|
property :channel, as: 'channel'
|
|
|
|
property :color, as: 'color'
|
|
|
|
property :condition, as: 'condition'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
|
|
|
|
|
|
|
collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
|
|
|
|
|
|
|
|
property :custom_label0, as: 'customLabel0'
|
|
|
|
property :custom_label1, as: 'customLabel1'
|
|
|
|
property :custom_label2, as: 'customLabel2'
|
|
|
|
property :custom_label3, as: 'customLabel3'
|
|
|
|
property :custom_label4, as: 'customLabel4'
|
|
|
|
property :description, as: 'description'
|
|
|
|
collection :destinations, as: 'destinations', class: Google::Apis::ContentV2::ProductDestination, decorator: Google::Apis::ContentV2::ProductDestination::Representation
|
|
|
|
|
|
|
|
property :display_ads_id, as: 'displayAdsId'
|
|
|
|
property :display_ads_link, as: 'displayAdsLink'
|
|
|
|
collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
|
|
|
|
property :display_ads_title, as: 'displayAdsTitle'
|
|
|
|
property :display_ads_value, as: 'displayAdsValue'
|
|
|
|
property :energy_efficiency_class, as: 'energyEfficiencyClass'
|
|
|
|
property :expiration_date, as: 'expirationDate'
|
|
|
|
property :gender, as: 'gender'
|
|
|
|
property :google_product_category, as: 'googleProductCategory'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :identifier_exists, as: 'identifierExists'
|
|
|
|
property :image_link, as: 'imageLink'
|
|
|
|
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
|
|
|
|
|
|
|
property :is_bundle, as: 'isBundle'
|
|
|
|
property :item_group_id, as: 'itemGroupId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :link, as: 'link'
|
|
|
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
|
|
|
|
|
|
|
property :material, as: 'material'
|
|
|
|
property :mobile_link, as: 'mobileLink'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :multipack, as: 'multipack'
|
|
|
|
property :offer_id, as: 'offerId'
|
|
|
|
property :online_only, as: 'onlineOnly'
|
|
|
|
property :pattern, as: 'pattern'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :product_type, as: 'productType'
|
2016-02-10 21:57:13 +00:00
|
|
|
collection :promotion_ids, as: 'promotionIds'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
|
|
|
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
|
|
|
collection :shipping, as: 'shipping', class: Google::Apis::ContentV2::ProductShipping, decorator: Google::Apis::ContentV2::ProductShipping::Representation
|
|
|
|
|
|
|
|
property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
|
|
|
|
|
|
|
|
property :shipping_label, as: 'shippingLabel'
|
|
|
|
property :shipping_length, as: 'shippingLength', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
|
|
|
|
|
|
|
|
property :shipping_weight, as: 'shippingWeight', class: Google::Apis::ContentV2::ProductShippingWeight, decorator: Google::Apis::ContentV2::ProductShippingWeight::Representation
|
|
|
|
|
|
|
|
property :shipping_width, as: 'shippingWidth', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
|
|
|
|
|
|
|
|
property :size_system, as: 'sizeSystem'
|
|
|
|
property :size_type, as: 'sizeType'
|
|
|
|
collection :sizes, as: 'sizes'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
collection :taxes, as: 'taxes', class: Google::Apis::ContentV2::ProductTax, decorator: Google::Apis::ContentV2::ProductTax::Representation
|
2015-06-23 23:05:46 +00:00
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure::Representation
|
|
|
|
|
|
|
|
property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::ContentV2::ProductUnitPricingMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingMeasure::Representation
|
|
|
|
|
|
|
|
collection :validated_destinations, as: 'validatedDestinations'
|
|
|
|
collection :warnings, as: 'warnings', class: Google::Apis::ContentV2::Error, decorator: Google::Apis::ContentV2::Error::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductAspect
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :aspect_name, as: 'aspectName'
|
|
|
|
property :destination_name, as: 'destinationName'
|
|
|
|
property :intention, as: 'intention'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductCustomAttribute
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductCustomGroup
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :attributes, as: 'attributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductDestination
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :destination_name, as: 'destinationName'
|
|
|
|
property :intention, as: 'intention'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShipping
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :location_group_name, as: 'locationGroupName'
|
|
|
|
property :location_id, as: 'locationId'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :region, as: 'region'
|
|
|
|
property :service, as: 'service'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingDimension
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingWeight
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::ProductStatusDataQualityIssue, decorator: Google::Apis::ContentV2::ProductStatusDataQualityIssue::Representation
|
|
|
|
|
|
|
|
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2::ProductStatusDestinationStatus, decorator: Google::Apis::ContentV2::ProductStatusDestinationStatus::Representation
|
|
|
|
|
|
|
|
property :google_expiration_date, as: 'googleExpirationDate'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :last_update_date, as: 'lastUpdateDate'
|
|
|
|
property :link, as: 'link'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusDataQualityIssue
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :detail, as: 'detail'
|
|
|
|
property :fetch_status, as: 'fetchStatus'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :location, as: 'location'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
property :value_on_landing_page, as: 'valueOnLandingPage'
|
|
|
|
property :value_provided, as: 'valueProvided'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusDestinationStatus
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :approval_status, as: 'approvalStatus'
|
|
|
|
property :destination, as: 'destination'
|
|
|
|
property :intention, as: 'intention'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductTax
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :location_id, as: 'locationId'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :rate, as: 'rate'
|
|
|
|
property :region, as: 'region'
|
|
|
|
property :tax_ship, as: 'taxShip'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingBaseMeasure
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingMeasure
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductsRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductsBatchRequestEntry, decorator: Google::Apis::ContentV2::ProductsBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
|
|
|
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductsBatchResponseEntry, decorator: Google::Apis::ContentV2::ProductsBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListProductsResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductStatusesRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::ProductStatusesBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusesBatchRequestEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, as: 'merchantId'
|
|
|
|
property :request_method, as: 'method'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchProductStatusesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::ProductStatusesBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusesBatchResponseEntry
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :product_status, as: 'productStatus', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListProductStatusesResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class TestOrder
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :customer, as: 'customer', class: Google::Apis::ContentV2::TestOrderCustomer, decorator: Google::Apis::ContentV2::TestOrderCustomer::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::TestOrderLineItem, decorator: Google::Apis::ContentV2::TestOrderLineItem::Representation
|
|
|
|
|
|
|
|
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
|
|
|
|
|
|
|
|
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
2016-02-10 21:57:13 +00:00
|
|
|
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :shipping_option, as: 'shippingOption'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderCustomer
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
|
|
|
|
property :full_name, as: 'fullName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2::TestOrderLineItemProduct::Representation
|
|
|
|
|
|
|
|
property :quantity_ordered, as: 'quantityOrdered'
|
|
|
|
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
|
|
|
|
|
|
|
|
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
|
|
|
|
|
|
|
|
property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderLineItemProduct
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :brand, as: 'brand'
|
|
|
|
property :channel, as: 'channel'
|
|
|
|
property :condition, as: 'condition'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :image_link, as: 'imageLink'
|
|
|
|
property :item_group_id, as: 'itemGroupId'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :offer_id, as: 'offerId'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
|
|
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :title, as: 'title'
|
|
|
|
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderPaymentMethod
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :expiration_month, as: 'expirationMonth'
|
|
|
|
property :expiration_year, as: 'expirationYear'
|
|
|
|
property :last_four_digits, as: 'lastFourDigits'
|
|
|
|
property :predefined_billing_address, as: 'predefinedBillingAddress'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Weight
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|