Skip to content

Commit

Permalink
Implement PayoutMethod and PayoutType enums
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Aug 9, 2017
1 parent 3322901 commit 62e680d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions djstripe/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit 62e680d

Please sign in to comment.