Class: Spree::Api::V3::CustomerGroupSerializer

Inherits:
BaseSerializer show all
Defined in:
app/serializers/spree/api/v3/customer_group_serializer.rb

Overview

Minimal customer-group shape for the Store API. Exposed on customers/me so a storefront can branch on membership (e.g. an approved wholesale buyer) — pricing itself always resolves server-side.

Method Summary

Methods inherited from BaseSerializer

#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, money_attributes, #nested_expands_for, #nested_params