Class: UU::Finman::Account::AccountAttributes

Inherits:
OS::REST::DTO
  • Object
show all
Defined in:
lib/uu/finman/account/account_attributes.rb

Overview

DTO for get command of account.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Fixnum) account_balance

Account balance

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


130
131
132
# File 'lib/uu/finman/account/account_attributes.rb', line 130

def 
  @account_balance
end

- (String) account_currency_code

Currency of account.

Parameters:

  • (String)

Returns:

  • (String)


69
70
71
# File 'lib/uu/finman/account/account_attributes.rb', line 69

def 
  @account_currency_code
end

- (UU::Finman::Account::AccountType) account_type

Type of Account. Required attribute. Available values are BANK or CASH



15
16
17
# File 'lib/uu/finman/account/account_attributes.rb', line 15

def 
  @account_type
end

- (Fixnum) authorized_overdraft

Authorized overdraft of account.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


85
86
87
# File 'lib/uu/finman/account/account_attributes.rb', line 85

def authorized_overdraft
  @authorized_overdraft
end

- (String) bank_account_number

Bank account number of account. When null is set, the create command will fail.

Parameters:

  • (String)

Returns:

  • (String)


75
76
77
# File 'lib/uu/finman/account/account_attributes.rb', line 75

def 
  @bank_account_number
end

- (UU::OS::UESURI) bank_orders_folder_uri

Bank orders folder of account

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


110
111
112
# File 'lib/uu/finman/account/account_attributes.rb', line 110

def bank_orders_folder_uri
  @bank_orders_folder_uri
end

- (UU::OS::UESURI) bank_orders_owner_uri

Bank order owner uri of account

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


105
106
107
# File 'lib/uu/finman/account/account_attributes.rb', line 105

def bank_orders_owner_uri
  @bank_orders_owner_uri
end

- (String) code

Code of account. Its value is automatically trimmed. The code must be unique in target territory. It cannot be empty string nor longer than 250 characters and can contain only characters allowed for BTCode. The create command will fail otherwise. When null is set, the code is generated automatically.

Parameters:

  • (String)

Returns:

  • (String)


35
36
37
# File 'lib/uu/finman/account/account_attributes.rb', line 35

def code
  @code
end

- (UU::OS::UESURI) company_uri

URI of company of Account. When null is set, the create command will fail.

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


64
65
66
# File 'lib/uu/finman/account/account_attributes.rb', line 64

def company_uri
  @company_uri
end

- (UU::OS::UESURI) competent_role_uri

URI of the role competent for account. When null is set, competent role will be taken from authorization.

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


47
48
49
# File 'lib/uu/finman/account/account_attributes.rb', line 47

def competent_role_uri
  @competent_role_uri
end

- (Fixnum) days_expected_paydate_bo

Days expected paydate bank order of account

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


115
116
117
# File 'lib/uu/finman/account/account_attributes.rb', line 115

def days_expected_paydate_bo
  @days_expected_paydate_bo
end

- (UU::OS::UESURI) debit_teller_uri

Debit Teller

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


155
156
157
# File 'lib/uu/finman/account/account_attributes.rb', line 155

def debit_teller_uri
  @debit_teller_uri
end

- (UU::OS::UESURI) debit_tellers_manager_uri

Debit Teller's Manager

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


150
151
152
# File 'lib/uu/finman/account/account_attributes.rb', line 150

def debit_tellers_manager_uri
  @debit_tellers_manager_uri
end

- (String) description

Description of account. When null is set, the description is taken from the meta artifact. When the meta artifact does not define it, it remains empty.

Parameters:

  • (String)

Returns:

  • (String)


41
42
43
# File 'lib/uu/finman/account/account_attributes.rb', line 41

def description
  @description
end

- (String) iban

Iban number of account.

Parameters:

  • (String)

Returns:

  • (String)


80
81
82
# File 'lib/uu/finman/account/account_attributes.rb', line 80

def iban
  @iban
end

- (UU::OS::UESURI) incoming_payment_checker_uri

Incoming Payment Checker

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


175
176
177
# File 'lib/uu/finman/account/account_attributes.rb', line 175

