Class: Peddler::Notifications::OrderChange::OrderChangeTrigger

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

#change_reasonString (readonly)

Returns the value of attribute change_reason.

Returns:

  • (String)


56
57
58
# File 'sig/peddler/notifications/order_change.rbs', line 56

def change_reason
  @change_reason
end

#time_of_order_changeString? (readonly)

Returns the value of attribute time_of_order_change.

Returns:

  • (String, nil)


57
58
59
# File 'sig/peddler/notifications/order_change.rbs', line 57

def time_of_order_change
  @time_of_order_change
end

Class Method Details

.[](change_reason:, time_of_order_change:) ⇒ Peddler::Notifications::OrderChange::OrderChangeTrigger .[](arg0, arg1) ⇒ Peddler::Notifications::OrderChange::OrderChangeTrigger

Overloads:



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

def self.[]: (change_reason: String, time_of_order_change: String?) -> Peddler::Notifications::OrderChange::OrderChangeTrigger
| (String, String?) -> Peddler::Notifications::OrderChange::OrderChangeTrigger

.members[ :change_reason, :time_of_order_change ]

Returns:

  • ([ :change_reason, :time_of_order_change ])


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

def self.members: () -> [ :change_reason, :time_of_order_change ]

.new(change_reason:, time_of_order_change:) ⇒ Peddler::Notifications::OrderChange::OrderChangeTrigger .new(arg0, arg1) ⇒ Peddler::Notifications::OrderChange::OrderChangeTrigger

Overloads:



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

def self.new: (change_reason: String, time_of_order_change: String?) -> Peddler::Notifications::OrderChange::OrderChangeTrigger
| (String, String?) -> Peddler::Notifications::OrderChange::OrderChangeTrigger

.parsePeddler::Notifications::OrderChange::OrderChangeTrigger

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :change_reason, :time_of_order_change ]

Returns:

  • ([ :change_reason, :time_of_order_change ])


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

def members: () -> [ :change_reason, :time_of_order_change ]

#to_h{ change_reason: String, time_of_order_change: String? }

Returns:

  • ({ change_reason: String, time_of_order_change: String? })


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

def to_h: () -> { change_reason: String, time_of_order_change: String? }