Skip to content

Commit

Permalink
Release 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wallee-deployment-user committed Jan 11, 2024
1 parent 2d6b142 commit a99634e
Show file tree
Hide file tree
Showing 111 changed files with 2,356 additions and 266 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
test:
strategy:
matrix:
python-version: [ '3.6', '3.7', '3.8', '3.9' ]
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
runs-on: ubuntu-20.04

steps:
Expand All @@ -33,7 +33,9 @@ jobs:

- name: Install dependencies with ${{ matrix.python-version }}
run: |
wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
python -m pip install build --user
Expand All @@ -53,10 +55,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.12'
- name: Install dependencies with ${{ matrix.python-version }}
run: |
wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
python -m pip install build --user
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 wallee AG
Copyright 2024 wallee AG

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
[![Build Status](https://travis-ci.org/pfpayments/python-sdk.svg?branch=master)](https://travis-ci.org/pfpayments/python-sdk)

# PostFinance Checkout Python Library
# PostFinance Checkout Python SDK

The PostFinance Checkout Python library wraps around the PostFinance Checkout API. This library facilitates your interaction with various services such as transactions, accounts, and subscriptions.
Python SDK to access PostFinance Checkout web services API.

## Documentation
Library facilitates your interaction with various services such as transactions, accounts, and subscriptions.

## API documentation

[PostFinance Checkout Web Service API](https://checkout.postfinance.ch/doc/api/web-service)

## Requirements

- Python 3.5+
- Python 3.7+

## Installation

### pip install (recommended)
### pip3 install (recommended)
```sh
pip install --upgrade postfinancecheckout
pip3 install --upgrade postfinancecheckout
```

### pip install from source via github
### pip3 install from source via github

```sh
pip install git+http://github.com/pfpayments/python-sdk.git
pip3 install git+http://github.com/pfpayments/python-sdk.git
```
(you may need to run `pip` with root permission: `sudo pip install git+http://github.com/pfpayments/python-sdk.git` )
(you may need to run `pip3` with root permission: `sudo pip3 install git+http://github.com/pfpayments/python-sdk.git` )

### install from source via Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
pip3 install setuptools

python setup.py install
```
(or `sudo python setup.py install` to install the package for all users)
Expand Down
5 changes: 5 additions & 0 deletions postfinancecheckout/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
from postfinancecheckout.api.transaction_void_service_api import TransactionVoidServiceApi
from postfinancecheckout.api.user_account_role_service_api import UserAccountRoleServiceApi
from postfinancecheckout.api.user_space_role_service_api import UserSpaceRoleServiceApi
from postfinancecheckout.api.web_app_service_api import WebAppServiceApi
from postfinancecheckout.api.webhook_encryption_service_api import WebhookEncryptionServiceApi
from postfinancecheckout.api.webhook_listener_service_api import WebhookListenerServiceApi
from postfinancecheckout.api.webhook_url_service_api import WebhookUrlServiceApi

Expand Down Expand Up @@ -338,6 +340,9 @@
from postfinancecheckout.models.user_space_role import UserSpaceRole
from postfinancecheckout.models.user_type import UserType
from postfinancecheckout.models.wallet_type import WalletType
from postfinancecheckout.models.web_app_confirmation_request import WebAppConfirmationRequest
from postfinancecheckout.models.web_app_confirmation_response import WebAppConfirmationResponse
from postfinancecheckout.models.webhook_encryption_public_key import WebhookEncryptionPublicKey
from postfinancecheckout.models.webhook_identity import WebhookIdentity
from postfinancecheckout.models.webhook_listener import WebhookListener
from postfinancecheckout.models.webhook_listener_entity import WebhookListenerEntity
Expand Down
2 changes: 2 additions & 0 deletions postfinancecheckout/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,7 @@
from .transaction_void_service_api import TransactionVoidServiceApi
from .user_account_role_service_api import UserAccountRoleServiceApi
from .user_space_role_service_api import UserSpaceRoleServiceApi
from .web_app_service_api import WebAppServiceApi
from .webhook_encryption_service_api import WebhookEncryptionServiceApi
from .webhook_listener_service_api import WebhookListenerServiceApi
from .webhook_url_service_api import WebhookUrlServiceApi
1 change: 1 addition & 0 deletions postfinancecheckout/api/account_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/analytics_query_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/application_user_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/bank_account_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/bank_transaction_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/card_processing_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/charge_attempt_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/charge_flow_level_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/charge_flow_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/condition_type_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/country_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/country_state_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/currency_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/customer_address_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/customer_comment_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/customer_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/delivery_indication_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/document_template_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/human_user_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/label_description_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/language_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/manual_task_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
1 change: 1 addition & 0 deletions postfinancecheckout/api/payment_connector_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import absolute_import

import six
import re

from postfinancecheckout.api_client import ApiClient

Expand Down
Loading

0 comments on commit a99634e

Please sign in to comment.