Class: Peddler::Notifications::OrderChange::OrderChangeNotification

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

#amazon_order_idString (readonly)

Returns the value of attribute amazon_order_id.

Returns:

  • (String)


35
36
37
# File 'sig/peddler/notifications/order_change.rbs', line 35

def amazon_order_id
  @amazon_order_id
end

#notification_levelString (readonly)

Returns the value of attribute notification_level.

Returns:

  • (String)


36
37
38
# File 'sig/peddler/notifications/order_change.rbs', line 36

def notification_level
  @notification_level
end

#order_change_triggerPeddler::Notifications::OrderChange::OrderChangeTrigger (readonly)

Returns the value of attribute order_change_trigger.



37
38
39
# File 'sig/peddler/notifications/order_change.rbs', line 37

def order_change_trigger
  @order_change_trigger
end

#order_change_typeString (readonly)

Returns the value of attribute order_change_type.

Returns:

  • (String)


38
39
40
# File 'sig/peddler/notifications/order_change.rbs', line 38

def order_change_type
  @order_change_type
end

#seller_idString (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String)


39
40
41
# File 'sig/peddler/notifications/order_change.rbs', line 39

def seller_id
  @seller_id
end

#summaryPeddler::Notifications::OrderChange::Summary (readonly)

Returns the value of attribute summary.



40
41
42
# File 'sig/peddler/notifications/order_change.rbs', line 40

def summary
  @summary
end

Class Method Details

.[](amazon_order_id:, notification_level:, order_change_trigger:, order_change_type:, seller_id:, summary:) ⇒ Peddler::Notifications::OrderChange::OrderChangeNotification .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::OrderChange::OrderChangeNotification

Overloads:



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

def self.[]: (amazon_order_id: String, notification_level: String, order_change_trigger: Peddler::Notifications::OrderChange::OrderChangeTrigger, order_change_type: String, seller_id: String, summary: Peddler::Notifications::OrderChange::Summary) -> Peddler::Notifications::OrderChange::OrderChangeNotification
| (String, String, Peddler::Notifications::OrderChange::OrderChangeTrigger, String, String, Peddler::Notifications::OrderChange::Summary) -> Peddler::Notifications::OrderChange::OrderChangeNotification

.members[ :amazon_order_id, :notification_level, :order_change_trigger, :order_change_type, :seller_id, :summary ]

Returns:

  • ([ :amazon_order_id, :notification_level, :order_change_trigger, :order_change_type, :seller_id, :summary ])


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

def self.members: () -> [ :amazon_order_id, :notification_level, :order_change_trigger, :order_change_type, :seller_id, :summary ]

.new(amazon_order_id:, notification_level:, order_change_trigger:, order_change_type:, seller_id:, summary:) ⇒ Peddler::Notifications::OrderChange::OrderChangeNotification .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::OrderChange::OrderChangeNotification

Overloads:



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

def self.new: (amazon_order_id: String, notification_level: String, order_change_trigger: Peddler::Notifications::OrderChange::OrderChangeTrigger, order_change_type: String, seller_id: String, summary: Peddler::Notifications::OrderChange::Summary) -> Peddler::Notifications::OrderChange::OrderChangeNotification
| (String, String, Peddler::Notifications::OrderChange::OrderChangeTrigger, String, String, Peddler::Notifications::OrderChange::Summary) -> Peddler::Notifications::OrderChange::OrderChangeNotification

.parsePeddler::Notifications::OrderChange::OrderChangeNotification

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :amazon_order_id, :notification_level, :order_change_trigger, :order_change_type, :seller_id, :summary ]

Returns:

  • ([ :amazon_order_id, :notification_level, :order_change_trigger, :order_change_type, :seller_id, :summary ])


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

def members: () -> [ :amazon_order_id, :notification_level, :order_change_trigger, :order_change_type, :seller_id, :summary ]

#to_h{ amazon_order_id: String, notification_level: String, order_change_trigger: Peddler::Notifications::OrderChange::OrderChangeTrigger, order_change_type: String, seller_id: String, summary: Peddler::Notifications::OrderChange::Summary }

Returns:



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

def to_h: () -> { amazon_order_id: String, notification_level: String, order_change_trigger: Peddler::Notifications::OrderChange::OrderChangeTrigger, order_change_type: String, seller_id: String, summary: Peddler::Notifications::OrderChange::Summary }