Sha256: c18b824e9d29feaa0d952510615d9af75316507c8dbca171adb7d60eeea5d290
Contents?: true
Size: 1.57 KB
Versions: 1
Compression:
Stored size: 1.57 KB
Contents
object false child @payment, as: :payment do attributes :id, :public_token, :amount, :discount_cost, :payment_method_id, :currency child :order, root: :order do attributes :number, :customer_due_date, :service_id, :service_title, :industry_expertise_id, :industry_expertise_title, :total_cost, :total_words_count, :confirmed_writer_id, :waiting_payment_token, :waiting_payment_amount, :feedbacks_rate, :feedbacks_count_all, :unread_notifications_count, :notifications_type_ids, :certificate_id, :certificate_title, :other_certificate, :language_from_id, :language_from_title, :languages_to_ids, :languages_to_titles, :urgency_type_id, :order_package_id, :order_package_title child :features, root: :features, object_root: false do attributes :title, :amount, :quantity, :feature_type_id end end end child @features, object_root: false, root: 'features' do attributes :id, :feature_type_id, :price, :price_type_id, :subtitle, :discount_percentage, :order_discount, :order_per_word_price, :total_cost node :title do |feature| if feature.feature_type.multiple_variants? "#{feature.feature_type.title} #{feature.title}" else feature.title end end node :code do |feature| feature.feature_type.code end node :tip, &:subtitle end child(@payment_types, object_root: false, root: 'payment_types') do attributes :id, :code, :title, :processing_type end child :rates do extends 'data/rate_currencies' extends 'data/rate_convertions' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/views/payments/transactions/show.json.rabl |