Sha256: dfc02c907565daa709c894a0b1634bb408556c2f6f8e2135f4532136f0219e35

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 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 :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 :created_at, DateTime
      attribute :products, Array[Product]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
billimatic-client-0.11.0 lib/billimatic/entities/plan.rb
billimatic-client-0.10.2 lib/billimatic/entities/plan.rb
billimatic-client-0.10.1 lib/billimatic/entities/plan.rb