Class: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/shipment_tracking_milestone_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#city ⇒ String? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


198
199
200
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 198

def city
  @city
end

#country_code ⇒ String? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


199
200
201
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 199

def country_code
  @country_code
end

#region ⇒ String? (readonly)

Returns the value of attribute region.

Returns:

  • (String, nil)


200
201
202
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 200

def region
  @region
end

Class Method Details

.[](city:, country_code:, region:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress .[](arg0, arg1, arg2) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

Overloads:



191
192
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 191

def self.[]: (?city: String?, ?country_code: String?, ?region: String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress
| (String?, String?, String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

.members ⇒ [ :city, :country_code, :region ]

Returns:

  • ([ :city, :country_code, :region ])


194
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 194

def self.members: () -> [ :city, :country_code, :region ]

.new(city:, country_code:, region:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress .new(arg0, arg1, arg2) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

Overloads:



189
190
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 189

def self.new: (?city: String?, ?country_code: String?, ?region: String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress
| (String?, String?, String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

.parse ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

Parameters:

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

Returns:



196
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 196

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneAddress

Instance Method Details

#members ⇒ [ :city, :country_code, :region ]

Returns:

  • ([ :city, :country_code, :region ])


202
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 202

def members: () -> [ :city, :country_code, :region ]

#to_h ⇒ { city: String?, country_code: String?, region: String? }

Returns:

  • ({ city: String?, country_code: String?, region: String? })


203
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 203

def to_h: () -> { city: String?, country_code: String?, region: String? }