Class: Peddler::APIs::ProductPricingV0::ShipsFromType

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countryString? (readonly)

Returns the value of attribute country.

Returns:

  • (String, nil)


865
866
867
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 865

def country
  @country
end

#stateString? (readonly)

Returns the value of attribute state.

Returns:

  • (String, nil)


866
867
868
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 866

def state
  @state
end

Class Method Details

.[](country:, state:) ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType

Overloads:



858
859
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 858

def self.[]: (?country: String?, ?state: String?) -> Peddler::APIs::ProductPricingV0::ShipsFromType
| (String?, String?) -> Peddler::APIs::ProductPricingV0::ShipsFromType

.members[ :country, :state ]

Returns:

  • ([ :country, :state ])


861
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 861

def self.members: () -> [ :country, :state ]

.new(country:, state:) ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType

Overloads:



856
857
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 856

def self.new: (?country: String?, ?state: String?) -> Peddler::APIs::ProductPricingV0::ShipsFromType
| (String?, String?) -> Peddler::APIs::ProductPricingV0::ShipsFromType

.parsePeddler::APIs::ProductPricingV0::ShipsFromType

Parameters:

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

Returns:



863
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 863

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

Instance Method Details

#members[ :country, :state ]

Returns:

  • ([ :country, :state ])


868
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 868

def members: () -> [ :country, :state ]

#to_h{ country: String?, state: String? }

Returns:

  • ({ country: String?, state: String? })


869
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 869

def to_h: () -> { country: String?, state: String? }