Class: Peddler::APIs::ProductPricingV0::ShipsFromType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::ShipsFromType
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#country ⇒ String?
readonly
Returns the value of attribute country.
-
#state ⇒ String?
readonly
Returns the value of attribute state.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :country, :state ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType
Instance Method Summary collapse
Instance Attribute Details
#country ⇒ String? (readonly)
Returns the value of attribute country.
865 866 867 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 865 def country @country end |
#state ⇒ String? (readonly)
Returns the value of attribute state.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType
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 ]
868 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 868
def members: () -> [ :country, :state ]
|
#to_h ⇒ { country: String?, state: String? }
869 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 869
def to_h: () -> { country: String?, state: String? }
|