Class: Peddler::APIs::VendorShipmentsV1::Location
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorShipmentsV1::Location
- Defined in:
- sig/peddler/apis/vendor_shipments_v1.rbs
Instance Attribute Summary collapse
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#location_code ⇒ String?
readonly
Returns the value of attribute location_code.
-
#type ⇒ String?
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :country_code, :location_code, :type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorShipmentsV1::Location
Instance Method Summary collapse
-
#members ⇒ [ :country_code, :location_code, :type ]
-
#to_h ⇒ { country_code: String?, location_code: String?, type: String? }
Instance Attribute Details
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
424 425 426 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 424 def country_code @country_code end |
#location_code ⇒ String? (readonly)
Returns the value of attribute location_code.
425 426 427 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 425 def location_code @location_code end |
#type ⇒ String? (readonly)
Returns the value of attribute type.
426 427 428 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 426 def type @type end |
Class Method Details
.[](country_code:, location_code:, type:) ⇒ Peddler::APIs::VendorShipmentsV1::Location .[](arg0, arg1, arg2) ⇒ Peddler::APIs::VendorShipmentsV1::Location
417 418 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 417
def self.[]: (?country_code: String?, ?location_code: String?, ?type: String?) -> Peddler::APIs::VendorShipmentsV1::Location
| (String?, String?, String?) -> Peddler::APIs::VendorShipmentsV1::Location
|
.members ⇒ [ :country_code, :location_code, :type ]
420 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 420
def self.members: () -> [ :country_code, :location_code, :type ]
|
.new(country_code:, location_code:, type:) ⇒ Peddler::APIs::VendorShipmentsV1::Location .new(arg0, arg1, arg2) ⇒ Peddler::APIs::VendorShipmentsV1::Location
415 416 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 415
def self.new: (?country_code: String?, ?location_code: String?, ?type: String?) -> Peddler::APIs::VendorShipmentsV1::Location
| (String?, String?, String?) -> Peddler::APIs::VendorShipmentsV1::Location
|
.parse ⇒ Peddler::APIs::VendorShipmentsV1::Location
422 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 422
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::Location
|
Instance Method Details
#members ⇒ [ :country_code, :location_code, :type ]
428 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 428
def members: () -> [ :country_code, :location_code, :type ]
|
#to_h ⇒ { country_code: String?, location_code: String?, type: String? }
429 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 429
def to_h: () -> { country_code: String?, location_code: String?, type: String? }
|