Class: Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#classificationsArray[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]? (readonly)

Returns the value of attribute classifications.



169
170
171
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 169

def classifications
  @classifications
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


170
171
172
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 170

def marketplace_id
  @marketplace_id
end

Class Method Details

.[](marketplace_id:, classifications:) ⇒ Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace .[](arg0, arg1) ⇒ Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace



162
163
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 162

def self.[]: (marketplace_id: String, ?classifications: Array[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]?) -> Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace
| (String, Array[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]?) -> Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace

.members[ :marketplace_id, :classifications ]

Returns:

  • ([ :marketplace_id, :classifications ])


165
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 165

def self.members: () -> [ :marketplace_id, :classifications ]

.new(marketplace_id:, classifications:) ⇒ Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace .new(arg0, arg1) ⇒ Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace



160
161
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 160

def self.new: (marketplace_id: String, ?classifications: Array[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]?) -> Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace
| (String, Array[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]?) -> Peddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace

.parsePeddler::APIs::CatalogItems20220401::ItemBrowseClassificationsByMarketplace

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :marketplace_id, :classifications ]

Returns:

  • ([ :marketplace_id, :classifications ])


172
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 172

def members: () -> [ :marketplace_id, :classifications ]

#to_h{ marketplace_id: String, classifications: Array[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]? }

Returns:



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

def to_h: () -> { marketplace_id: String, classifications: Array[Peddler::APIs::CatalogItems20220401::ItemBrowseClassification]? }