You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: starkbank/paymentrequest/__paymentrequest.py
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,15 @@
7
7
from ..brcodepayment.__brcodepaymentimportBrcodePayment
8
8
from ..boletopayment.__boletopaymentimportBoletoPayment
9
9
from ..utilitypayment.__utilitypaymentimportUtilityPayment
10
+
from ..darfpayment.__darfpaymentimportDarfPayment
11
+
from ..taxpayment.__taxpaymentimportTaxPayment
10
12
from ..transfer.__transferimport_resourceas_transfer_resource
11
13
from ..transaction.__transactionimport_resourceas_transaction_resource
12
14
from ..boletopayment.__boletopaymentimport_resourceas_boleto_payment_resource
13
15
from ..brcodepayment.__brcodepaymentimport_resourceas_brcode_payment_resource
14
16
from ..utilitypayment.__utilitypaymentimport_resourceas_utility_payment_resource
15
-
16
-
17
+
from ..darfpayment.__darfpaymentimport_resourceas_darf_payment_resource
18
+
from ..taxpayment.__taxpaymentimport_resourceas_tax_payment_resource
17
19
classPaymentRequest(Resource):
18
20
"""# PaymentRequest object
19
21
A PaymentRequest is an indirect request to access a specific cash-out service
@@ -23,7 +25,7 @@ class PaymentRequest(Resource):
23
25
cost center page.
24
26
## Parameters (required):
25
27
- center_id [string]: target cost center ID. ex: "5656565656565656"
26
-
- payment [Transfer, BoletoPayment, UtilityPayment, BrcodePayment, Transaction or dictionary]: payment entity that should be approved and executed.
28
+
- payment [Transfer, BoletoPayment, UtilityPayment, BrcodePayment, Transaction, DarfPayment, TaxPayment or dictionary]: payment entity that should be approved and executed.
27
29
## Parameters (conditionally required):
28
30
- type [string]: payment type, inferred from the payment parameter if it is not a dictionary. ex: "transfer", "boleto-payment"
0 commit comments