Skip to content

Commit

Permalink
Merge pull request erpbrasil#3 from erpbrasil/staging-v0.1.0
Browse files Browse the repository at this point in the history
Staging v0.1.0
  • Loading branch information
mileo authored Jan 27, 2021
2 parents 398bdbf + cec1d52 commit 57e4bdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/erpbrasil/bank/inter/boleto.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ def convert_to(cls, obj, **kwargs):
if hasattr(obj, key):
obj.__dict__[key] = value

def __init__(self, sender, amount_in_cents, payer, issue_date, due_date,
def __init__(self, sender, amount, payer, issue_date, due_date,
identifier, instructions=None, mora=None, multa=None,
discount1=None, discount2=None, discount3=None):
self._sender = sender
self._amount_in_cents = amount_in_cents
self._amount = amount
self._payer = payer
self._issue_date = issue_date.strftime("%Y-%m-%d")
self._due_date = due_date.strftime("%Y-%m-%d")
Expand Down Expand Up @@ -81,7 +81,7 @@ def _emissao_data(self):
desconto1=self.discount1,
desconto2=self.discount2,
desconto3=self.discount3,
valorNominal=self._amount_in_cents,
valorNominal=self._amount,
valorAbatimento=0,
multa=self.multa,
mora=self.mora,
Expand Down

0 comments on commit 57e4bdd

Please sign in to comment.