Class: Spree::Api::V3::DiscountSerializer

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

Overview

Unified discount serializer for applied promotions on Cart and Order. Replaces CartPromotionSerializer and OrderPromotionSerializer.

Direct Known Subclasses

Admin::DiscountSerializer

Method Summary

Methods inherited from BaseSerializer

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