From 62e680d1eef1253c53a15231fe73f79e28dc587a Mon Sep 17 00:00:00 2001 From: Jerome Leclanche Date: Tue, 8 Aug 2017 06:01:57 +0300 Subject: [PATCH] Implement PayoutMethod and PayoutType enums --- djstripe/enums.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/djstripe/enums.py b/djstripe/enums.py index 91c5db4b39..1e6b4d1caf 100644 --- a/djstripe/enums.py +++ b/djstripe/enums.py @@ -132,6 +132,11 @@ class PayoutFailureCode(Enum): unsupported_card = _("Card no longer supported.") +class PayoutMethod(Enum): + standard = _("Standard") + instant = _("Instant") + + class PayoutStatus(Enum): paid = _("Paid") pending = _("Pending") @@ -140,6 +145,11 @@ class PayoutStatus(Enum): failed = _("Failed") +class PayoutType(Enum): + bank_account = _("Bank account") + card = _("Card") + + class PlanInterval(Enum): day = _("Day") week = _("Week")