Class: UU::Finman::FinancialTransaction::FinancialTransactionReinvoiceParameters
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::Finman::FinancialTransaction::FinancialTransactionReinvoiceParameters
- Defined in:
- lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb
Overview
DTO for reinvoice command of Financial Transaction.
Instance Attribute Summary (collapse)
-
- (Fixnum) amountWithoutVat
Amount without vat.
-
- (Fixnum) amountWithVat
Amount with vat.
-
- (String) message
Description for the transfers.
-
- (String) payDate
Pay date for reinvoicing transfers.
-
- (UU::OS::UESURI) reinvoiceToCategory
UES URI of new financial category (list can be obtained by BusinessCase.getCategories).
-
- (String) reinvoiceToItem
Code of new income / expenditure item (code table can be obtained by BusinessCase.getCategories).
-
- (String) reinvoicingType
Reinvoicing type.
-
- (String) vatDate
VAT date for reinvoicing transfers.
-
- (Fixnum) vatRate
Vat rate.
Instance Method Summary (collapse)
- - (Object) amount_with_vat
- - (Object) amount_with_vat=(val)
- - (Object) amount_without_vat
- - (Object) amount_without_vat=(val)
- - (Object) pay_date
- - (Object) pay_date=(val)
- - (Object) reinvoice_to_category
- - (Object) reinvoice_to_category=(val)
- - (Object) reinvoice_to_item
- - (Object) reinvoice_to_item=(val)
- - (Object) reinvoicing_type
- - (Object) reinvoicing_type=(val)
- - (Object) vat_date
- - (Object) vat_date=(val)
- - (Object) vat_rate
- - (Object) vat_rate=(val)
Instance Attribute Details
- (Fixnum) amountWithoutVat
Amount without vat.
35 36 37 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 35 def amountWithoutVat @amountWithoutVat end |
- (Fixnum) amountWithVat
Amount with vat. Required attribute. Cannot be null.
46 47 48 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 46 def amountWithVat @amountWithVat end |
- (String) message
Description for the transfers.
63 64 65 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 63 def @message end |
- (String) payDate
Pay date for reinvoicing transfers. Required attribute. Cannot be null.
58 59 60 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 58 def payDate @payDate end |
- (UU::OS::UESURI) reinvoiceToCategory
UES URI of new financial category (list can be obtained by BusinessCase.getCategories).
25 26 27 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 25 def reinvoiceToCategory @reinvoiceToCategory end |
- (String) reinvoiceToItem
Code of new income / expenditure item (code table can be obtained by BusinessCase.getCategories).
30 31 32 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 30 def reinvoiceToItem @reinvoiceToItem end |
- (String) reinvoicingType
Reinvoicing type. Required attribute. Cannot be null.
20 21 22 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 20 def reinvoicingType @reinvoicingType end |
- (String) vatDate
VAT date for reinvoicing transfers. Required attribute. Cannot be null.
52 53 54 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 52 def vatDate @vatDate end |
- (Fixnum) vatRate
Vat rate.
40 41 42 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 40 def vatRate @vatRate end |
Instance Method Details
- (Object) amount_with_vat
111 112 113 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 111 def amount_with_vat attributes[:amountWithVat] end |
- (Object) amount_with_vat=(val)
115 116 117 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 115 def amount_with_vat=(val) attributes[:amountWithVat] = val end |
- (Object) amount_without_vat
95 96 97 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 95 def amount_without_vat attributes[:amountWithoutVat] end |
- (Object) amount_without_vat=(val)
99 100 101 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 99 def amount_without_vat=(val) attributes[:amountWithoutVat] = val end |
- (Object) pay_date
127 128 129 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 127 def pay_date attributes[:payDate] end |
- (Object) pay_date=(val)
131 132 133 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 131 def pay_date=(val) attributes[:payDate] = val end |
- (Object) reinvoice_to_category
75 76 77 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 75 def reinvoice_to_category attributes[:reinvoiceToCategory] end |
- (Object) reinvoice_to_category=(val)
79 80 81 82 83 84 85 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 79 def reinvoice_to_category=(val) if val attributes[:reinvoiceToCategory] = UU::OS::UESURI.new(val) else attributes[:reinvoiceToCategory] = nil end end |
- (Object) reinvoice_to_item
87 88 89 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 87 def reinvoice_to_item attributes[:reinvoiceToItem] end |
- (Object) reinvoice_to_item=(val)
91 92 93 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 91 def reinvoice_to_item=(val) attributes[:reinvoiceToItem] = val end |
- (Object) reinvoicing_type
67 68 69 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 67 def reinvoicing_type attributes[:reinvoicingType] end |
- (Object) reinvoicing_type=(val)
71 72 73 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 71 def reinvoicing_type=(val) attributes[:reinvoicingType] = val end |
- (Object) vat_date
119 120 121 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 119 def vat_date attributes[:vatDate] end |
- (Object) vat_date=(val)
123 124 125 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 123 def vat_date=(val) attributes[:vatDate] = val end |
- (Object) vat_rate
103 104 105 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 103 def vat_rate attributes[:vatRate] end |
- (Object) vat_rate=(val)
107 108 109 |
# File 'lib/uu/finman/financialtransaction/financial_transaction_reinvoice_parameters.rb', line 107 def vat_rate=(val) attributes[:vatRate] = val end |