Skip to content

Commit ca03ca6

Browse files
Feat: Generate alpha version of library
1 parent be2ed64 commit ca03ca6

File tree

244 files changed

+39157
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+39157
-0
lines changed

.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
target/
64+
65+
#Ipython Notebook
66+
.ipynb_checkpoints

.gitlab-ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ref: https://docs.gitlab.com/ee/ci/README.html
2+
3+
stages:
4+
- test
5+
6+
.nosetest:
7+
stage: test
8+
script:
9+
- pip install -r requirements.txt
10+
- pip install -r test-requirements.txt
11+
- pytest --cov=paystack
12+
13+
nosetest-2.7:
14+
extends: .nosetest
15+
image: python:2.7-alpine
16+
nosetest-3.3:
17+
extends: .nosetest
18+
image: python:3.3-alpine
19+
nosetest-3.4:
20+
extends: .nosetest
21+
image: python:3.4-alpine
22+
nosetest-3.5:
23+
extends: .nosetest
24+
image: python:3.5-alpine
25+
nosetest-3.6:
26+
extends: .nosetest
27+
image: python:3.6-alpine
28+
nosetest-3.7:
29+
extends: .nosetest
30+
image: python:3.7-alpine
31+
nosetest-3.8:
32+
extends: .nosetest
33+
image: python:3.8-alpine

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
.gitignore
2+
.gitlab-ci.yml
3+
.openapi-generator-ignore
4+
.travis.yml
5+
README.md
6+
docs/Balance.md
7+
docs/Bank.md
8+
docs/BulkCharge.md
9+
docs/BulkChargeInitiate.md
10+
docs/Charge.md
11+
docs/ChargeCreate.md
12+
docs/ChargeSubmitAddress.md
13+
docs/ChargeSubmitBirthday.md
14+
docs/ChargeSubmitOTP.md
15+
docs/ChargeSubmitPhone.md
16+
docs/ChargeSubmitPin.md
17+
docs/Customer.md
18+
docs/CustomerCreate.md
19+
docs/CustomerDeactivateAuthorization.md
20+
docs/CustomerRiskAction.md
21+
docs/CustomerUpdate.md
22+
docs/CustomerValidate.md
23+
docs/CustomerValidation.md
24+
docs/DedicatedVirtualAccount.md
25+
docs/DedicatedVirtualAccountCreate.md
26+
docs/DedicatedVirtualAccountSplit.md
27+
docs/Dispute.md
28+
docs/DisputeEvidence.md
29+
docs/DisputeResolve.md
30+
docs/DisputeUpdate.md
31+
docs/EFT.md
32+
docs/Error.md
33+
docs/Integration.md
34+
docs/MobileMoney.md
35+
docs/Page.md
36+
docs/PageCreate.md
37+
docs/PageProduct.md
38+
docs/PageUpdate.md
39+
docs/PaymentRequest.md
40+
docs/PaymentRequestCreate.md
41+
docs/PaymentRequestUpdate.md
42+
docs/Plan.md
43+
docs/PlanCreate.md
44+
docs/PlanUpdate.md
45+
docs/Product.md
46+
docs/ProductCreate.md
47+
docs/ProductUpdate.md
48+
docs/Refund.md
49+
docs/RefundCreate.md
50+
docs/Response.md
51+
docs/Settlement.md
52+
docs/Split.md
53+
docs/SplitCreate.md
54+
docs/SplitSubaccounts.md
55+
docs/SplitUpdate.md
56+
docs/Subaccount.md
57+
docs/SubaccountCreate.md
58+
docs/SubaccountUpdate.md
59+
docs/Subscription.md
60+
docs/SubscriptionCreate.md
61+
docs/SubscriptionToggle.md
62+
docs/Transaction.md
63+
docs/TransactionChargeAuthorization.md
64+
docs/TransactionCheckAuthorization.md
65+
docs/TransactionInitialize.md
66+
docs/TransactionPartialDebit.md
67+
docs/Transfer.md
68+
docs/TransferBulk.md
69+
docs/TransferFinalize.md
70+
docs/TransferFinalizeDisableOTP.md
71+
docs/TransferInitiate.md
72+
docs/TransferRecipient.md
73+
docs/TransferRecipientBulk.md
74+
docs/TransferRecipientCreate.md
75+
docs/TransferRecipientUpdate.md
76+
docs/TransferResendOTP.md
77+
docs/USSD.md
78+
docs/Verification.md
79+
docs/VerificationBVNMatch.md
80+
git_push.sh
81+
paystack/__init__.py
82+
paystack/api/__init__.py
83+
paystack/api/balance_.py
84+
paystack/api/bulk_charge_.py
85+
paystack/api/charge_.py
86+
paystack/api/customer_.py
87+
paystack/api/dedicated_virtual_account_.py
88+
paystack/api/dispute_.py
89+
paystack/api/integration_.py
90+
paystack/api/page_.py
91+
paystack/api/payment_request_.py
92+
paystack/api/plan_.py
93+
paystack/api/product_.py
94+
paystack/api/refund_.py
95+
paystack/api/settlement_.py
96+
paystack/api/split_.py
97+
paystack/api/subaccount_.py
98+
paystack/api/subscription_.py
99+
paystack/api/transaction_.py
100+
paystack/api/transfer_.py
101+
paystack/api/transfer_recipient_.py
102+
paystack/api/verification_.py
103+
paystack/api_client.py
104+
paystack/configuration.py
105+
paystack/exceptions.py
106+
paystack/models/__init__.py
107+
paystack/models/bank.py
108+
paystack/models/bulk_charge_initiate.py
109+
paystack/models/charge_create.py
110+
paystack/models/charge_submit_address.py
111+
paystack/models/charge_submit_birthday.py
112+
paystack/models/charge_submit_otp.py
113+
paystack/models/charge_submit_phone.py
114+
paystack/models/charge_submit_pin.py
115+
paystack/models/customer_create.py
116+
paystack/models/customer_deactivate_authorization.py
117+
paystack/models/customer_risk_action.py
118+
paystack/models/customer_update.py
119+
paystack/models/customer_validate.py
120+
paystack/models/customer_validation.py
121+
paystack/models/dedicated_virtual_account_create.py
122+
paystack/models/dedicated_virtual_account_split.py
123+
paystack/models/dispute_evidence.py
124+
paystack/models/dispute_resolve.py
125+
paystack/models/dispute_update.py
126+
paystack/models/eft.py
127+
paystack/models/error.py
128+
paystack/models/mobile_money.py
129+
paystack/models/page_create.py
130+
paystack/models/page_product.py
131+
paystack/models/page_update.py
132+
paystack/models/payment_request_create.py
133+
paystack/models/payment_request_update.py
134+
paystack/models/plan_create.py
135+
paystack/models/plan_update.py
136+
paystack/models/product_create.py
137+
paystack/models/product_update.py
138+
paystack/models/refund_create.py
139+
paystack/models/response.py
140+
paystack/models/split_create.py
141+
paystack/models/split_subaccounts.py
142+
paystack/models/split_update.py
143+
paystack/models/subaccount_create.py
144+
paystack/models/subaccount_update.py
145+
paystack/models/subscription_create.py
146+
paystack/models/subscription_toggle.py
147+
paystack/models/transaction_charge_authorization.py
148+
paystack/models/transaction_check_authorization.py
149+
paystack/models/transaction_initialize.py
150+
paystack/models/transaction_partial_debit.py
151+
paystack/models/transfer_bulk.py
152+
paystack/models/transfer_finalize.py
153+
paystack/models/transfer_finalize_disable_otp.py
154+
paystack/models/transfer_initiate.py
155+
paystack/models/transfer_recipient_bulk.py
156+
paystack/models/transfer_recipient_create.py
157+
paystack/models/transfer_recipient_update.py
158+
paystack/models/transfer_resend_otp.py
159+
paystack/models/ussd.py
160+
paystack/models/verification_bvn_match.py
161+
paystack/rest.py
162+
requirements.txt
163+
setup.cfg
164+
setup.py
165+
test-requirements.txt
166+
test/__init__.py
167+
test/test_balance_.py
168+
test/test_bank.py
169+
test/test_bulk_charge_.py
170+
test/test_bulk_charge_initiate.py
171+
test/test_charge_.py
172+
test/test_charge_create.py
173+
test/test_charge_submit_address.py
174+
test/test_charge_submit_birthday.py
175+
test/test_charge_submit_otp.py
176+
test/test_charge_submit_phone.py
177+
test/test_charge_submit_pin.py
178+
test/test_customer_.py
179+
test/test_customer_create.py
180+
test/test_customer_deactivate_authorization.py
181+
test/test_customer_risk_action.py
182+
test/test_customer_update.py
183+
test/test_customer_validate.py
184+
test/test_customer_validation.py
185+
test/test_dedicated_virtual_account_.py
186+
test/test_dedicated_virtual_account_create.py
187+
test/test_dedicated_virtual_account_split.py
188+
test/test_dispute_.py
189+
test/test_dispute_evidence.py
190+
test/test_dispute_resolve.py
191+
test/test_dispute_update.py
192+
test/test_eft.py
193+
test/test_error.py
194+
test/test_integration_.py
195+
test/test_mobile_money.py
196+
test/test_page_.py
197+
test/test_page_create.py
198+
test/test_page_product.py
199+
test/test_page_update.py
200+
test/test_payment_request_.py
201+
test/test_payment_request_create.py
202+
test/test_payment_request_update.py
203+
test/test_plan_.py
204+
test/test_plan_create.py
205+
test/test_plan_update.py
206+
test/test_product_.py
207+
test/test_product_create.py
208+
test/test_product_update.py
209+
test/test_refund_.py
210+
test/test_refund_create.py
211+
test/test_response.py
212+
test/test_settlement_.py
213+
test/test_split_.py
214+
test/test_split_create.py
215+
test/test_split_subaccounts.py
216+
test/test_split_update.py
217+
test/test_subaccount_.py
218+
test/test_subaccount_create.py
219+
test/test_subaccount_update.py
220+
test/test_subscription_.py
221+
test/test_subscription_create.py
222+
test/test_subscription_toggle.py
223+
test/test_transaction_.py
224+
test/test_transaction_charge_authorization.py
225+
test/test_transaction_check_authorization.py
226+
test/test_transaction_initialize.py
227+
test/test_transaction_partial_debit.py
228+
test/test_transfer_.py
229+
test/test_transfer_bulk.py
230+
test/test_transfer_finalize.py
231+
test/test_transfer_finalize_disable_otp.py
232+
test/test_transfer_initiate.py
233+
test/test_transfer_recipient_.py
234+
test/test_transfer_recipient_bulk.py
235+
test/test_transfer_recipient_create.py
236+
test/test_transfer_recipient_update.py
237+
test/test_transfer_resend_otp.py
238+
test/test_ussd.py
239+
test/test_verification_.py
240+
test/test_verification_bvn_match.py
241+
tox.ini

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.2.1

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ref: https://docs.travis-ci.com/user/languages/python
2+
language: python
3+
python:
4+
- "2.7"
5+
- "3.2"
6+
- "3.3"
7+
- "3.4"
8+
- "3.5"
9+
- "3.6"
10+
- "3.7"
11+
- "3.8"
12+
# command to install dependencies
13+
install:
14+
- "pip install -r requirements.txt"
15+
- "pip install -r test-requirements.txt"
16+
# command to run tests
17+
script: pytest --cov=paystack

0 commit comments

Comments
 (0)