Exemplo n.º 1
0
 def aggregate(cls):
     stmttrnrq = models.STMTTRNRQ(trnuid="1001",
                                  stmtrq=models.STMTRQ(
                                      bankacctfrom=BANKACCTFROM,
                                      inctran=models.INCTRAN(include=True)))
     return models.OFX(signonmsgsrqv1=SIGNONMSGSRQV1,
                       bankmsgsrqv1=models.BANKMSGSRQV1(stmttrnrq))
Exemplo n.º 2
0
 def aggregate(cls):
     rq = models.INVSTMTRQ(invacctfrom=INVACCTFROM,
                           inctran=models.INCTRAN(dtstart=datetime(
                               2005, 8, 24, 13, 1, 5, tzinfo=UTC),
                                                  include=True),
                           incoo=True,
                           incpos=models.INCPOS(include=True),
                           incbal=True)
     return models.OFX(signonmsgsrqv1=SIGNONMSGSRQV1,
                       invstmtmsgsrqv1=models.INVSTMTMSGSRQV1(
                           models.INVSTMTTRNRQ(trnuid="1001",
                                               invstmtrq=rq)))