Class: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail

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

#identifier ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier (readonly)

Returns the value of attribute identifier.



120
121
122
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 120

def identifier
  @identifier
end

#latest_milestone ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone? (readonly)

Returns the value of attribute latest_milestone.



121
122
123
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 121

def latest_milestone
  @latest_milestone
end

#milestone_history ⇒ Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone] (readonly)

Returns the value of attribute milestone_history.



122
123
124
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 122

def milestone_history
  @milestone_history
end

#tracking_estimates ⇒ Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]? (readonly)

Returns the value of attribute tracking_estimates.



123
124
125
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 123

def tracking_estimates
  @tracking_estimates
end

#tracking_url ⇒ String? (readonly)

Returns the value of attribute tracking_url.

Returns:

  • (String, nil)


124
125
126
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 124

def tracking_url
  @tracking_url
end

Class Method Details

.[](identifier:, milestone_history:, latest_milestone:, tracking_estimates:, tracking_url:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail



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

def self.[]: (identifier: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier, milestone_history: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone], ?latest_milestone: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone?, ?tracking_estimates: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]?, ?tracking_url: String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail
| (Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier, Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone], Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone?, Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]?, String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail

.members ⇒ [ :identifier, :milestone_history, :latest_milestone, :tracking_estimates, :tracking_url ]

Returns:

  • ([ :identifier, :milestone_history, :latest_milestone, :tracking_estimates, :tracking_url ])


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

def self.members: () -> [ :identifier, :milestone_history, :latest_milestone, :tracking_estimates, :tracking_url ]

.new(identifier:, milestone_history:, latest_milestone:, tracking_estimates:, tracking_url:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail



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

def self.new: (identifier: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier, milestone_history: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone], ?latest_milestone: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone?, ?tracking_estimates: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]?, ?tracking_url: String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail
| (Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier, Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone], Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone?, Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]?, String?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail

.parse ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingDetail

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :identifier, :milestone_history, :latest_milestone, :tracking_estimates, :tracking_url ]

Returns:

  • ([ :identifier, :milestone_history, :latest_milestone, :tracking_estimates, :tracking_url ])


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

def members: () -> [ :identifier, :milestone_history, :latest_milestone, :tracking_estimates, :tracking_url ]

#to_h ⇒ { identifier: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier, milestone_history: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone], latest_milestone: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone?, tracking_estimates: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]?, tracking_url: String? }



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

def to_h: () -> { identifier: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingIdentifier, milestone_history: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone], latest_milestone: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone?, tracking_estimates: Array[Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingEstimate]?, tracking_url: String? }