Class: Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsArray[Peddler::APIs::ShipmentInvoicingV0::Error]? (readonly)

Returns the value of attribute errors.



98
99
100
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 98

def errors
  @errors
end

#payloadPeddler::APIs::ShipmentInvoicingV0::ShipmentDetail? (readonly)

Returns the value of attribute payload.



99
100
101
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 99

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse .[](arg0, arg1) ⇒ Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse



91
92
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 91

def self.[]: (?errors: Array[Peddler::APIs::ShipmentInvoicingV0::Error]?, ?payload: Peddler::APIs::ShipmentInvoicingV0::ShipmentDetail?) -> Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse
| (Array[Peddler::APIs::ShipmentInvoicingV0::Error]?, Peddler::APIs::ShipmentInvoicingV0::ShipmentDetail?) -> Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


94
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 94

def self.members: () -> [ :errors, :payload ]

.new(errors:, payload:) ⇒ Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse .new(arg0, arg1) ⇒ Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse



89
90
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 89

def self.new: (?errors: Array[Peddler::APIs::ShipmentInvoicingV0::Error]?, ?payload: Peddler::APIs::ShipmentInvoicingV0::ShipmentDetail?) -> Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse
| (Array[Peddler::APIs::ShipmentInvoicingV0::Error]?, Peddler::APIs::ShipmentInvoicingV0::ShipmentDetail?) -> Peddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse

.parsePeddler::APIs::ShipmentInvoicingV0::GetShipmentDetailsResponse

Parameters:

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

Returns:



96
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 96

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


101
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 101

def members: () -> [ :errors, :payload ]

#to_h{ errors: Array[Peddler::APIs::ShipmentInvoicingV0::Error]?, payload: Peddler::APIs::ShipmentInvoicingV0::ShipmentDetail? }



102
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 102

def to_h: () -> { errors: Array[Peddler::APIs::ShipmentInvoicingV0::Error]?, payload: Peddler::APIs::ShipmentInvoicingV0::ShipmentDetail? }