Class: Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionable_errorsArray[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]? (readonly)

Returns the value of attribute actionable_errors.



175
176
177
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 175

def actionable_errors
  @actionable_errors
end

#client_sequence_numberInteger? (readonly)

Returns the value of attribute client_sequence_number.

Returns:

  • (Integer, nil)


176
177
178
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 176

def client_sequence_number
  @client_sequence_number
end

#location_idString? (readonly)

Returns the value of attribute location_id.

Returns:

  • (String, nil)


177
178
179
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 177

def location_id
  @location_id
end

#marketplace_attributesPeddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes? (readonly)

Returns the value of attribute marketplace_attributes.



178
179
180
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 178

def marketplace_attributes
  @marketplace_attributes
end

#reserved_quantityInteger? (readonly)

Returns the value of attribute reserved_quantity.

Returns:

  • (Integer, nil)


179
180
181
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 179

def reserved_quantity
  @reserved_quantity
end

#sellable_quantityInteger? (readonly)

Returns the value of attribute sellable_quantity.

Returns:

  • (Integer, nil)


180
181
182
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 180

def sellable_quantity
  @sellable_quantity
end

#sku_idString? (readonly)

Returns the value of attribute sku_id.

Returns:

  • (String, nil)


181
182
183
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 181

def sku_id
  @sku_id
end

Class Method Details

.[](actionable_errors:, client_sequence_number:, location_id:, marketplace_attributes:, reserved_quantity:, sellable_quantity:, sku_id:) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody

Overloads:



168
169
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 168

def self.[]: (?actionable_errors: Array[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]?, ?client_sequence_number: Integer?, ?location_id: String?, ?marketplace_attributes: Peddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes?, ?reserved_quantity: Integer?, ?sellable_quantity: Integer?, ?sku_id: String?) -> Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody
| (Array[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]?, Integer?, String?, Peddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes?, Integer?, Integer?, String?) -> Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody

.members[ :actionable_errors, :client_sequence_number, :location_id, :marketplace_attributes, :reserved_quantity, :sellable_quantity, :sku_id ]

Returns:

  • ([ :actionable_errors, :client_sequence_number, :location_id, :marketplace_attributes, :reserved_quantity, :sellable_quantity, :sku_id ])


171
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 171

def self.members: () -> [ :actionable_errors, :client_sequence_number, :location_id, :marketplace_attributes, :reserved_quantity, :sellable_quantity, :sku_id ]

.new(actionable_errors:, client_sequence_number:, location_id:, marketplace_attributes:, reserved_quantity:, sellable_quantity:, sku_id:) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody

Overloads:



166
167
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 166

def self.new: (?actionable_errors: Array[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]?, ?client_sequence_number: Integer?, ?location_id: String?, ?marketplace_attributes: Peddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes?, ?reserved_quantity: Integer?, ?sellable_quantity: Integer?, ?sku_id: String?) -> Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody
| (Array[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]?, Integer?, String?, Peddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes?, Integer?, Integer?, String?) -> Peddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody

.parsePeddler::APIs::ExternalFulfillmentInventory20240911::InventoryResponseBody

Parameters:

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

Returns:



173
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 173

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

Instance Method Details

#members[ :actionable_errors, :client_sequence_number, :location_id, :marketplace_attributes, :reserved_quantity, :sellable_quantity, :sku_id ]

Returns:

  • ([ :actionable_errors, :client_sequence_number, :location_id, :marketplace_attributes, :reserved_quantity, :sellable_quantity, :sku_id ])


183
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 183

def members: () -> [ :actionable_errors, :client_sequence_number, :location_id, :marketplace_attributes, :reserved_quantity, :sellable_quantity, :sku_id ]

#to_h{ actionable_errors: Array[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]?, client_sequence_number: Integer?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes?, reserved_quantity: Integer?, sellable_quantity: Integer?, sku_id: String? }

Returns:



184
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 184

def to_h: () -> { actionable_errors: Array[Peddler::APIs::ExternalFulfillmentInventory20240911::ActionableError]?, client_sequence_number: Integer?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentInventory20240911::MarketplaceAttributes?, reserved_quantity: Integer?, sellable_quantity: Integer?, sku_id: String? }