Class: Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace

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

#classification_ranksArray[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]? (readonly)

Returns the value of attribute classification_ranks.



423
424
425
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 423

def classification_ranks
  @classification_ranks
end

#display_group_ranksArray[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]? (readonly)

Returns the value of attribute display_group_ranks.



424
425
426
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 424

def display_group_ranks
  @display_group_ranks
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


425
426
427
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 425

def marketplace_id
  @marketplace_id
end

Class Method Details

.[](marketplace_id:, classification_ranks:, display_group_ranks:) ⇒ Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace .[](arg0, arg1, arg2) ⇒ Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace



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

def self.[]: (marketplace_id: String, ?classification_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]?, ?display_group_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]?) -> Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace
| (String, Array[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]?, Array[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]?) -> Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace

.members[ :marketplace_id, :classification_ranks, :display_group_ranks ]

Returns:

  • ([ :marketplace_id, :classification_ranks, :display_group_ranks ])


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

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

.new(marketplace_id:, classification_ranks:, display_group_ranks:) ⇒ Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace .new(arg0, arg1, arg2) ⇒ Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace



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

def self.new: (marketplace_id: String, ?classification_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]?, ?display_group_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]?) -> Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace
| (String, Array[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]?, Array[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]?) -> Peddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace

.parsePeddler::APIs::CatalogItems20220401::ItemSalesRanksByMarketplace

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :marketplace_id, :classification_ranks, :display_group_ranks ]

Returns:

  • ([ :marketplace_id, :classification_ranks, :display_group_ranks ])


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

def members: () -> [ :marketplace_id, :classification_ranks, :display_group_ranks ]

#to_h{ marketplace_id: String, classification_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]?, display_group_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]? }

Returns:



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

def to_h: () -> { marketplace_id: String, classification_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemClassificationSalesRank]?, display_group_ranks: Array[Peddler::APIs::CatalogItems20220401::ItemDisplayGroupSalesRank]? }