Add API to get payment method actually used for invoices
authorMagnus Hagander <magnus@hagander.net>
Tue, 31 Jan 2017 18:18:47 +0000 (19:18 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 31 Jan 2017 18:18:47 +0000 (19:18 +0100)
commit47b27de4e36a640d296a148edcedaba3a3863702
tree6fbdf959044cc4649a4b1c822c2f57ac1fb1c178
parentc602df47eb344b2fdb08cb2d06aa10afd9991f79
Add API to get payment method actually used for invoices

This new API allows the system to not just return "Credit Card", but
instead "Credit Card (amex)" when more details are available.
postgresqleu/invoices/payment.py
postgresqleu/invoices/util.py
postgresqleu/util/payment/adyen.py
postgresqleu/util/payment/braintree.py
postgresqleu/util/payment/paypal.py
postgresqleu/util/payment/trustly.py