class Google::Apis::ContentV2::TestOrderLineItem
Attributes
Required. Product
data from the time of the order placement. Corresponds to the JSON property `product` @return [Google::Apis::ContentV2::TestOrderLineItemProduct]
Required. Number of items ordered. Corresponds to the JSON property `quantityOrdered` @return [Fixnum]
Required. Details of the return policy for the line item. Corresponds to the JSON property `returnInfo` @return [Google::Apis::ContentV2::OrderLineItemReturnInfo]
Required. Details of the requested shipping for the line item. Corresponds to the JSON property `shippingDetails` @return [Google::Apis::ContentV2::OrderLineItemShippingDetails]
Deprecated. Ignored if provided. Corresponds to the JSON property `unitTax` @return [Google::Apis::ContentV2::Price]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 11130 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 11135 def update!(**args) @product = args[:product] if args.key?(:product) @quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered) @return_info = args[:return_info] if args.key?(:return_info) @shipping_details = args[:shipping_details] if args.key?(:shipping_details) @unit_tax = args[:unit_tax] if args.key?(:unit_tax) end