Sha256: e5992af6825b67572ed396e6d1c365bc5f70688174a0519ec63bc17df750cdc9

Contents?: true

Size: 1.82 KB

Versions: 8

Compression:

Stored size: 1.82 KB

Contents

module Billimatic
  module Entities
    class Plan < Base
      attribute :id, Integer
      attribute :name, String
      attribute :description, String
      attribute :price, Decimal
      attribute :billing_period, Integer
      attribute :translated_billing_period, String
      attribute :charging_method, String
      attribute :translated_charging_method, String
      attribute :has_trial, Boolean
      attribute :trial_period, Integer
      attribute :redirect_url, String
      attribute :features, Array[PlanFeature]
      attribute :readjustment_will_be_created, Boolean
      attribute :readjustment_month_quantity, Integer
      attribute :price_index, String
      attribute :readjustment_days_until_update, Integer
      attribute :billet_notification_ruler_id, Integer
      attribute :payment_gateway_notification_ruler_id, Integer
      attribute :emites_service_values_id, Integer
      attribute :emites_service_value_name, String
      attribute :cobrato_billet_charge_config_id, Integer
      attribute :cobrato_billet_charge_config_name, String
      attribute :cobrato_billet_charge_template_id, Integer
      attribute :cobrato_billet_charge_template_name, String
      attribute :cobrato_payment_gateway_charge_config_id, Integer
      attribute :cobrato_payment_gateway_charge_config_name, String
      attribute :finance_category, String
      attribute :finance_revenue_center, String
      attribute :myfinance_billet_sale_account_id, Integer
      attribute :myfinance_billet_sale_account_name, String
      attribute :myfinance_payment_gateway_sale_account_id, Integer
      attribute :myfinance_payment_gateway_sale_account_name, String
      attribute :created_at, DateTime
      attribute :products, Array[Product]
      attribute :allow_installments, Boolean
      attribute :installments_limit, Integer
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
billimatic-client-1.0.1 lib/billimatic/entities/plan.rb
billimatic-client-1.0.0 lib/billimatic/entities/plan.rb
billimatic-client-0.22.1 lib/billimatic/entities/plan.rb
billimatic-client-0.22.0 lib/billimatic/entities/plan.rb
billimatic-client-0.21.0 lib/billimatic/entities/plan.rb
billimatic-client-0.20.0 lib/billimatic/entities/plan.rb
billimatic-client-0.19.1 lib/billimatic/entities/plan.rb
billimatic-client-0.19.0 lib/billimatic/entities/plan.rb