Class: UU::Finman::Account::AccountCreate
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::Finman::Account::AccountCreate
- Defined in:
- lib/uu/finman/account/account_create.rb
Overview
DTO for create command of account.
Instance Attribute Summary (collapse)
-
- (String) account_currency_code
Currency of created account.
-
- (UU::Finman::Account::AccountType) account_type
Type of Account.
-
- (Fixnum) authorized_overdraft
Authorized overdraft of created account.
-
- (String) bank_account_number
Bank account number of created account.
-
- (UU::OS::UESURI) bank_orders_folder_uri
Bank orders folder uri of created account.
-
- (UU::OS::UESURI) bank_orders_owner_uri
Bank order owner uri of created account.
-
- (String) code
Code of created account.
-
- (UU::OS::UESURI) company_uri
URI of company of created Account.
-
- (UU::OS::UESURI) competent_role_uri
URI of the role competent for created account.
-
- (Fixnum) days_expected_paydate_bo
Days expected paydate bank order of created account This parameter cannot be used for Cash Account.
-
- (UU::OS::UESURI) debit_teller_uri
Debit Teller.
-
- (UU::OS::UESURI) debit_tellers_manager_uri
Debit Teller's Manager.
-
- (String) description
Description of created account.
-
- (TrueClass, FalseClass) dry_run
Dry run.
-
- (String) iban
Iban number of created account.
-
- (UU::OS::UESURI) incoming_payment_checker_uri
Incoming Payment Checker.
-
- (UU::OS::UESURI) incoming_payment_checkers_manager_uri
Incoming Payment Checker's Manager.
-
- (Fixnum) max_payments_bank_orders_artifact
Maximal payments bank orders Artifact of created account.
-
- (Fixnum) minimal_balance
Minimal balance in created account.
-
- (String) name
Name of created account.
-
- (String) note
Note of created account.
-
- (Fixnum) number_of_referenced_bo
Number of referenced bank orders.
-
- (UU::OS::UESURI) outgoing_payment_checker_uri
Outgoing Payment Checker.
-
- (UU::OS::UESURI) outgoing_payment_checkers_manager_uri
Outgoing Payment Checker's Manager.
-
- (TrueClass, FalseClass) registered_account
Registered account of created account.
-
- (String) security_level
Security level of created account.
Instance Attribute Details
- (String) account_currency_code
Currency of created account. Required attribute since version FINMAN3-15-8.
60 61 62 |
# File 'lib/uu/finman/account/account_create.rb', line 60 def account_currency_code @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_create.rb', line 15 def account_type @account_type end |
- (Fixnum) authorized_overdraft
Authorized overdraft of created account.
76 77 78 |
# File 'lib/uu/finman/account/account_create.rb', line 76 def @authorized_overdraft end |
- (String) bank_account_number
Bank account number of created account. When null is set, the create command will fail.
66 67 68 |
# File 'lib/uu/finman/account/account_create.rb', line 66 def bank_account_number @bank_account_number end |
- (UU::OS::UESURI) bank_orders_folder_uri
Bank orders folder uri of created account
102 103 104 |
# File 'lib/uu/finman/account/account_create.rb', line 102 def bank_orders_folder_uri @bank_orders_folder_uri end |
- (UU::OS::UESURI) bank_orders_owner_uri
Bank order owner uri of created account
97 98 99 |
# File 'lib/uu/finman/account/account_create.rb', line 97 def bank_orders_owner_uri @bank_orders_owner_uri end |
- (String) code
Code of created 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.
30 31 32 |
# File 'lib/uu/finman/account/account_create.rb', line 30 def code @code end |
- (UU::OS::UESURI) company_uri
URI of company of created Account. When null is set, the create command will fail.
54 55 56 |
# File 'lib/uu/finman/account/account_create.rb', line 54 def company_uri @company_uri end |
- (UU::OS::UESURI) competent_role_uri
URI of the role competent for created account. When null is set, competent role will be taken from authorization.
42 43 44 |
# File 'lib/uu/finman/account/account_create.rb', line 42 def competent_role_uri @competent_role_uri end |
- (Fixnum) days_expected_paydate_bo
Days expected paydate bank order of created account This parameter cannot be used for Cash Account.
108 109 110 |
# File 'lib/uu/finman/account/account_create.rb', line 108 def days_expected_paydate_bo @days_expected_paydate_bo end |
- (UU::OS::UESURI) debit_teller_uri
Debit Teller
134 135 136 |
# File 'lib/uu/finman/account/account_create.rb', line 134 def debit_teller_uri @debit_teller_uri end |
- (UU::OS::UESURI) debit_tellers_manager_uri
Debit Teller's Manager
129 130 131 |
# File 'lib/uu/finman/account/account_create.rb', line 129 def debit_tellers_manager_uri @debit_tellers_manager_uri end |
- (String) description
Description of created account. When null is set, the description is taken from the meta artifact. When the meta artifact does not define it, it remains empty.
36 37 38 |
# File 'lib/uu/finman/account/account_create.rb', line 36 def description @description end |
- (TrueClass, FalseClass) dry_run
Dry run. If true, all validations will be processed, but account will not be created.
124 125 126 |
# File 'lib/uu/finman/account/account_create.rb', line 124 def dry_run @dry_run end |
- (String) iban
Iban number of created account.
71 72 73 |
# File 'lib/uu/finman/account/account_create.rb', line 71 def iban @iban end |
- (UU::OS::UESURI) incoming_payment_checker_uri
Incoming Payment Checker
154 155 156 |
# File 'lib/uu/finman/account/account_create.rb', line 154 def incoming_payment_checker_uri @incoming_payment_checker_uri end |
- (UU::OS::UESURI) incoming_payment_checkers_manager_uri
Incoming Payment Checker's Manager
149 150 151 |
# File 'lib/uu/finman/account/account_create.rb', line 149 def incoming_payment_checkers_manager_uri @incoming_payment_checkers_manager_uri end |
- (Fixnum) max_payments_bank_orders_artifact
Maximal payments bank orders Artifact of created account
113 114 115 |
# File 'lib/uu/finman/account/account_create.rb', line 113 def max_payments_bank_orders_artifact @max_payments_bank_orders_artifact end |
- (Fixnum) minimal_balance
Minimal balance in created account.
81 82 83 |
# File 'lib/uu/finman/account/account_create.rb', line 81 def minimal_balance @minimal_balance end |
- (String) name
Name of created 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.
22 23 24 |
# File 'lib/uu/finman/account/account_create.rb', line 22 def name @name end |
- (String) note
Note of created account.
86 87 88 |
# File 'lib/uu/finman/account/account_create.rb', line 86 def note @note end |
- (Fixnum) number_of_referenced_bo
Number of referenced bank orders.
118 119 120 |
# File 'lib/uu/finman/account/account_create.rb', line 118 def number_of_referenced_bo @number_of_referenced_bo end |
- (UU::OS::UESURI) outgoing_payment_checker_uri
Outgoing Payment Checker
144 145 146 |
# File 'lib/uu/finman/account/account_create.rb', line 144 def outgoing_payment_checker_uri @outgoing_payment_checker_uri end |
- (UU::OS::UESURI) outgoing_payment_checkers_manager_uri
Outgoing Payment Checker's Manager
139 140 141 |
# File 'lib/uu/finman/account/account_create.rb', line 139 def outgoing_payment_checkers_manager_uri @outgoing_payment_checkers_manager_uri end |
- (TrueClass, FalseClass) registered_account
Registered account of created account. This parameter cannot be used for Cash Account.
92 93 94 |
# File 'lib/uu/finman/account/account_create.rb', line 92 def registered_account @registered_account end |
- (String) security_level
Security level of created 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.
48 49 50 |
# File 'lib/uu/finman/account/account_create.rb', line 48 def security_level @security_level end |