Class: Peddler::APIs::ProductPricing20220501::PostalCode

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_2022_05_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#country_code ⇒ String? (readonly)

Returns the value of attribute country_code.

Returns:



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.

Returns:



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

Overloads:



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 ]

Returns:



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

Overloads:



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

Parameters:

Returns:



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 ]

Returns:



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? }

Returns:



528
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 528

def to_h: () -> { country_code: String?, value: String? }