Class: Peddler::Notifications::OrderChange::Notification
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::OrderChange::Notification
- Defined in:
- sig/peddler/notifications/order_change.rbs
Instance Attribute Summary collapse
-
#event_time ⇒ String
readonly
Returns the value of attribute event_time.
-
#notification_metadata ⇒ Hash[untyped, untyped]
readonly
Returns the value of attribute notification_metadata.
-
#notification_type ⇒ String
readonly
Returns the value of attribute notification_type.
-
#notification_version ⇒ String
readonly
Returns the value of attribute notification_version.
-
#payload ⇒ Peddler::Notifications::OrderChange::Payload
readonly
Returns the value of attribute payload.
-
#payload_version ⇒ String
readonly
Returns the value of attribute payload_version.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::OrderChange::Notification
Instance Method Summary collapse
-
#members ⇒ [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
-
#to_h ⇒ { event_time: String, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::OrderChange::Payload, payload_version: String }
Instance Attribute Details
#event_time ⇒ String (readonly)
Returns the value of attribute event_time.
14 15 16 |
# File 'sig/peddler/notifications/order_change.rbs', line 14 def event_time @event_time end |
#notification_metadata ⇒ Hash[untyped, untyped] (readonly)
Returns the value of attribute notification_metadata.
15 16 17 |
# File 'sig/peddler/notifications/order_change.rbs', line 15 def @notification_metadata end |
#notification_type ⇒ String (readonly)
Returns the value of attribute notification_type.
16 17 18 |
# File 'sig/peddler/notifications/order_change.rbs', line 16 def notification_type @notification_type end |
#notification_version ⇒ String (readonly)
Returns the value of attribute notification_version.
17 18 19 |
# File 'sig/peddler/notifications/order_change.rbs', line 17 def notification_version @notification_version end |
#payload ⇒ Peddler::Notifications::OrderChange::Payload (readonly)
Returns the value of attribute payload.
18 19 20 |
# File 'sig/peddler/notifications/order_change.rbs', line 18 def payload @payload end |
#payload_version ⇒ String (readonly)
Returns the value of attribute payload_version.
19 20 21 |
# File 'sig/peddler/notifications/order_change.rbs', line 19 def payload_version @payload_version end |
Class Method Details
.[](event_time:, notification_metadata:, notification_type:, notification_version:, payload:, payload_version:) ⇒ Peddler::Notifications::OrderChange::Notification .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::OrderChange::Notification
7 8 |
# File 'sig/peddler/notifications/order_change.rbs', line 7
def self.[]: (event_time: String, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::OrderChange::Payload, payload_version: String) -> Peddler::Notifications::OrderChange::Notification
| (String, Hash[untyped, untyped], String, String, Peddler::Notifications::OrderChange::Payload, String) -> Peddler::Notifications::OrderChange::Notification
|
.members ⇒ [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
10 |
# File 'sig/peddler/notifications/order_change.rbs', line 10
def self.members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
|
.new(event_time:, notification_metadata:, notification_type:, notification_version:, payload:, payload_version:) ⇒ Peddler::Notifications::OrderChange::Notification .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::OrderChange::Notification
5 6 |
# File 'sig/peddler/notifications/order_change.rbs', line 5
def self.new: (event_time: String, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::OrderChange::Payload, payload_version: String) -> Peddler::Notifications::OrderChange::Notification
| (String, Hash[untyped, untyped], String, String, Peddler::Notifications::OrderChange::Payload, String) -> Peddler::Notifications::OrderChange::Notification
|
.parse ⇒ Peddler::Notifications::OrderChange::Notification
12 |
# File 'sig/peddler/notifications/order_change.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::OrderChange::Notification
|
Instance Method Details
#members ⇒ [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
21 |
# File 'sig/peddler/notifications/order_change.rbs', line 21
def members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
|
#to_h ⇒ { event_time: String, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::OrderChange::Payload, payload_version: String }
22 |
# File 'sig/peddler/notifications/order_change.rbs', line 22
def to_h: () -> { event_time: String, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::OrderChange::Payload, payload_version: String }
|