Skip to content

Commit 83e4f6f

Browse files
Manuel HuezManuel Huez
authored andcommitted
Add payouts objects and operation ID to transaction operations
1 parent 267ca4f commit 83e4f6f

File tree

7 files changed

+781
-3
lines changed

7 files changed

+781
-3
lines changed

processout/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
from processout.invoicedetail import InvoiceDetail
2121
from processout.customeraction import CustomerAction
2222
from processout.dunningaction import DunningAction
23+
from processout.payout import Payout
24+
from processout.payoutitem import PayoutItem
2325
from processout.plan import Plan
2426
from processout.product import Product
2527
from processout.project import Project

processout/client.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,18 @@ def new_dunning_action(self, prefill = None):
139139
prefill -- Data used to prefill the object (optional)"""
140140
return processout.DunningAction(self, prefill)
141141

142+
def new_payout(self, prefill = None):
143+
"""Create a new Payout instance
144+
Keyword argument:
145+
prefill -- Data used to prefill the object (optional)"""
146+
return processout.Payout(self, prefill)
147+
148+
def new_payout_item(self, prefill = None):
149+
"""Create a new PayoutItem instance
150+
Keyword argument:
151+
prefill -- Data used to prefill the object (optional)"""
152+
return processout.PayoutItem(self, prefill)
153+
142154
def new_plan(self, prefill = None):
143155
"""Create a new Plan instance
144156
Keyword argument:

0 commit comments

Comments
 (0)