Class: Peddler::Notifications::OrderChange::Payload

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#order_change_notificationPeddler::Notifications::OrderChange::OrderChangeNotification (readonly)

Returns the value of attribute order_change_notification.



98
99
100
# File 'sig/peddler/notifications/order_change.rbs', line 98

def order_change_notification
  @order_change_notification
end

Class Method Details

.[](order_change_notification:) ⇒ Peddler::Notifications::OrderChange::Payload .[](arg0) ⇒ Peddler::Notifications::OrderChange::Payload



91
92
# File 'sig/peddler/notifications/order_change.rbs', line 91

def self.[]: (order_change_notification: Peddler::Notifications::OrderChange::OrderChangeNotification) -> Peddler::Notifications::OrderChange::Payload
| (Peddler::Notifications::OrderChange::OrderChangeNotification) -> Peddler::Notifications::OrderChange::Payload

.members[ :order_change_notification ]

Returns:

  • ([ :order_change_notification ])


94
# File 'sig/peddler/notifications/order_change.rbs', line 94

def self.members: () -> [ :order_change_notification ]

.new(order_change_notification:) ⇒ Peddler::Notifications::OrderChange::Payload .new(arg0) ⇒ Peddler::Notifications::OrderChange::Payload



89
90
# File 'sig/peddler/notifications/order_change.rbs', line 89

def self.new: (order_change_notification: Peddler::Notifications::OrderChange::OrderChangeNotification) -> Peddler::Notifications::OrderChange::Payload
| (Peddler::Notifications::OrderChange::OrderChangeNotification) -> Peddler::Notifications::OrderChange::Payload

.parsePeddler::Notifications::OrderChange::Payload

Parameters:

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

Returns:



96
# File 'sig/peddler/notifications/order_change.rbs', line 96

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

Instance Method Details

#members[ :order_change_notification ]

Returns:

  • ([ :order_change_notification ])


100
# File 'sig/peddler/notifications/order_change.rbs', line 100

def members: () -> [ :order_change_notification ]

#to_h{ order_change_notification: Peddler::Notifications::OrderChange::OrderChangeNotification }

Returns:



101
# File 'sig/peddler/notifications/order_change.rbs', line 101

def to_h: () -> { order_change_notification: Peddler::Notifications::OrderChange::OrderChangeNotification }