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.



548
549
550
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 548

def error_details
  @error_details
end

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

Returns the value of attribute file_data.



549
550
551
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 549

def file_data
  @file_data
end

#package_idString? (readonly)

Returns the value of attribute package_id.

Returns:

  • (String, nil)


550
551
552
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 550

def package_id
  @package_id
end

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

Returns the value of attribute ship_label_metadata.



551
552
553
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 551

def 
  @ship_label_metadata
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


552
553
554
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 552

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



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

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


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

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



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

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:



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

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


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

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



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

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