Class: Google::Apis::ContentV2_1::ReturnShipment
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnShipment
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#creation_date ⇒ String
Corresponds to the JSON property
creationDate
. -
#return_method_type ⇒ String
Corresponds to the JSON property
returnMethodType
. -
#shipment_id ⇒ String
Corresponds to the JSON property
shipmentId
. -
#shipment_tracking_infos ⇒ Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>
Corresponds to the JSON property
shipmentTrackingInfos
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReturnShipment
constructor
A new instance of ReturnShipment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReturnShipment
Returns a new instance of ReturnShipment
8035 8036 8037 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_date ⇒ String
Corresponds to the JSON property creationDate
8018 8019 8020 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8018 def creation_date @creation_date end |
#return_method_type ⇒ String
Corresponds to the JSON property returnMethodType
8023 8024 8025 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8023 def return_method_type @return_method_type end |
#shipment_id ⇒ String
Corresponds to the JSON property shipmentId
8028 8029 8030 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8028 def shipment_id @shipment_id end |
#shipment_tracking_infos ⇒ Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>
Corresponds to the JSON property shipmentTrackingInfos
8033 8034 8035 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8033 def shipment_tracking_infos @shipment_tracking_infos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8040 8041 8042 8043 8044 8045 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8040 def update!(**args) @creation_date = args[:creation_date] if args.key?(:creation_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) end |