Class: Peddler::APIs::VendorShipmentsV1::Location

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


424
425
426
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 424

def country_code
  @country_code
end

#location_codeString? (readonly)

Returns the value of attribute location_code.

Returns:

  • (String, nil)


425
426
427
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 425

def location_code
  @location_code
end

#typeString? (readonly)

Returns the value of attribute type.

Returns:

  • (String, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::VendorShipmentsV1::Location

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:

  • ({ 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? }