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.



592
593
594
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 592

def postal_code
  @postal_code
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :postal_code ]

Returns:

  • ([ :postal_code ])


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

def members: () -> [ :postal_code ]

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



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

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