Class: Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.rbs
Instance Attribute Summary collapse
-
#errors ⇒ Array[Peddler::APIs::MerchantFulfillmentV0::Error]?
readonly
Returns the value of attribute errors.
-
#payload ⇒ Peddler::APIs::MerchantFulfillmentV0::Shipment?
readonly
Returns the value of attribute payload.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :errors, :payload ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse
Instance Method Summary collapse
- #members ⇒ [ :errors, :payload ]
- #to_h ⇒ { errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, payload: Peddler::APIs::MerchantFulfillmentV0::Shipment? }
Instance Attribute Details
#errors ⇒ Array[Peddler::APIs::MerchantFulfillmentV0::Error]? (readonly)
Returns the value of attribute errors.
254 255 256 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 254 def errors @errors end |
#payload ⇒ Peddler::APIs::MerchantFulfillmentV0::Shipment? (readonly)
Returns the value of attribute payload.
255 256 257 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 255 def payload @payload end |
Class Method Details
.[](errors:, payload:) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse
247 248 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 247 def self.[]: (?errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, ?payload: Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse | (Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse |
.members ⇒ [ :errors, :payload ]
250 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 250 def self.members: () -> [ :errors, :payload ] |
.new(errors:, payload:) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse
245 246 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 245 def self.new: (?errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, ?payload: Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse | (Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse |
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse
252 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 252 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse |
Instance Method Details
#members ⇒ [ :errors, :payload ]
257 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 257 def members: () -> [ :errors, :payload ] |
#to_h ⇒ { errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, payload: Peddler::APIs::MerchantFulfillmentV0::Shipment? }
258 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 258 def to_h: () -> { errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, payload: Peddler::APIs::MerchantFulfillmentV0::Shipment? } |