Class: Peddler::APIs::ShippingV1::PurchaseShipmentResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

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

Returns the value of attribute errors.

Returns:



542
543
544
# File 'sig/peddler/apis/shipping_v1.rbs', line 542

def errors
  @errors
end

#payloadPeddler::APIs::ShippingV1::PurchaseShipmentResult? (readonly)

Returns the value of attribute payload.



543
544
545
# File 'sig/peddler/apis/shipping_v1.rbs', line 543

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResponse .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResponse



535
536
# File 'sig/peddler/apis/shipping_v1.rbs', line 535

def self.[]: (?errors: Array[Peddler::APIs::ShippingV1::Error]?, ?payload: Peddler::APIs::ShippingV1::PurchaseShipmentResult?) -> Peddler::APIs::ShippingV1::PurchaseShipmentResponse
| (Array[Peddler::APIs::ShippingV1::Error]?, Peddler::APIs::ShippingV1::PurchaseShipmentResult?) -> Peddler::APIs::ShippingV1::PurchaseShipmentResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


538
# File 'sig/peddler/apis/shipping_v1.rbs', line 538

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

.new(errors:, payload:) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResponse .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResponse



533
534
# File 'sig/peddler/apis/shipping_v1.rbs', line 533

def self.new: (?errors: Array[Peddler::APIs::ShippingV1::Error]?, ?payload: Peddler::APIs::ShippingV1::PurchaseShipmentResult?) -> Peddler::APIs::ShippingV1::PurchaseShipmentResponse
| (Array[Peddler::APIs::ShippingV1::Error]?, Peddler::APIs::ShippingV1::PurchaseShipmentResult?) -> Peddler::APIs::ShippingV1::PurchaseShipmentResponse

.parsePeddler::APIs::ShippingV1::PurchaseShipmentResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


545
# File 'sig/peddler/apis/shipping_v1.rbs', line 545

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

#to_h{ errors: Array[Peddler::APIs::ShippingV1::Error]?, payload: Peddler::APIs::ShippingV1::PurchaseShipmentResult? }



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

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