Class: CorePro::AccountClose

Inherits:
Models::ModelBase show all
Defined in:
lib/corepro/account_close.rb

Instance Attribute Summary collapse

Attributes inherited from Models::ModelBase

#requestId

Instance Method Summary collapse

Methods inherited from Models::ModelBase

escape, #to_s

Methods inherited from Models::JsonBase

#from_json!, #is_hash?, #to_hash, #to_json

Instance Attribute Details

#accountIdObject

Returns the value of attribute accountId.



7
8
9
# File 'lib/corepro/account_close.rb', line 7

def accountId
  @accountId
end

#backupWithholdingAmountObject

Returns the value of attribute backupWithholdingAmount.



13
14
15
# File 'lib/corepro/account_close.rb', line 13

def backupWithholdingAmount
  @backupWithholdingAmount
end

#closeToAccountIdObject

Returns the value of attribute closeToAccountId.



8
9
10
# File 'lib/corepro/account_close.rb', line 8

def closeToAccountId
  @closeToAccountId
end

#closingBalanceAmountObject

Returns the value of attribute closingBalanceAmount.



11
12
13
# File 'lib/corepro/account_close.rb', line 11

def closingBalanceAmount
  @closingBalanceAmount
end

#customerIdObject

Returns the value of attribute customerId.



6
7
8
# File 'lib/corepro/account_close.rb', line 6

def customerId
  @customerId
end

#interestPaidAmountObject

Returns the value of attribute interestPaidAmount.



12
13
14
# File 'lib/corepro/account_close.rb', line 12

def interestPaidAmount
  @interestPaidAmount
end

#isClosedToExternalAccountObject

Returns the value of attribute isClosedToExternalAccount.



15
16
17
# File 'lib/corepro/account_close.rb', line 15

def isClosedToExternalAccount
  @isClosedToExternalAccount
end

#totalClosingAmountObject

Returns the value of attribute totalClosingAmount.



14
15
16
# File 'lib/corepro/account_close.rb', line 14

def totalClosingAmount
  @totalClosingAmount
end

#transactionIdObject

Returns the value of attribute transactionId.



9
10
11
# File 'lib/corepro/account_close.rb', line 9

def transactionId
  @transactionId
end

#transactionTagObject

Returns the value of attribute transactionTag.



10
11
12
# File 'lib/corepro/account_close.rb', line 10

def transactionTag
  @transactionTag
end

Instance Method Details

#close(connection = nil, loggingObject = nil) ⇒ Object



17
18
19
# File 'lib/corepro/account_close.rb', line 17

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