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
. -
#delivery_date ⇒ String
Corresponds to the JSON property
deliveryDate
. -
#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
. -
#shipping_date ⇒ String
Corresponds to the JSON property
shippingDate
. -
#state ⇒ String
Corresponds to the JSON property
state
.
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.
8859 8860 8861 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8859 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_date ⇒ String
Corresponds to the JSON property creationDate
8827 8828 8829 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8827 def creation_date @creation_date end |
#delivery_date ⇒ String
Corresponds to the JSON property deliveryDate
8832 8833 8834 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8832 def delivery_date @delivery_date end |
#return_method_type ⇒ String
Corresponds to the JSON property returnMethodType
8837 8838 8839 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8837 def return_method_type @return_method_type end |
#shipment_id ⇒ String
Corresponds to the JSON property shipmentId
8842 8843 8844 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8842 def shipment_id @shipment_id end |
#shipment_tracking_infos ⇒ Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>
Corresponds to the JSON property shipmentTrackingInfos
8847 8848 8849 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8847 def shipment_tracking_infos @shipment_tracking_infos end |
#shipping_date ⇒ String
Corresponds to the JSON property shippingDate
8852 8853 8854 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8852 def shipping_date @shipping_date end |
#state ⇒ String
Corresponds to the JSON property state
8857 8858 8859 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8857 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8864 8865 8866 8867 8868 8869 8870 8871 8872 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8864 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 |