google-api-ruby-client/generated/google/apis/content_v2/representations.rb

2626 lines
103 KiB
Ruby

# 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
include Google::Apis::Core::JsonObjectSupport
end
class AccountAdwordsLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountIdentifier
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShipping
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingCarrierRate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingCondition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingLocationGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingPostalCodeRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingRateTable
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingRateTableCell
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingShippingService
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingShippingServiceCalculationMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingShippingServiceCostRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountStatusDataQualityIssue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountStatusExampleItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountTax
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountTaxTaxRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountUser
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountsAuthInfoResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountsBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountsBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAccountsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountShippingRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountShippingResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountShippingBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAccountShippingResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountStatusesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountStatusesBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountStatusesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountStatusesBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAccountStatusesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountTaxRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountTaxBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAccountTaxResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountTaxBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAccountTaxResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Datafeed
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedFetchSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedFormat
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedStatusError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedStatusExample
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchDatafeedsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedsBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchDatafeedsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedsBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListDatafeedsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchDatafeedStatusesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedStatusesBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchDatafeedStatusesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedStatusesBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListDatafeedStatusesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Errors
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Installment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Inventory
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchInventoryRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InventoryBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchInventoryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InventoryBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetInventoryRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetInventoryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LoyaltyPoints
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Order
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderCancellation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderCustomer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderDeliveryDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItemProduct
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItemProductVariantAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItemReturnInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItemShippingDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItemShippingDetailsMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderPaymentMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderPromotion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderPromotionBenefit
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderRefund
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderReturn
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderShipmentLineItemShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersAcknowledgeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersAcknowledgeResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersAdvanceTestOrderResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCancelLineItemRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCancelLineItemResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCancelRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCancelResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCreateTestOrderRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCreateTestOrderResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryCancel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryCancelLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryRefund
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryReturnLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryShipLineItems
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryUpdateShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersGetByMerchantOrderIdResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersGetTestOrderTemplateResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersRefundRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersRefundResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersReturnLineItemRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersReturnLineItemResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersShipLineItemsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersShipLineItemsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateMerchantOrderIdRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateMerchantOrderIdResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateShipmentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateShipmentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Price
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Product
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductAspect
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductCustomAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductCustomGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductShipping
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductShippingDimension
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductShippingWeight
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductStatusDataQualityIssue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductStatusDestinationStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductTax
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductUnitPricingBaseMeasure
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductUnitPricingMeasure
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchProductsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductsBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductsBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchProductStatusesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductStatusesBatchRequestEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchProductStatusesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductStatusesBatchResponseEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListProductStatusesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrder
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderCustomer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderLineItemProduct
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderPaymentMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Weight
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Account
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adwords_id, as: 'adwordsId'
property :status, as: 'status'
end
end
class AccountIdentifier
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :aggregator_id, as: 'aggregatorId'
property :merchant_id, as: 'merchantId'
end
end
class AccountShipping
# @private
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
# @private
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
# @private
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
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end, as: 'end'
property :start, as: 'start'
end
end
class AccountShippingRateTable
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :admin, as: 'admin'
property :email_address, as: 'emailAddress'
end
end
class AccountsAuthInfoResponse
# @private
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
# @private
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
# @private
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
# @private
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
# @private
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
# @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::Account, decorator: Google::Apis::ContentV2::Account::Representation
end
end
class BatchAccountShippingRequest
# @private
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
# @private
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
# @private
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
# @private
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
# @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::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
end
end
class BatchAccountStatusesRequest
# @private
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
# @private
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
# @private
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
# @private
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
# @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::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
end
end
class BatchAccountTaxRequest
# @private
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
# @private
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
# @private
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
# @private
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
# @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::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
end
end
class Datafeed
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day_of_month, as: 'dayOfMonth'
property :fetch_url, as: 'fetchUrl'
property :hour, as: 'hour'
property :minute_of_hour, as: 'minuteOfHour'
property :password, as: 'password'
property :time_zone, as: 'timeZone'
property :username, as: 'username'
property :weekday, as: 'weekday'
end
end
class DatafeedFormat
# @private
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
# @private
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
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :item_id, as: 'itemId'
property :line_number, as: 'lineNumber'
property :value, as: 'value'
end
end
class BatchDatafeedsRequest
# @private
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
# @private
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
# @private
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
# @private
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
# @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::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
end
end
class BatchDatafeedStatusesRequest
# @private
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
# @private
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
# @private
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
# @private
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
# @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::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
end
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :domain, as: 'domain'
property :message, as: 'message'
property :reason, as: 'reason'
end
end
class Errors
# @private
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
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
class Inventory
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :availability, as: 'availability'
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
property :kind, as: 'kind'
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
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'
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
end
end
class BatchInventoryRequest
# @private
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
# @private
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
# @private
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
# @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 :kind, as: 'kind'
end
end
class SetInventoryRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :availability, as: 'availability'
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
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'
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
end
end
class SetInventoryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
end
end
class LoyaltyPoints
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :points_value, as: 'pointsValue'
property :ratio, as: 'ratio'
end
end
class Order
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :acknowledged, as: 'acknowledged'
property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation
property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation
property :id, as: 'id'
property :kind, as: 'kind'
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderLineItem, decorator: Google::Apis::ContentV2::OrderLineItem::Representation
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
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation
property :payment_status, as: 'paymentStatus'
property :placed_date, as: 'placedDate'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
collection :shipments, as: 'shipments', class: Google::Apis::ContentV2::OrderShipment, decorator: Google::Apis::ContentV2::OrderShipment::Representation
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'
property :status, as: 'status'
end
end
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
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
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
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
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
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
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'
collection :promotion_ids, as: 'promotionIds'
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
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :aspect_name, as: 'aspectName'
property :destination_name, as: 'destinationName'
property :intention, as: 'intention'
end
end
class ProductCustomAttribute
# @private
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
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :destination_name, as: 'destinationName'
property :intention, as: 'intention'
end
end
class ProductShipping
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :unit, as: 'unit'
property :value, as: 'value'
end
end
class ProductShippingWeight
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :unit, as: 'unit'
property :value, as: 'value'
end
end
class ProductStatus
# @private
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
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :approval_status, as: 'approvalStatus'
property :destination, as: 'destination'
property :intention, as: 'intention'
end
end
class ProductTax
# @private
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :unit, as: 'unit'
property :value, as: 'value'
end
end
class ProductUnitPricingMeasure
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :unit, as: 'unit'
property :value, as: 'value'
end
end
class BatchProductsRequest
# @private
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
# @private
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
# @private
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
# @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 :kind, as: 'kind'
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
end
end
class ListProductsResponse
# @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::Product, decorator: Google::Apis::ContentV2::Product::Representation
end
end
class BatchProductStatusesRequest
# @private
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
# @private
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
# @private
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
# @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 :kind, as: 'kind'
property :product_status, as: 'productStatus', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
end
end
class ListProductStatusesResponse
# @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::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
end
end
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'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
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
class Weight
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :unit, as: 'unit'
property :value, as: 'value'
end
end
end
end
end