Class: Peddler::APIs::ProductPricing20220501::PostalCode
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::PostalCode
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#value ⇒ String?
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :country_code, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::PostalCode
Instance Method Summary collapse
Instance Attribute Details
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
524 525 526 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 524 def country_code @country_code end |
#value ⇒ String? (readonly)
Returns the value of attribute value.
525 526 527 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 525 def value @value end |
Class Method Details
.[](country_code:, value:) ⇒ Peddler::APIs::ProductPricing20220501::PostalCode .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::PostalCode
517 518 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 517
def self.[]: (?country_code: String?, ?value: String?) -> Peddler::APIs::ProductPricing20220501::PostalCode
| (String?, String?) -> Peddler::APIs::ProductPricing20220501::PostalCode
|
.members ⇒ [ :country_code, :value ]
520 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 520
def self.members: () -> [ :country_code, :value ]
|
.new(country_code:, value:) ⇒ Peddler::APIs::ProductPricing20220501::PostalCode .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::PostalCode
515 516 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 515
def self.new: (?country_code: String?, ?value: String?) -> Peddler::APIs::ProductPricing20220501::PostalCode
| (String?, String?) -> Peddler::APIs::ProductPricing20220501::PostalCode
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::PostalCode
522 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 522
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::PostalCode
|
Instance Method Details
#members ⇒ [ :country_code, :value ]
527 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 527
def members: () -> [ :country_code, :value ]
|
#to_h ⇒ { country_code: String?, value: String? }
528 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 528
def to_h: () -> { country_code: String?, value: String? }
|