Class: Square::Types::OrderCreatedEvent

Inherits:
Internal::Types::Model show all
Defined in:
lib/square/types/order_created_event.rb

Overview

Published when an [Order](entity:Order) is created. This event is triggered only by the [CreateOrder](api-endpoint:Orders-CreateOrder) endpoint call.

Creating an order in the Point of SaleĀ app will not publish this event.

Method Summary

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Constructor Details

This class inherits a constructor from Square::Internal::Types::Model