Class: Peddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsArray[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

#payloadPeddler::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 ]

Returns:

  • ([ :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

.parsePeddler::APIs::MerchantFulfillmentV0::CreateShipmentResponse

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }