class Google::Apis::ContentV2_1::ReturnShipment
Attributes
The date of creation of the shipment, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]
The date of delivery of the shipment, in ISO 8601 format. Corresponds to the JSON property `deliveryDate` @return [String]
Type of the return method. Acceptable values are: - “`byMail`” - “` contactCustomerSupport`” - “`returnless`” - “`inStore`” Corresponds to the JSON property `returnMethodType` @return [String]
Shipment ID generated by Google
. Corresponds to the JSON property `shipmentId` @return [String]
Tracking information of the shipment. One return shipment might be handled by several shipping carriers sequentially. Corresponds to the JSON property `shipmentTrackingInfos` @return [Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>]
The date of shipping of the shipment, in ISO 8601 format. Corresponds to the JSON property `shippingDate` @return [String]
State of the shipment. Acceptable values are: - “`completed`” - “`new`” - “` shipped`” - “`undeliverable`” - “`pending`” Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 13427 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 13432 def update!(**args) @creation_date = args[:creation_date] if args.key?(:creation_date) @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @return_method_type = args[:return_method_type] if args.key?(:return_method_type) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @shipment_tracking_infos = args[:shipment_tracking_infos] if args.key?(:shipment_tracking_infos) @shipping_date = args[:shipping_date] if args.key?(:shipping_date) @state = args[:state] if args.key?(:state) end