Class: UU::Fairpay2::FinancialTransaction::BankTransactionSetAttributes
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::Fairpay2::FinancialTransaction::BankTransactionSetAttributes
- Defined in:
- lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb
Overview
Value object representing data to set Bank Transaction entity.
Instance Attribute Summary (collapse)
-
- (Fixnum) amount
Amount of the Bank Transaction.
-
- (Fixnum) amount_for_opp_side
Amount for opposite side Cannot be empty, whitespace only or invalid Fixnum.
-
- (String) code
Code of the bank transaction.
-
- (String) constant_symbol
Constant symbol.
-
- (String) credit_account_currency
Credit Account Currency Cannot be longer than 250 characters.
-
- (String) credit_account_number
Credit Client Account Number Cannot be longer than 4000 characters.
-
- (UU::OS::UESURI) credit_account_uri
UESURI of Credit Account Uri Must be valid UESURI of account.
-
- (String) currency
Currency of transaction.
-
- (String) debit_account_currency
Debit Account Currency Cannot be longer than 250 characters.
-
- (String) debit_account_number
Debit Client Account Number Cannot be longer than 4000 characters.
-
- (UU::OS::UESURI) debit_account_uri
UESURI of Debit Account Uri Must be valid UESURI of account.
-
- (String) description
Description of the Bank Transaction.
-
- (Fixnum) exchange_rate_for_opp_side
Exchange rate for opposite side.
-
- (String) finman_transaction_uri
UESURI of Finman g03 transaction or uri of financial transaction in uuFinMang05.
-
- (String) message_payer
Message for payer.
-
- (String) message_recipient
Message for recipient.
-
- (String) name
Name of the bank transaction.
-
- (String) specific_symbol
Specific symbol.
-
- (String) variable_symbol
Variable symbol.
Instance Attribute Details
- (Fixnum) amount
Amount of the Bank Transaction. Cannot be empty, whitespace only or invalid Fixnum.
33 34 35 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 33 def amount @amount end |
- (Fixnum) amount_for_opp_side
Amount for opposite side Cannot be empty, whitespace only or invalid Fixnum. Maximum digits before decimal part is 7.
116 117 118 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 116 def amount_for_opp_side @amount_for_opp_side end |
- (String) code
Code of the bank transaction. The code must be unique in target territory. It cannot be empty string nor longer than 250 characters and can contain only allowed characters.
21 22 23 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 21 def code @code end |
- (String) constant_symbol
Constant symbol. Cannot be longer than 4000 characters.
39 40 41 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 39 def constant_symbol @constant_symbol end |
- (String) credit_account_currency
Credit Account Currency Cannot be longer than 250 characters.
98 99 100 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 98 def credit_account_currency @credit_account_currency end |
- (String) credit_account_number
Credit Client Account Number Cannot be longer than 4000 characters.
74 75 76 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 74 def credit_account_number @credit_account_number end |
- (UU::OS::UESURI) credit_account_uri
UESURI of Credit Account Uri Must be valid UESURI of account.
86 87 88 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 86 def credit_account_uri @credit_account_uri end |
- (String) currency
Currency of transaction. Must not be empty string, must not contain whitespace characters only and must not be longer than 250 characters.
122 123 124 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 122 def currency @currency end |
- (String) debit_account_currency
Debit Account Currency Cannot be longer than 250 characters.
104 105 106 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 104 def debit_account_currency @debit_account_currency end |
- (String) debit_account_number
Debit Client Account Number Cannot be longer than 4000 characters.
80 81 82 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 80 def debit_account_number @debit_account_number end |
- (UU::OS::UESURI) debit_account_uri
UESURI of Debit Account Uri Must be valid UESURI of account.
92 93 94 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 92 def debit_account_uri @debit_account_uri end |
- (String) description
Description of the Bank Transaction. Cannot be longer than 4000 characters.
27 28 29 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 27 def description @description end |
- (Fixnum) exchange_rate_for_opp_side
Exchange rate for opposite side. Cannot be empty, whitespace only or invalid Fixnum.
110 111 112 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 110 def exchange_rate_for_opp_side @exchange_rate_for_opp_side end |
- (String) finman_transaction_uri
UESURI of Finman g03 transaction or uri of financial transaction in uuFinMang05. Attribute is not required. Should be used only in integration FINMAN->FAIRPAY
68 69 70 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 68 def finman_transaction_uri @finman_transaction_uri end |
- (String) message_payer
Message for payer. Cannot be longer than 4000 characters.
63 64 65 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 63 def @message_payer end |
- (String) message_recipient
Message for recipient. Cannot be longer than 4000 characters.
57 58 59 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 57 def @message_recipient end |
- (String) name
Name of the bank transaction. Cannot be longer than 250 characters and can contain only allowed characters.
15 16 17 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 15 def name @name end |
- (String) specific_symbol
Specific symbol. Cannot be longer than 4000 characters.
45 46 47 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 45 def specific_symbol @specific_symbol end |
- (String) variable_symbol
Variable symbol. Cannot be longer than 4000 characters.
51 52 53 |
# File 'lib/uu/fairpay2/financialtransaction/bank_transaction_set_attributes.rb', line 51 def variable_symbol @variable_symbol end |