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_detailsPeddler::APIs::ExternalFulfillmentShipments20240911::Error? (readonly)

Returns the value of attribute error_details.



494
495
496
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 494

def error_details
  @error_details
end

#file_dataPeddler::APIs::ExternalFulfillmentShipments20240911::DocumentV2? (readonly)

Returns the value of attribute file_data.



495
496
497
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 495

def file_data
  @file_data
end

#package_idString? (readonly)

Returns the value of attribute package_id.

Returns:

  • (String, nil)


496
497
498
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 496

def package_id
  @package_id
end

#ship_label_metadataPeddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata? (readonly)

Returns the value of attribute ship_label_metadata.



497
498
499
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 497

def 
  @ship_label_metadata
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


498
499
500
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 498

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



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

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 ])


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

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



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::PackageShipLabel

Parameters:

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

Returns:



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

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 ])


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

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? }



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

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? }