Class: Spree::Api::V3::Admin::CouponCodeSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- Spree::Api::V3::Admin::CouponCodeSerializer
- Defined in:
- app/serializers/spree/api/v3/admin/coupon_code_serializer.rb
Overview
Coupon codes belong to multi-code promotions. Read-only here:
codes are generated server-side based on the promotion's
code_prefix + number_of_codes.
Method Summary
Methods inherited from BaseSerializer
#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, #nested_expands_for, #nested_params