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

1797 lines
74 KiB
Ruby
Raw Normal View History

# 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 ContentV2sandbox
class Amount
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 InvoiceSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InvoiceSummaryAdditionalChargeSummary
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 OrderCustomerMarketingRightsInfo
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 OrderMerchantProvidedAnnotation
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 OrderinvoicesCreateChargeInvoiceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderinvoicesCreateChargeInvoiceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderinvoicesCreateRefundInvoiceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderinvoicesCreateRefundInvoiceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyAuthApprovedRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyAuthApprovedResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyAuthDeclinedRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyAuthDeclinedResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyChargeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyChargeResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyRefundRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderpaymentsNotifyRefundResponse
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 OrdersCancelTestOrderByCustomerRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCancelTestOrderByCustomerResponse
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 OrdersCustomBatchRequestEntryInStoreRefundLineItem
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 OrdersCustomBatchRequestEntryRejectReturnLineItem
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 OrdersCustomBatchRequestEntryReturnRefundLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntrySetLineItemMetadata
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 OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
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 OrdersInStoreRefundLineItemRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersInStoreRefundLineItemResponse
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 OrdersRejectReturnLineItemRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersRejectReturnLineItemResponse
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 OrdersReturnRefundLineItemRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersReturnRefundLineItemResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersSetLineItemMetadataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersSetLineItemMetadataResponse
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 OrdersUpdateLineItemShippingDetailsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateLineItemShippingDetailsResponse
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 Promotion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShipmentInvoice
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShipmentInvoiceLineItemInvoice
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 TestOrderCustomerMarketingRightsInfo
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 UnitInvoice
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UnitInvoiceAdditionalCharge
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UnitInvoiceTaxLine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Amount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :pretax, as: 'pretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :tax, as: 'tax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::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::ContentV2sandbox::Error, decorator: Google::Apis::ContentV2sandbox::Error::Representation
property :message, as: 'message'
end
end
class InvoiceSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :additional_charge_summaries, as: 'additionalChargeSummaries', class: Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary::Representation
property :customer_balance, as: 'customerBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
property :google_balance, as: 'googleBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
property :merchant_balance, as: 'merchantBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
property :product_total, as: 'productTotal', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
collection :promotion_summaries, as: 'promotionSummaries', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
end
end
class InvoiceSummaryAdditionalChargeSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :total_amount, as: 'totalAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
property :type, as: 'type'
end
end
class Order
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :acknowledged, as: 'acknowledged'
property :channel_type, as: 'channelType'
property :customer, as: 'customer', class: Google::Apis::ContentV2sandbox::OrderCustomer, decorator: Google::Apis::ContentV2sandbox::OrderCustomer::Representation
property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2sandbox::OrderDeliveryDetails, decorator: Google::Apis::ContentV2sandbox::OrderDeliveryDetails::Representation
property :id, as: 'id'
property :kind, as: 'kind'
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderLineItem, decorator: Google::Apis::ContentV2sandbox::OrderLineItem::Representation
property :merchant_id, :numeric_string => true, as: 'merchantId'
property :merchant_order_id, as: 'merchantOrderId'
property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2sandbox::OrderPaymentMethod, decorator: Google::Apis::ContentV2sandbox::OrderPaymentMethod::Representation
property :payment_status, as: 'paymentStatus'
property :placed_date, as: 'placedDate'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderPromotion, decorator: Google::Apis::ContentV2sandbox::OrderPromotion::Representation
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2sandbox::OrderRefund, decorator: Google::Apis::ContentV2sandbox::OrderRefund::Representation
collection :shipments, as: 'shipments', class: Google::Apis::ContentV2sandbox::OrderShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipment::Representation
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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'
property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo::Representation
end
end
class OrderCustomerMarketingRightsInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
property :marketing_email_address, as: 'marketingEmailAddress'
end
end
class OrderDeliveryDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address', class: Google::Apis::ContentV2sandbox::OrderAddress, decorator: Google::Apis::ContentV2sandbox::OrderAddress::Representation
property :phone_number, as: 'phoneNumber'
end
end
class OrderLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2sandbox::OrderCancellation, decorator: Google::Apis::ContentV2sandbox::OrderCancellation::Representation
property :id, as: 'id'
property :price, as: 'price', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :product, as: 'product', class: Google::Apis::ContentV2sandbox::OrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo::Representation
collection :returns, as: 'returns', class: Google::Apis::ContentV2sandbox::OrderReturn, decorator: Google::Apis::ContentV2sandbox::OrderReturn::Representation
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails::Representation
property :tax, as: 'tax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :shown_image, as: 'shownImage'
property :target_country, as: 'targetCountry'
property :title, as: 'title'
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2sandbox::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2sandbox::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 OrderMerchantProvidedAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
class OrderPaymentMethod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2sandbox::OrderAddress, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrderPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
collection :offer_ids, as: 'offerIds'
property :sub_type, as: 'subType'
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::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 :product_id, as: 'productId'
property :quantity, as: 'quantity'
end
end
class OrderinvoicesCreateChargeInvoiceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_id, as: 'invoiceId'
property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2sandbox::InvoiceSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummary::Representation
collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice::Representation
property :operation_id, as: 'operationId'
property :shipment_group_id, as: 'shipmentGroupId'
end
end
class OrderinvoicesCreateChargeInvoiceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderinvoicesCreateRefundInvoiceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_id, as: 'invoiceId'
property :operation_id, as: 'operationId'
property :refund_only_option, as: 'refundOnlyOption', class: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption, decorator: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption::Representation
property :return_option, as: 'returnOption', class: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption, decorator: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption::Representation
collection :shipment_invoices, as: 'shipmentInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoice::Representation
end
end
class OrderinvoicesCreateRefundInvoiceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason, as: 'reason'
end
end
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason, as: 'reason'
end
end
class OrderpaymentsNotifyAuthApprovedRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auth_amount_pretax, as: 'authAmountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :auth_amount_tax, as: 'authAmountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
end
end
class OrderpaymentsNotifyAuthApprovedResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderpaymentsNotifyAuthDeclinedRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :decline_reason, as: 'declineReason'
end
end
class OrderpaymentsNotifyAuthDeclinedResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderpaymentsNotifyChargeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :charge_state, as: 'chargeState'
property :invoice_id, as: 'invoiceId'
end
end
class OrderpaymentsNotifyChargeResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderpaymentsNotifyRefundRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_id, as: 'invoiceId'
property :refund_state, as: 'refundState'
end
end
class OrderpaymentsNotifyRefundResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
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 OrdersCancelTestOrderByCustomerRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :reason, as: 'reason'
end
end
class OrdersCancelTestOrderByCustomerResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
end
end
class OrdersCreateTestOrderRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Autogenerated update (2018-08-22) Delete: - spectrum_v1explorer Update: - abusiveexperiencereport_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - adexperiencereport_v1 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - analyticsreporting_v4 - androiddeviceprovisioning_v1 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appengine_v1 - appengine_v1beta - appsactivity_v1 - appsmarket_v2 - appstate_v1 - bigquery_v2 - bigquerydatatransfer_v1 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - chat_v1 - civicinfo_v2 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudiot_v1 - cloudkms_v1 - cloudprofiler_v2 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - cloudshell_v1alpha1 - cloudtasks_v2beta2 - cloudtrace_v1 - cloudtrace_v2 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - content_v2 - content_v2sandbox - customsearch_v1 - dataproc_v1beta2 - datastore_v1 - datastore_v1beta1 - datastore_v1beta3 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dialogflow_v2 - dialogflow_v2beta1 - discovery_v1 - dlp_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - firestore_v1beta1 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - iam_v1 - iamcredentials_v1 - identitytoolkit_v3 - jobs_v2 - licensing_v1 - logging_v2 - logging_v2beta1 - mirror_v1 - ml_v1 - monitoring_v3 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - poly_v1 - pubsub_v1 - pubsub_v1beta2 - redis_v1beta1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - runtimeconfig_v1beta1 - script_v1 - servicebroker_v1 - servicebroker_v1alpha1 - servicebroker_v1beta1 - serviceconsumermanagement_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceusage_v1 - serviceusage_v1beta1 - serviceuser_v1 - sheets_v4 - site_verification_v1 - slides_v1 - sourcerepo_v1 - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - testing_v1 - texttospeech_v1beta1 - toolresults_v1beta3 - tpu_v1 - tpu_v1alpha1 - urlshortener_v1 - vault_v1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - webfonts_v1 - webmasters_v3 - websecurityscanner_v1alpha - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_partner_v1 - youtube_v3
2018-08-22 21:14:52 +00:00
property :country, as: 'country'
property :template_name, as: 'templateName'
property :test_order, as: 'testOrder', class: Google::Apis::ContentV2sandbox::TestOrder, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrdersCustomBatchRequestEntry, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrdersCustomBatchRequestEntryCancel, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancel::Representation
property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancelLineItem::Representation
property :in_store_refund_line_item, as: 'inStoreRefundLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryInStoreRefundLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryInStoreRefundLineItem::Representation
property :merchant_id, :numeric_string => true, 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::ContentV2sandbox::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRefund::Representation
property :reject_return_line_item, as: 'rejectReturnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRejectReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRejectReturnLineItem::Representation
property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem::Representation
property :return_refund_line_item, as: 'returnRefundLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnRefundLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnRefundLineItem::Representation
property :set_line_item_metadata, as: 'setLineItemMetadata', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata::Representation
property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems::Representation
property :update_line_item_shipping_details, as: 'updateLineItemShippingDetails', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails::Representation
property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
property :quantity, as: 'quantity'
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersCustomBatchRequestEntryRejectReturnLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
property :quantity, as: 'quantity'
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 :product_id, as: 'productId'
property :quantity, as: 'quantity'
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersCustomBatchRequestEntryReturnRefundLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
property :quantity, as: 'quantity'
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersCustomBatchRequestEntrySetLineItemMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
end
end
class OrdersCustomBatchRequestEntryShipLineItems
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :carrier, as: 'carrier'
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
property :shipment_group_id, as: 'shipmentGroupId'
property :shipment_id, as: 'shipmentId'
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
property :tracking_id, as: 'trackingId'
end
end
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :carrier, as: 'carrier'
property :shipment_id, as: 'shipmentId'
property :tracking_id, as: 'trackingId'
end
end
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deliver_by_date, as: 'deliverByDate'
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
property :ship_by_date, as: 'shipByDate'
end
end
class OrdersCustomBatchRequestEntryUpdateShipment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :carrier, as: 'carrier'
Autogenerated update (2018-07-10) Update: - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appsactivity_v1 - appstate_v1 - bigquery_v2 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - civicinfo_v2 - cloudiot_v1 - compute_alpha - compute_beta - compute_v1 - content_v2sandbox - customsearch_v1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - identitytoolkit_v3 - licensing_v1 - mirror_v1 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - script_v1 - site_verification_v1 - slides_v1 - spectrum_v1explorer - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - toolresults_v1beta3 - urlshortener_v1 - webfonts_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_v3
2018-07-10 00:36:20 +00:00
property :delivery_date, as: 'deliveryDate'
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::ContentV2sandbox::OrdersCustomBatchResponseEntry, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::Errors, decorator: Google::Apis::ContentV2sandbox::Errors::Representation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
property :order, as: 'order', class: Google::Apis::ContentV2sandbox::Order, decorator: Google::Apis::ContentV2sandbox::Order::Representation
end
end
class OrdersGetByMerchantOrderIdResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :order, as: 'order', class: Google::Apis::ContentV2sandbox::Order, decorator: Google::Apis::ContentV2sandbox::Order::Representation
end
end
class OrdersGetTestOrderTemplateResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :template, as: 'template', class: Google::Apis::ContentV2sandbox::TestOrder, decorator: Google::Apis::ContentV2sandbox::TestOrder::Representation
end
end
class OrdersInStoreRefundLineItemRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
property :quantity, as: 'quantity'
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersInStoreRefundLineItemResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
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::ContentV2sandbox::Order, decorator: Google::Apis::ContentV2sandbox::Order::Representation
end
end
class OrdersRefundRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, as: 'amount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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 OrdersRejectReturnLineItemRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
property :quantity, as: 'quantity'
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersRejectReturnLineItemResponse
# @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 :product_id, as: 'productId'
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 OrdersReturnRefundLineItemRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
property :quantity, as: 'quantity'
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrdersReturnRefundLineItemResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrdersSetLineItemMetadataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
end
end
class OrdersSetLineItemMetadataResponse
# @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::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
property :operation_id, as: 'operationId'
property :shipment_group_id, as: 'shipmentGroupId'
property :shipment_id, as: 'shipmentId'
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
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 OrdersUpdateLineItemShippingDetailsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deliver_by_date, as: 'deliverByDate'
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
property :ship_by_date, as: 'shipByDate'
end
end
class OrdersUpdateLineItemShippingDetailsResponse
# @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'
Autogenerated update (2018-07-10) Update: - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appsactivity_v1 - appstate_v1 - bigquery_v2 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - civicinfo_v2 - cloudiot_v1 - compute_alpha - compute_beta - compute_v1 - content_v2sandbox - customsearch_v1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - identitytoolkit_v3 - licensing_v1 - mirror_v1 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - script_v1 - site_verification_v1 - slides_v1 - spectrum_v1explorer - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - toolresults_v1beta3 - urlshortener_v1 - webfonts_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_v3
2018-07-10 00:36:20 +00:00
property :delivery_date, as: 'deliveryDate'
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 Promotion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :promotion_amount, as: 'promotionAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
property :promotion_id, as: 'promotionId'
end
end
class ShipmentInvoice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2sandbox::InvoiceSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummary::Representation
collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice::Representation
property :shipment_group_id, as: 'shipmentGroupId'
end
end
class ShipmentInvoiceLineItemInvoice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
collection :shipment_unit_ids, as: 'shipmentUnitIds'
property :unit_invoice, as: 'unitInvoice', class: Google::Apis::ContentV2sandbox::UnitInvoice, decorator: Google::Apis::ContentV2sandbox::UnitInvoice::Representation
end
end
class TestOrder
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :customer, as: 'customer', class: Google::Apis::ContentV2sandbox::TestOrderCustomer, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomer::Representation
property :enable_orderinvoices, as: 'enableOrderinvoices'
property :kind, as: 'kind'
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::TestOrderLineItem, decorator: Google::Apis::ContentV2sandbox::TestOrderLineItem::Representation
property :notification_mode, as: 'notificationMode'
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod::Representation
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderPromotion, decorator: Google::Apis::ContentV2sandbox::OrderPromotion::Representation
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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'
property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo::Representation
end
end
class TestOrderCustomerMarketingRightsInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
end
end
class TestOrderLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :product, as: 'product', class: Google::Apis::ContentV2sandbox::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::TestOrderLineItemProduct::Representation
property :quantity_ordered, as: 'quantityOrdered'
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo::Representation
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails::Representation
property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::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::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :target_country, as: 'targetCountry'
property :title, as: 'title'
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2sandbox::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2sandbox::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 UnitInvoice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :additional_charges, as: 'additionalCharges', class: Google::Apis::ContentV2sandbox::UnitInvoiceAdditionalCharge, decorator: Google::Apis::ContentV2sandbox::UnitInvoiceAdditionalCharge::Representation
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
property :unit_price_pretax, as: 'unitPricePretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
collection :unit_price_taxes, as: 'unitPriceTaxes', class: Google::Apis::ContentV2sandbox::UnitInvoiceTaxLine, decorator: Google::Apis::ContentV2sandbox::UnitInvoiceTaxLine::Representation
end
end
class UnitInvoiceAdditionalCharge
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :additional_charge_amount, as: 'additionalChargeAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
collection :additional_charge_promotions, as: 'additionalChargePromotions', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
property :type, as: 'type'
end
end
class UnitInvoiceTaxLine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
property :tax_name, as: 'taxName'
property :tax_type, as: 'taxType'
end
end
end
end
end