def incoming_payment_checker_uri
  @incoming_payment_checker_uri
end

- (UU::OS::UESURI) incoming_payment_checkers_manager_uri

Incoming Payment Checker's Manager

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


170
171
172
# File 'lib/uu/finman/account/account_attributes.rb', line 170

def incoming_payment_checkers_manager_uri
  @incoming_payment_checkers_manager_uri
end

- (UU::OS::UESURI) location_uri

URI of container of the Business Case.

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


52
53
54
# File 'lib/uu/finman/account/account_attributes.rb', line 52

def location_uri
  @location_uri
end

- (Fixnum) max_payments_bank_orders_artifact

Maximal payments bank orders Artifact of account

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


120
121
122
# File 'lib/uu/finman/account/account_attributes.rb', line 120

def max_payments_bank_orders_artifact
  @max_payments_bank_orders_artifact
end

- (UU::OS::UESURI) meta_artifact_uri

URI of meta artifact of account.

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


20
21
22
# File 'lib/uu/finman/account/account_attributes.rb', line 20

def meta_artifact_uri
  @meta_artifact_uri
end

- (Fixnum) minimal_balance

Minimal balance in account.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


90
91
92
# File 'lib/uu/finman/account/account_attributes.rb', line 90

def minimal_balance
  @minimal_balance
end

- (String) name

Name of account. Its value is automatically trimmed. Cannot be null nor empty string nor longer than 250 characters and can contain only characters allowed for BTName. The create command fails otherwise.

Parameters:

  • (String)

Returns:

  • (String)


27
28
29
# File 'lib/uu/finman/account/account_attributes.rb', line 27

def name
  @name
end

- (String) note

Note of account.

Parameters:

  • (String)

Returns:

  • (String)


95
96
97
# File 'lib/uu/finman/account/account_attributes.rb', line 95

def note
  @note
end

- (Fixnum) number_of_referenced_bo

Number of referenced bank orders.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


125
126
127
# File 'lib/uu/finman/account/account_attributes.rb', line 125

def number_of_referenced_bo
  @number_of_referenced_bo
end

- (UU::OS::UESURI) outgoing_payment_checker_uri

Outgoing Payment Checker

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


165
166
167
# File 'lib/uu/finman/account/account_attributes.rb', line 165

def outgoing_payment_checker_uri
  @outgoing_payment_checker_uri
end

- (UU::OS::UESURI) outgoing_payment_checkers_manager_uri

Outgoing Payment Checker's Manager

Parameters:

  • (String, UU::OS::UESURI)

Returns:

  • (UU::OS::UESURI)


160
161
162
# File 'lib/uu/finman/account/account_attributes.rb', line 160

def outgoing_payment_checkers_manager_uri
  @outgoing_payment_checkers_manager_uri
end

- (TrueClass, FalseClass) registered_account

Registered account of account.

Parameters:

  • (TrueClass, FalseClass)

Returns:

  • (TrueClass, FalseClass)


100
101
102
# File 'lib/uu/finman/account/account_attributes.rb', line 100

def 
  @registered_account
end

- (String) security_level

Security level of account. When null is set, the Security level is taken from the meta artifact. When the meta artifact does not define it, it remains empty.

Parameters:

  • (String)

Returns:

  • (String)


58
59
60
# File 'lib/uu/finman/account/account_attributes.rb', line 58

def security_level
  @security_level
end

- (String) state_comment

Comment of current state of the Account.

Parameters:

  • (String)

Returns:

  • (String)


140
141
142
# File 'lib/uu/finman/account/account_attributes.rb', line 140

def state_comment
  @state_comment
end

- (String) state_name

Name of current state of the Account.

Parameters:

  • (String)

Returns:

  • (String)


135
136
137
# File 'lib/uu/finman/account/account_attributes.rb', line 135

def state_name
  @state_name
end

- (UU::OS::Artifact::ArtifactWidthType) state_type

Type of current state of the Account.

Parameters:

  • (UU::OS::Artifact::ArtifactWidthType)

Returns:

  • (UU::OS::Artifact::ArtifactWidthType)


145
146
147
# File 'lib/uu/finman/account/account_attributes.rb', line 145

def state_type
  @state_type
end