Class: Peddler::APIs::ShipmentInvoicingV0::GetInvoiceStatusResponse

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.



81
82
83
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 81

def errors
  @errors
end

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

Returns the value of attribute payload.



82
83
84
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 82

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::ShipmentInvoicingV0::GetInvoiceStatusResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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