Commit 7e5f01a4 authored by Lucas Ficheux's avatar Lucas Ficheux Committed by Vincent A

[] Add field 'original_gross_amount' to Transaction

Added field 'original_gross_amount' to the Transaction class to store
the value of a transaction in a different currency without the

Closes : 12239@zendesk
parent e8ed36bc
......@@ -424,12 +424,13 @@ class Transaction(BaseObject):
gross_amount = DecimalField('Amount of the transaction without the commission')
# International
original_amount = DecimalField('Original amount (in another currency)')
original_amount = DecimalField('Original net amount (in another currency)')
original_currency = StringField('Currency of the original amount')
country = StringField('Country of transaction')
original_commission = DecimalField('Original commission (in another currency)')
original_commission_currency = StringField('Currency of the original commission')
original_gross_amount = DecimalField('Original gross amount (in another currency)')
# Financial arbitrations
investments = Field('List of investments related to the transaction', list, default=[])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment