Sha256: 8ac89c3b71b0d40fff47480748618fdd401b0599c1745e58601d6c907a463f8c

Contents?: true

Size: 485 Bytes

Versions: 29

Compression:

Stored size: 485 Bytes

Contents

module Spree
  module Api
    module V2
      module Platform
        class PaymentMethodSerializer < BaseSerializer
          attributes :name, :type, :description, :active, :display_on, :auto_capture, :position,
                     :created_at, :updated_at, :deleted_at, :public_metadata, :private_metadata

          attribute :preferences do |payment_method|
            payment_method.preferences
          end

          has_many :stores
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
spree_api-4.10.1 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.10.0 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.9.0 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.8.3 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.8.2 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.7.3 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.6 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.5.5 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.4.1 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.5.4 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.5 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.7.2 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.7.1 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.4 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.7.0 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.3 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.2 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.1 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.6.0 app/serializers/spree/api/v2/platform/payment_method_serializer.rb
spree_api-4.5.3 app/serializers/spree/api/v2/platform/payment_method_serializer.rb