Sha256: 97c0b6948681c3c9f074a3b15170d19a707fa8ee43836ad4b07365d8ffdbbebb

Contents?: true

Size: 690 Bytes

Versions: 5

Compression:

Stored size: 690 Bytes

Contents

require_relative 'models/model_base'
require_relative 'utils/requestor'

module CorePro
  class AccountClose < Models::ModelBase
    attr_accessor :customerId
    attr_accessor :accountId
    attr_accessor :closeToAccountId
    attr_accessor :transactionId
    attr_accessor :transactionTag
    attr_accessor :closingBalanceAmount
    attr_accessor :interestPaidAmount
    attr_accessor :backupWithholdingAmount
    attr_accessor :totalClosingAmount
    attr_accessor :isClosedToExternalAccount

    def close(connection = nil, loggingObject = nil)
      CorePro::Utils::Requestor.post('/account/close', AccountClose, self, connection, loggingObject)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
corepro-1.0.1 lib/corepro/account_close.rb
corepro-1.0.0 lib/corepro/account_close.rb
corepro-0.0.9 lib/corepro/account_close.rb
corepro-0.0.8 lib/corepro/account_close.rb
corepro-0.0.7 lib/corepro/account_close.rb