Class: Peddler::APIs::ProductPricing20220501::SampleLocation

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

#postal_codePeddler::APIs::ProductPricing20220501::PostalCode? (readonly)

Returns the value of attribute postal_code.



717
718
719
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 717

def postal_code
  @postal_code
end

Class Method Details

.[](postal_code:) ⇒ Peddler::APIs::ProductPricing20220501::SampleLocation .[](arg0) ⇒ Peddler::APIs::ProductPricing20220501::SampleLocation



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

def self.[]: (?postal_code: Peddler::APIs::ProductPricing20220501::PostalCode?) -> Peddler::APIs::ProductPricing20220501::SampleLocation
| (Peddler::APIs::ProductPricing20220501::PostalCode?) -> Peddler::APIs::ProductPricing20220501::SampleLocation

.members[ :postal_code ]

Returns:

  • ([ :postal_code ])


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

def self.members: () -> [ :postal_code ]

.new(postal_code:) ⇒ Peddler::APIs::ProductPricing20220501::SampleLocation .new(arg0) ⇒ Peddler::APIs::ProductPricing20220501::SampleLocation



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

def self.new: (?postal_code: Peddler::APIs::ProductPricing20220501::PostalCode?) -> Peddler::APIs::ProductPricing20220501::SampleLocation
| (Peddler::APIs::ProductPricing20220501::PostalCode?) -> Peddler::APIs::ProductPricing20220501::SampleLocation

.parsePeddler::APIs::ProductPricing20220501::SampleLocation

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :postal_code ]

Returns:

  • ([ :postal_code ])


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

def members: () -> [ :postal_code ]

#to_h{ postal_code: Peddler::APIs::ProductPricing20220501::PostalCode? }



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

def to_h: () -> { postal_code: Peddler::APIs::ProductPricing20220501::PostalCode? }