Class: Peddler::APIs::ProductPricing20220501::ReferencePrice
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::ReferencePrice
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#price ⇒ Peddler::Money
readonly
Returns the value of attribute price.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :name, :price ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::ReferencePrice
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
700 701 702 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 700 def name @name end |
#price ⇒ Peddler::Money (readonly)
Returns the value of attribute price.
701 702 703 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 701 def price @price end |
Class Method Details
.[](name:, price:) ⇒ Peddler::APIs::ProductPricing20220501::ReferencePrice .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::ReferencePrice
693 694 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 693
def self.[]: (name: String, price: Peddler::Money) -> Peddler::APIs::ProductPricing20220501::ReferencePrice
| (String, Peddler::Money) -> Peddler::APIs::ProductPricing20220501::ReferencePrice
|
.members ⇒ [ :name, :price ]
696 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 696
def self.members: () -> [ :name, :price ]
|
.new(name:, price:) ⇒ Peddler::APIs::ProductPricing20220501::ReferencePrice .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::ReferencePrice
691 692 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 691
def self.new: (name: String, price: Peddler::Money) -> Peddler::APIs::ProductPricing20220501::ReferencePrice
| (String, Peddler::Money) -> Peddler::APIs::ProductPricing20220501::ReferencePrice
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::ReferencePrice
698 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 698
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::ReferencePrice
|
Instance Method Details
#members ⇒ [ :name, :price ]
703 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 703
def members: () -> [ :name, :price ]
|
#to_h ⇒ { name: String, price: Peddler::Money }
704 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 704
def to_h: () -> { name: String, price: Peddler::Money }
|