Class: UU::Fairpay2::Account::ClientAccountCreate

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

Overview

Value object containing attributes to create a Client Account entity.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (String) account_currency

Account currency for created client account. Required attribute, cannot be null, empty, whitespace only or longer than 250 characters.

Parameters:

  • (String)

Returns:

  • (String)


64
65
66
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 64

def 
  @account_currency
end

- (String) account_number

Account number for created client account. Required attribute, cannot be null, empty, whitespace only or longer than 250 characters.

Parameters:

  • (String)

Returns:

  • (String)


58
59
60
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 58

def 
  @account_number
end

- (UU::OS::UESURI) bank_orders_folder_uri

UESURI of folder, where created Bank Orders. Must be valid UESURI.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


88
89
90
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 88

def bank_orders_folder_uri
  @bank_orders_folder_uri
end

- (UU::OS::UESURI) bank_orders_owner_uri

UESURI of role competent for created Bank Orders Must be valid UESURI.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


82
83
84
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 82

def bank_orders_owner_uri
  @bank_orders_owner_uri
end

- (String) code

Code of created client account. <p>The code must be unique in target territory. It cannot be empty string nor longer than 250 characters and can contain only allowed characters. The create command will fail otherwise. When null is set, the code is generated automatically.

Parameters:

  • (String)

Returns:

  • (String)


23
24
25
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 23

def code
  @code
end

- (UU::OS::UESURI) company_uri

UESURI of Company. Required attribute, cannot be null and must be valid UESURI.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


52
53
54
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 52

def company_uri
  @company_uri
end

- (UU::OS::UESURI) competent_role_uri

UESURI of the role competent for created client account. Must be valid UESURI.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


35
36
37
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 35

def competent_role_uri
  @competent_role_uri
end

- (UU::OS::UESURI) debit_teller_uri

Debit Teller

Parameters:

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

Returns:

  • (UU::OS::UESURI)


116
117
118
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 116

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)


111
112
113
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 111

def debit_tellers_manager_uri
  @debit_tellers_manager_uri
end

- (String) description

Description of created client account. Must not be empty string, must not contain whitespace characters only and must not be longer than 4000 characters.

Parameters:

  • (String)

Returns:

  • (String)


29
30
31
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 29

def description
  @description
end

- (TrueClass, FalseClass) dry_run

Dry run. If true, all validations will be processed, but payment will not be created.

Parameters:

  • (TrueClass, FalseClass)

Returns:

  • (TrueClass, FalseClass)


70
71
72
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 70

def dry_run
  @dry_run
end

- (Fixnum) exp_paydate_days_in_future_for_bo

Maximal expected Days in future for bank orders Cannot invalid Fixnum.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


106
107
108
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 106

def exp_paydate_days_in_future_for_bo
  @exp_paydate_days_in_future_for_bo
end

- (UU::OS::UESURI) incoming_payment_checker_uri

Incoming Payment Checker

Parameters:

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

Returns:

  • (UU::OS::UESURI)


136
137
138
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 136

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)


131
132
133
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 131

def incoming_payment_checkers_manager_uri
  @incoming_payment_checkers_manager_uri
end

- (Fixnum) max_num_payments_in_bo_art

Maximal number of payments which can contain one Bank Orders artifact. Cannot invalid Fixnum.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


100
101
102
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 100

def max_num_payments_in_bo_art
  @max_num_payments_in_bo_art
end

- (Fixnum) max_referenced_bank_orders_number

Maximal number of referenced Bank Orders Cannot invalid Fixnum.

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


94
95
96
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 94

def max_referenced_bank_orders_number
  @max_referenced_bank_orders_number
end

- (UU::OS::UESURI) meta_artifact_uri

UESURI of meta artifact of created Client Account. Required attribute, cannot be null and must be valid UESURI.

Parameters:

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

Returns:

  • (UU::OS::UESURI)


46
47
48
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 46

def meta_artifact_uri
  @meta_artifact_uri
end

- (String) name

Value object containing attributes to create a Client Account entity. Name of created client account. <p>Cannot be null nor empty string nor longer than 250 characters and can contain only allowed characters. The create command fails otherwise.

Parameters:

  • (String)

Returns:

  • (String)


16
17
18
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 16

def name
  @name
end

- (UU::OS::UESURI) outgoing_payment_checker_uri

Outgoing Payment Checker

Parameters:

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

Returns:

  • (UU::OS::UESURI)


126
127
128
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 126

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)


121
122
123
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 121

def outgoing_payment_checkers_manager_uri
  @outgoing_payment_checkers_manager_uri
end

- (TrueClass, FalseClass) registered_account

Registered Account Required attribute, must be valid true/false value.

Parameters:

  • (TrueClass, FalseClass)

Returns:

  • (TrueClass, FalseClass)


76
77
78
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 76

def 
  @registered_account
end

- (Object) security_level

Security level. param [UU::OS::Artifact::SecurityLevel] return [UU::OS::Artifact::SecurityLevel]



40
41
42
# File 'lib/uu/fairpay2/account/client_account_create.rb', line 40

def security_level
  @security_level
end