generated/google/apis/content_v2sandbox/representations.rb in google-api-client-0.24.2 vs generated/google/apis/content_v2sandbox/representations.rb in google-api-client-0.24.3
- old
+ new
@@ -26,10 +26,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class CustomerReturnReason
+ 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
@@ -50,10 +56,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class MerchantOrderReturn
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class MerchantOrderReturnItem
+ 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
@@ -86,65 +104,65 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderLineItem
+ class OrderLegacyPromotion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderLineItemProduct
+ class OrderLegacyPromotionBenefit
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderLineItemProductVariantAttribute
+ class OrderLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderLineItemReturnInfo
+ class OrderLineItemProduct
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderLineItemShippingDetails
+ class OrderLineItemProductVariantAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderLineItemShippingDetailsMethod
+ class OrderLineItemReturnInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderMerchantProvidedAnnotation
+ class OrderLineItemShippingDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderPaymentMethod
+ class OrderLineItemShippingDetailsMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderPromotion
+ class OrderMerchantProvidedAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class OrderPromotionBenefit
+ class OrderPaymentMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -254,10 +272,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class OrderreturnsListResponse
+ 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
@@ -584,10 +608,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class RefundReason
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ReturnShipment
+ 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
@@ -596,10 +632,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class ShipmentTrackingInfo
+ 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
@@ -660,10 +702,18 @@
property :tax, as: 'tax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
end
end
+ class CustomerReturnReason
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :description, as: 'description'
+ property :reason_code, as: 'reasonCode'
+ end
+ end
+
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :domain, as: 'domain'
property :message, as: 'message'
@@ -706,10 +756,39 @@
property :type, as: 'type'
end
end
+ class MerchantOrderReturn
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :creation_date, as: 'creationDate'
+ property :merchant_order_id, as: 'merchantOrderId'
+ property :order_id, as: 'orderId'
+ property :order_return_id, as: 'orderReturnId'
+ collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem::Representation
+
+ collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2sandbox::ReturnShipment, decorator: Google::Apis::ContentV2sandbox::ReturnShipment::Representation
+
+ end
+ end
+
+ class MerchantOrderReturnItem
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2sandbox::CustomerReturnReason, decorator: Google::Apis::ContentV2sandbox::CustomerReturnReason::Representation
+
+ property :item_id, as: 'itemId'
+ property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2sandbox::RefundReason, decorator: Google::Apis::ContentV2sandbox::RefundReason::Representation
+
+ property :product, as: 'product', class: Google::Apis::ContentV2sandbox::OrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProduct::Representation
+
+ collection :return_shipment_ids, as: 'returnShipmentIds'
+ property :state, as: 'state'
+ end
+ end
+
class Order
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :acknowledged, as: 'acknowledged'
property :channel_type, as: 'channelType'
@@ -727,11 +806,11 @@
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 :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::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
@@ -796,10 +875,37 @@
property :phone_number, as: 'phoneNumber'
end
end
+ class OrderLegacyPromotion
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :benefits, as: 'benefits', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit::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 OrderLegacyPromotionBenefit
+ # @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 OrderLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
@@ -906,37 +1012,10 @@
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
@@ -1076,10 +1155,11 @@
class OrderpaymentsNotifyChargeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :charge_state, as: 'chargeState'
property :invoice_id, as: 'invoiceId'
+ collection :invoice_ids, as: 'invoiceIds'
end
end
class OrderpaymentsNotifyChargeResponse
# @private
@@ -1091,10 +1171,11 @@
class OrderpaymentsNotifyRefundRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :invoice_id, as: 'invoiceId'
+ collection :invoice_ids, as: 'invoiceIds'
property :refund_state, as: 'refundState'
end
end
class OrderpaymentsNotifyRefundResponse
@@ -1103,10 +1184,20 @@
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
+ class OrderreturnsListResponse
+ # @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::MerchantOrderReturn, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturn::Representation
+
+ end
+ end
+
class OrdersAcknowledgeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :operation_id, as: 'operationId'
end
@@ -1686,10 +1777,29 @@
property :promotion_id, as: 'promotionId'
end
end
+ class RefundReason
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :description, as: 'description'
+ property :reason_code, as: 'reasonCode'
+ end
+ end
+
+ class ReturnShipment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :creation_date, as: 'creationDate'
+ property :return_method_type, as: 'returnMethodType'
+ property :shipment_id, as: 'shipmentId'
+ collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo::Representation
+
+ 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
@@ -1708,10 +1818,18 @@
property :unit_invoice, as: 'unitInvoice', class: Google::Apis::ContentV2sandbox::UnitInvoice, decorator: Google::Apis::ContentV2sandbox::UnitInvoice::Representation
end
end
+ class ShipmentTrackingInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :carrier, as: 'carrier'
+ property :tracking_number, as: 'trackingNumber'
+ 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
@@ -1721,10 +1839,10 @@
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
+ collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::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