Class: UU::Finman::Account::AccountCreate

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

Overview

DTO for create command of account.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (String) account_currency_code

Currency of created account. Required attribute since version FINMAN3-15-8.

Parameters:

  • (String)

Returns:

  • (String)


60
61
62
# File 'lib/uu/finman/account/account_create.rb', line 60

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_create.rb', line 15

def 
  @account_type
end

- (Fixnum) authorized_overdraft

Authorized overdraft of created account.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


76
77
78
# File 'lib/uu/finman/account/account_create.rb', line 76

def authorized_overdraft
  @authorized_overdraft
end

- (String) bank_account_number

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

Parameters:

  • (String)

Returns:

  • (String)


66
67
68
# File 'lib/uu/finman/account/account_create.rb', line 66

def 
  @bank_account_number
end

- (UU::OS::UESURI) bank_orders_folder_uri

Bank orders folder uri of created account

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

  • (TrueClass, FalseClass)

Returns:

  • (TrueClass, FalseClass)


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.

Parameters:

  • (String)

Returns:

  • (String)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


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.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


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.

Parameters:

  • (String)

Returns:

  • (String)


22
23
24
# File 'lib/uu/finman/account/account_create.rb', line 22

def name
  @name
end

- (String) note

Note of created account.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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

Parameters:

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

Returns:

  • (UU::OS::UESURI)


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.

Parameters:

  • (TrueClass, FalseClass)

Returns:

  • (TrueClass, FalseClass)


92
93
94
# File 'lib/uu/finman/account/account_create.rb', line 92

def 
  @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.

Parameters:

  • (String)

Returns:

  • (String)


48
49
50
# File 'lib/uu/finman/account/account_create.rb', line 48

def security_level
  @security_level
end