Class: Peddler::APIs::ProductPricingV0::SalesRankType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_v0.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)


813
814
815
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 813

def product_category_id
  @product_category_id
end

#rankInteger (readonly)

Returns the value of attribute rank.

Returns:

  • (Integer)


814
815
816
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 814

def rank
  @rank
end

Class Method Details

.[](product_category_id:, rank:) ⇒ Peddler::APIs::ProductPricingV0::SalesRankType .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::SalesRankType

Overloads:



806
807
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 806

def self.[]: (product_category_id: String, rank: Integer) -> Peddler::APIs::ProductPricingV0::SalesRankType
| (String, Integer) -> Peddler::APIs::ProductPricingV0::SalesRankType

.members[ :product_category_id, :rank ]

Returns:

  • ([ :product_category_id, :rank ])


809
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 809

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

.new(product_category_id:, rank:) ⇒ Peddler::APIs::ProductPricingV0::SalesRankType .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::SalesRankType

Overloads:



804
805
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 804

def self.new: (product_category_id: String, rank: Integer) -> Peddler::APIs::ProductPricingV0::SalesRankType
| (String, Integer) -> Peddler::APIs::ProductPricingV0::SalesRankType

.parsePeddler::APIs::ProductPricingV0::SalesRankType

Parameters:

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

Returns:



811
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 811

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

Instance Method Details

#members[ :product_category_id, :rank ]

Returns:

  • ([ :product_category_id, :rank ])


816
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 816

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

#to_h{ product_category_id: String, rank: Integer }

Returns:

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


817
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 817

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