Class: Peddler::APIs::ProductPricing20220501::AmountThreshold
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::AmountThreshold
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#currency ⇒ Peddler::Money
readonly
Returns the value of attribute currency.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :currency, :type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::AmountThreshold
Instance Method Summary collapse
Instance Attribute Details
#currency ⇒ Peddler::Money (readonly)
Returns the value of attribute currency.
14 15 16 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 14 def currency @currency end |
#type ⇒ String (readonly)
Returns the value of attribute type.
15 16 17 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 15 def type @type end |
Class Method Details
.[](currency:, type:) ⇒ Peddler::APIs::ProductPricing20220501::AmountThreshold .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::AmountThreshold
7 8 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 7
def self.[]: (currency: Peddler::Money, type: String) -> Peddler::APIs::ProductPricing20220501::AmountThreshold
| (Peddler::Money, String) -> Peddler::APIs::ProductPricing20220501::AmountThreshold
|
.members ⇒ [ :currency, :type ]
10 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 10
def self.members: () -> [ :currency, :type ]
|
.new(currency:, type:) ⇒ Peddler::APIs::ProductPricing20220501::AmountThreshold .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::AmountThreshold
5 6 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 5
def self.new: (currency: Peddler::Money, type: String) -> Peddler::APIs::ProductPricing20220501::AmountThreshold
| (Peddler::Money, String) -> Peddler::APIs::ProductPricing20220501::AmountThreshold
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::AmountThreshold
12 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::AmountThreshold
|
Instance Method Details
#members ⇒ [ :currency, :type ]
17 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 17
def members: () -> [ :currency, :type ]
|
#to_h ⇒ { currency: Peddler::Money, type: String }
18 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 18
def to_h: () -> { currency: Peddler::Money, type: String }
|