Sha256: 176e13142a56b050fb2c25587a3b78faff80b9a093ae9b53ef9b62022d28f0bb

Contents?: true

Size: 669 Bytes

Versions: 8

Compression:

Stored size: 669 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

8 entries across 8 versions & 2 rubygems

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