Class: Peddler::Notifications::FulfillmentOrderStatus::Payload

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_type ⇒ String (readonly)

Returns the value of attribute event_type.

Returns:

  • (String)


69
70
71
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 69

def event_type
  @event_type
end

#fulfillment_service_id ⇒ String? (readonly)

Returns the value of attribute fulfillment_service_id.

Returns:

  • (String, nil)


70
71
72
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 70

def fulfillment_service_id
  @fulfillment_service_id
end

#merchant_id ⇒ String (readonly)

Returns the value of attribute merchant_id.

Returns:

  • (String)


71
72
73
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 71

def merchant_id
  @merchant_id
end

#order ⇒ Hash[untyped, untyped] (readonly)

Returns the value of attribute order.

Returns:

  • (Hash[untyped, untyped])


72
73
74
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 72

def order
  @order
end

Class Method Details

.[](event_type:, merchant_id:, order:, fulfillment_service_id:) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Payload .[](arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Payload

Overloads:



62
63
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 62

def self.[]: (event_type: String, merchant_id: String, order: Hash[untyped, untyped], ?fulfillment_service_id: String?) -> Peddler::Notifications::FulfillmentOrderStatus::Payload
| (String, String, Hash[untyped, untyped], String?) -> Peddler::Notifications::FulfillmentOrderStatus::Payload

.members ⇒ [ :event_type, :merchant_id, :order, :fulfillment_service_id ]

Returns:

  • ([ :event_type, :merchant_id, :order, :fulfillment_service_id ])


65
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 65

def self.members: () -> [ :event_type, :merchant_id, :order, :fulfillment_service_id ]

.new(event_type:, merchant_id:, order:, fulfillment_service_id:) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Payload .new(arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Payload

Overloads:



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

def self.new: (event_type: String, merchant_id: String, order: Hash[untyped, untyped], ?fulfillment_service_id: String?) -> Peddler::Notifications::FulfillmentOrderStatus::Payload
| (String, String, Hash[untyped, untyped], String?) -> Peddler::Notifications::FulfillmentOrderStatus::Payload

.parse ⇒ Peddler::Notifications::FulfillmentOrderStatus::Payload

Parameters:

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

Returns:



67
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 67

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

Instance Method Details

#members ⇒ [ :event_type, :merchant_id, :order, :fulfillment_service_id ]

Returns:

  • ([ :event_type, :merchant_id, :order, :fulfillment_service_id ])


74
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 74

def members: () -> [ :event_type, :merchant_id, :order, :fulfillment_service_id ]

#to_h ⇒ { event_type: String, merchant_id: String, order: Hash[untyped, untyped], fulfillment_service_id: String? }

Returns:

  • ({ event_type: String, merchant_id: String, order: Hash[untyped, untyped], fulfillment_service_id: String? })


75
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 75

def to_h: () -> { event_type: String, merchant_id: String, order: Hash[untyped, untyped], fulfillment_service_id: String? }