---
title: "ReturnOfCapital class"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.ofx.investment/returnofcapital/"
product: "Aspose.Finance for Python via .NET API References"
---


## ReturnOfCapital class

Return of capital class.



**Inheritance:** [ReturnOfCapital](/finance/python-net/aspose.finance.ofx.investment/returnofcapital) → 
[AbstractInvestmentTransaction](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransaction) → 
[AbstractInvestmentTransactionBase](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransactionbase)



The ReturnOfCapital type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [ReturnOfCapital()](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/__init__/#) | Initializes a new instance of [ReturnOfCapital](/finance/python-net/aspose.finance.ofx.investment/returnofcapital) class. |


### Properties
| Property | Description |
| :- | :- |
| [investment_transaction](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/investment_transaction) | Gets or sets the [AbstractInvestmentTransaction.investment_transaction](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransaction#investment_transaction). |
| [security_id](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/security_id) | Gets or sets the [ReturnOfCapital.security_id](/finance/python-net/aspose.finance.ofx.investment/returnofcapital#security_id). |
| [total](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/total) | Gets or sets the transaction total. |
| [sub_account_security](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/sub_account_security) | Gets or sets the sub-account type for the security. |
| [sub_account_fund](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/sub_account_fund) | Gets or sets where did the money for the transaction come from or go to. |
| [currency](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/currency) | Gets or sets the [ReturnOfCapital.currency](/finance/python-net/aspose.finance.ofx.investment/returnofcapital#currency). |
| [origin_currency](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/origin_currency) | Gets or sets the origin [ReturnOfCapital.currency](/finance/python-net/aspose.finance.ofx.investment/returnofcapital#currency). |
| [investment_401k_source](/finance/python-net/aspose.finance.ofx.investment/returnofcapital/investment_401k_source) | Gets or sets the source of money for this transaction. |


### See Also

* module [aspose.finance.ofx.investment](../)
* class [AbstractInvestmentTransaction](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransaction)
