Class: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error_details ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Error? (readonly)

Returns the value of attribute error_details.



586
587
588
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 586

def error_details
  @error_details
end

#file_data ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2? (readonly)

Returns the value of attribute file_data.



587
588
589
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 587

def file_data
  @file_data
end

#package_id ⇒ String? (readonly)

Returns the value of attribute package_id.

Returns:

  • (String, nil)


588
589
590
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 588

def package_id
  @package_id
end

#ship_label_metadata ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata? (readonly)

Returns the value of attribute ship_label_metadata.



589
590
591
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 589

def 
  @ship_label_metadata
end

#status ⇒ String? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


590
591
592
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 590

def status
  @status
end

Class Method Details

.[](error_details:, file_data:, package_id:, ship_label_metadata:, status:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel



579
580
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 579

def self.[]: (?error_details: Peddler::APIs::ExternalFulfillmentShipments20240911::Error?, ?file_data: Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2?, ?package_id: String?, ?ship_label_metadata: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata?, ?status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel
| (Peddler::APIs::ExternalFulfillmentShipments20240911::Error?, Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel

.members ⇒ [ :error_details, :file_data, :package_id, :ship_label_metadata, :status ]

Returns:

  • ([ :error_details, :file_data, :package_id, :ship_label_metadata, :status ])


582
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 582

def self.members: () -> [ :error_details, :file_data, :package_id, :ship_label_metadata, :status ]

.new(error_details:, file_data:, package_id:, ship_label_metadata:, status:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel



577
578
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 577

def self.new: (?error_details: Peddler::APIs::ExternalFulfillmentShipments20240911::Error?, ?file_data: Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2?, ?package_id: String?, ?ship_label_metadata: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata?, ?status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel
| (Peddler::APIs::ExternalFulfillmentShipments20240911::Error?, Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



584
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 584

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel

Instance Method Details

#members ⇒ [ :error_details, :file_data, :package_id, :ship_label_metadata, :status ]

Returns:

  • ([ :error_details, :file_data, :package_id, :ship_label_metadata, :status ])


592
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 592

def members: () -> [ :error_details, :file_data, :package_id, :ship_label_metadata, :status ]

#to_h ⇒ { error_details: Peddler::APIs::ExternalFulfillmentShipments20240911::Error?, file_data: Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2?, package_id: String?, ship_label_metadata: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata?, status: String? }



593
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 593

def to_h: () -> { error_details: Peddler::APIs::ExternalFulfillmentShipments20240911::Error?, file_data: Peddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2?, package_id: String?, ship_label_metadata: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata?, status: String? }