Class: Spree::Api::V3::Admin::OrderRoutingRuleSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- Spree::Api::V3::Admin::OrderRoutingRuleSerializer
- Defined in:
- app/serializers/spree/api/v3/admin/order_routing_rule_serializer.rb
Overview
Serializes Spree::OrderRoutingRule (and its STI subclasses) for the per-channel routing-rules editor. Same shape as PromotionRule so the frontend renders both with the same schema-driven preference form.
Method Summary
Methods inherited from BaseSerializer
#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, money_attributes, #nested_expands_for, #nested_params