Sha256: a62d6ea8e8329e294acf6abfb138e5bf17491e2ebb17d11b465aa4886065fefe

Contents?: true

Size: 1.09 KB

Versions: 8

Compression:

Stored size: 1.09 KB

Contents

require_relative 'json_base'
require_relative 'program_interest_rate'
require_relative 'program_limit'
module CorePro
  module Models
    class ProgramChecking < JsonBase

      def is_hash?
        true
      end
      attr_accessor :category
      attr_accessor :type
      attr_accessor :productId
      attr_accessor :balanceLimit
      attr_accessor :interestRates
      attr_accessor :isExternalWithdrawEnabled
      attr_accessor :isInterestEnabled
      attr_accessor :isRecurringContributionEnabled
      attr_accessor :perTransactionDepositLimit
      attr_accessor :perTransactionWithdrawLimit

      def initialize
        super
        @interestRates = []
      end

      def from_json! json, classDefs
        classDefs = classDefs || {}
        classDefs['balanceLimit'] = CorePro::Models::ProgramLimit
        classDefs['interestRates'] = CorePro::Models::ProgramInterestRate
        classDefs['perTransactionDepositLimit'] = CorePro::Models::ProgramLimit
        classDefs['perTransactionWithdrawLimit'] = CorePro::Models::ProgramLimit

        super json, classDefs
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 lib/corepro/models/program_checking.rb
corepro_eg-1.0.8 lib/corepro/models/program_checking.rb
corepro_eg-1.0.7 lib/corepro/models/program_checking.rb
corepro_eg-1.0.6 lib/corepro/models/program_checking.rb
corepro_eg-1.0.5 lib/corepro/models/program_checking.rb
corepro_eg-1.0.4 lib/corepro/models/program_checking.rb
corepro_eg-1.0.3 lib/corepro/models/program_checking.rb
corepro_eg-1.0.2 lib/corepro/models/program_checking.rb