Class: Peddler::Notifications::PricingHealth::SalesRank

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/pricing_health.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#product_category_idString (readonly)

Returns the value of attribute product_category_id.

Returns:

  • (String)


187
188
189
# File 'sig/peddler/notifications/pricing_health.rbs', line 187

def product_category_id
  @product_category_id
end

#rankInteger (readonly)

Returns the value of attribute rank.

Returns:

  • (Integer)


188
189
190
# File 'sig/peddler/notifications/pricing_health.rbs', line 188

def rank
  @rank
end

Class Method Details

.[](product_category_id:, rank:) ⇒ Peddler::Notifications::PricingHealth::SalesRank .[](arg0, arg1) ⇒ Peddler::Notifications::PricingHealth::SalesRank

Overloads:



180
181
# File 'sig/peddler/notifications/pricing_health.rbs', line 180

def self.[]: (product_category_id: String, rank: Integer) -> Peddler::Notifications::PricingHealth::SalesRank
| (String, Integer) -> Peddler::Notifications::PricingHealth::SalesRank

.members[ :product_category_id, :rank ]

Returns:

  • ([ :product_category_id, :rank ])


183
# File 'sig/peddler/notifications/pricing_health.rbs', line 183

def self.members: () -> [ :product_category_id, :rank ]

.new(product_category_id:, rank:) ⇒ Peddler::Notifications::PricingHealth::SalesRank .new(arg0, arg1) ⇒ Peddler::Notifications::PricingHealth::SalesRank

Overloads:



178
179
# File 'sig/peddler/notifications/pricing_health.rbs', line 178

def self.new: (product_category_id: String, rank: Integer) -> Peddler::Notifications::PricingHealth::SalesRank
| (String, Integer) -> Peddler::Notifications::PricingHealth::SalesRank

.parsePeddler::Notifications::PricingHealth::SalesRank

Parameters:

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

Returns:



185
# File 'sig/peddler/notifications/pricing_health.rbs', line 185

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::PricingHealth::SalesRank

Instance Method Details

#members[ :product_category_id, :rank ]

Returns:

  • ([ :product_category_id, :rank ])


190
# File 'sig/peddler/notifications/pricing_health.rbs', line 190

def members: () -> [ :product_category_id, :rank ]

#to_h{ product_category_id: String, rank: Integer }

Returns:

  • ({ product_category_id: String, rank: Integer })


191
# File 'sig/peddler/notifications/pricing_health.rbs', line 191

def to_h: () -> { product_category_id: String, rank: Integer }