Skip to content

TransacionService list with filter doesnt work. #47

@thiagolocatelli

Description

@thiagolocatelli

I just created a transacion on my account and I am trying to list this transaction. I am trying to get all transactions within the last 30 days, but I am also putting the range as 1 day after, to make sure recent charges are included. Its not working

Transaction.Filter f = Transaction.createFilter();
        Transaction.Order o = Transaction.createOrder();
        PaymillList<Transaction> list = transactionService.list(f.byCreatedAt(DateUtils.getDayInPast(30), DateUtils.getDayInPast(-1)), 
                o.asc().byCreatedAt());

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions