Class: Peddler::APIs::ShippingV1::PurchaseShipmentResponse
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::PurchaseShipmentResponse
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#errors ⇒ Array[Peddler::APIs::ShippingV1::Error]?
readonly
Returns the value of attribute errors.
-
#payload ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResult?
readonly
Returns the value of attribute payload.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :errors, :payload ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResponse
Instance Method Summary collapse
-
#members ⇒ [ :errors, :payload ]
-
#to_h ⇒ { errors: Array[Peddler::APIs::ShippingV1::Error]?, payload: Peddler::APIs::ShippingV1::PurchaseShipmentResult? }
Instance Attribute Details
#errors ⇒ Array[Peddler::APIs::ShippingV1::Error]? (readonly)
Returns the value of attribute errors.
542 543 544 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 542 def errors @errors end |
#payload ⇒ Peddler::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 ]
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
|
.parse ⇒ Peddler::APIs::ShippingV1::PurchaseShipmentResponse
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 ]
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? }
|