Class: Peddler::Notifications::FulfillmentOrderStatus::Payload
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FulfillmentOrderStatus::Payload
- Defined in:
- sig/peddler/notifications/fulfillment_order_status.rbs
Instance Attribute Summary collapse
-
#event_type ⇒ String
readonly
Returns the value of attribute event_type.
-
#fulfillment_service_id ⇒ String?
readonly
Returns the value of attribute fulfillment_service_id.
-
#merchant_id ⇒ String
readonly
Returns the value of attribute merchant_id.
-
#order ⇒ Hash[untyped, untyped]
readonly
Returns the value of attribute order.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :event_type, :merchant_id, :order, :fulfillment_service_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::FulfillmentOrderStatus::Payload
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#event_type ⇒ String (readonly)
Returns the value of attribute event_type.
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.
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.
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.
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
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 ]
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
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
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 ]
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? }
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? }
|