Class: Square::Types::CreateCustomerGroupResponse
- Inherits:
-
Internal::Types::Model
- Object
- Internal::Types::Model
- Square::Types::CreateCustomerGroupResponse
- Defined in:
- lib/square/types/create_customer_group_response.rb
Overview
Defines the fields that are included in the response body of a request to the [CreateCustomerGroup](api-endpoint:CustomerGroups-CreateCustomerGroup) endpoint.
Either ‘errors` or `group` is present in a given response (never both).
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
Methods included from Internal::JSON::Serializable
Constructor Details
This class inherits a constructor from Square::Internal::Types::Model