Class: Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse

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.



195
196
197
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 195

def errors
  @errors
end

#payloadPeddler::APIs::MerchantFulfillmentV0::Shipment? (readonly)

Returns the value of attribute payload.



196
197
198
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 196

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse



188
189
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 188

def self.[]: (?errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, ?payload: Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse
| (Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


191
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 191

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

.new(errors:, payload:) ⇒ Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse



186
187
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 186

def self.new: (?errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, ?payload: Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse
| (Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, Peddler::APIs::MerchantFulfillmentV0::Shipment?) -> Peddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse

.parsePeddler::APIs::MerchantFulfillmentV0::CancelShipmentResponse

Parameters:

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

Returns:



193
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 193

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


198
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 198

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

#to_h{ errors: Array[Peddler::APIs::MerchantFulfillmentV0::Error]?, payload: Peddler::APIs::MerchantFulfillmentV0::Shipment? }



199
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 199

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