class Google::Apis::ContentV2::ReturnShipment

Attributes

creation_date[RW]

The date of creation of the shipment, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]

delivery_date[RW]

The date of delivery of the shipment, in ISO 8601 format. Corresponds to the JSON property `deliveryDate` @return [String]

return_method_type[RW]

Type of the return method. Acceptable values are: - “`byMail`” - “` contactCustomerSupport`” - “`returnless`” Corresponds to the JSON property `returnMethodType` @return [String]

shipment_id[RW]

Shipment ID generated by Google. Corresponds to the JSON property `shipmentId` @return [String]

shipment_tracking_infos[RW]

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::ShipmentTrackingInfo>]

shipping_date[RW]

The date of shipping of the shipment, in ISO 8601 format. Corresponds to the JSON property `shippingDate` @return [String]

state[RW]

State of the shipment. Acceptable values are: - “`completed`” - “`new`” - “` shipped`” - “`undeliverable`” - “`pending`” Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 10395
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 10400
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