Class: Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus

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

#reasonString? (readonly)

Returns the value of attribute reason.

Returns:

  • (String, nil)


433
434
435
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 433

def reason
  @reason
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


434
435
436
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 434

def status
  @status
end

#sub_statusString? (readonly)

Returns the value of attribute sub_status.

Returns:

  • (String, nil)


435
436
437
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 435

def sub_status
  @sub_status
end

Class Method Details

.[](reason:, status:, sub_status:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus

Overloads:



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

def self.[]: (?reason: String?, ?status: String?, ?sub_status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus
| (String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus

.members[ :reason, :status, :sub_status ]

Returns:

  • ([ :reason, :status, :sub_status ])


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

def self.members: () -> [ :reason, :status, :sub_status ]

.new(reason:, status:, sub_status:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus

Overloads:



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

def self.new: (?reason: String?, ?status: String?, ?sub_status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus
| (String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::PackageDeliveryStatus

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :reason, :status, :sub_status ]

Returns:

  • ([ :reason, :status, :sub_status ])


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

def members: () -> [ :reason, :status, :sub_status ]

#to_h{ reason: String?, status: String?, sub_status: String? }

Returns:

  • ({ reason: String?, status: String?, sub_status: String? })


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

def to_h: () -> { reason: String?, status: String?, sub_status: String? }