Skip to content

Commit

Permalink
Release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wallee-deployment-user committed Jul 20, 2023
1 parent 89e4bc5 commit 68c4ae3
Show file tree
Hide file tree
Showing 125 changed files with 1,094 additions and 1,535 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

NAME = "wallee"
VERSION = "3.4.0"
VERSION = "4.0.0"

REQUIRES = [
"certifi>=2017.4.17",
Expand Down
4 changes: 0 additions & 4 deletions wallee/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@
from wallee.models.customer_postal_address_create import CustomerPostalAddressCreate
from wallee.models.customers_presence import CustomersPresence
from wallee.models.data_collection_type import DataCollectionType
from wallee.models.database_translated_string import DatabaseTranslatedString
from wallee.models.database_translated_string_create import DatabaseTranslatedStringCreate
from wallee.models.database_translated_string_item import DatabaseTranslatedStringItem
from wallee.models.database_translated_string_item_create import DatabaseTranslatedStringItemCreate
from wallee.models.debt_collection_case import DebtCollectionCase
from wallee.models.debt_collection_case_document import DebtCollectionCaseDocument
from wallee.models.debt_collection_case_source import DebtCollectionCaseSource
Expand Down
6 changes: 3 additions & 3 deletions wallee/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Python SDK
OpenAPI spec version: 3.4.0
OpenAPI spec version: 4.0.0
"""

Expand Down Expand Up @@ -64,7 +64,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'wallee/3.4.0/python'
self.user_agent = 'wallee/4.0.0/python'

def __del__(self):
if self._pool is not None:
Expand Down Expand Up @@ -103,7 +103,7 @@ def __call_api(

# predefined default headers
default_headers = {
'x-meta-sdk-version': '3.4.0',
'x-meta-sdk-version': '4.0.0',
'x-meta-sdk-language': 'python',
'x-meta-sdk-provider': 'wallee',
'x-meta-sdk-language-version': platform.python_version()
Expand Down
4 changes: 2 additions & 2 deletions wallee/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,6 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 3.4.0\n"\
"SDK Package Version: 3.4.0".\
"Version of the API: 4.0.0\n"\
"SDK Package Version: 4.0.0".\
format(env=sys.platform, pyversion=sys.version)
4 changes: 0 additions & 4 deletions wallee/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@
from .customer_postal_address_create import CustomerPostalAddressCreate
from .customers_presence import CustomersPresence
from .data_collection_type import DataCollectionType
from .database_translated_string import DatabaseTranslatedString
from .database_translated_string_create import DatabaseTranslatedStringCreate
from .database_translated_string_item import DatabaseTranslatedStringItem
from .database_translated_string_item_create import DatabaseTranslatedStringItemCreate
from .debt_collection_case import DebtCollectionCase
from .debt_collection_case_document import DebtCollectionCaseDocument
from .debt_collection_case_source import DebtCollectionCaseSource
Expand Down
8 changes: 4 additions & 4 deletions wallee/models/abstract_account_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def last_modified_date(self, last_modified_date):
def name(self):
"""Gets the name of this AbstractAccountUpdate.
The name of the account identifies the account within the administrative interface.
The name used to identify the account.
:return: The name of this AbstractAccountUpdate.
:rtype: str
Expand All @@ -70,7 +70,7 @@ def name(self):
def name(self, name):
"""Sets the name of this AbstractAccountUpdate.
The name of the account identifies the account within the administrative interface.
The name used to identify the account.
:param name: The name of this AbstractAccountUpdate.
:type: str
Expand All @@ -86,7 +86,7 @@ def name(self, name):
def subaccount_limit(self):
"""Gets the subaccount_limit of this AbstractAccountUpdate.
This property restricts the number of subaccounts which can be created within this account.
The number of sub-accounts that can be created within this account.
:return: The subaccount_limit of this AbstractAccountUpdate.
:rtype: int
Expand All @@ -97,7 +97,7 @@ def subaccount_limit(self):
def subaccount_limit(self, subaccount_limit):
"""Sets the subaccount_limit of this AbstractAccountUpdate.
This property restricts the number of subaccounts which can be created within this account.
The number of sub-accounts that can be created within this account.
:param subaccount_limit: The subaccount_limit of this AbstractAccountUpdate.
:type: int
Expand Down
8 changes: 4 additions & 4 deletions wallee/models/abstract_application_user_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, **kwargs):
def name(self):
"""Gets the name of this AbstractApplicationUserUpdate.
The user name is used to identify the application user in administrative interfaces.
The name used to identify the application user.
:return: The name of this AbstractApplicationUserUpdate.
:rtype: str
Expand All @@ -47,7 +47,7 @@ def name(self):
def name(self, name):
"""Sets the name of this AbstractApplicationUserUpdate.
The user name is used to identify the application user in administrative interfaces.
The name used to identify the application user.
:param name: The name of this AbstractApplicationUserUpdate.
:type: str
Expand All @@ -61,7 +61,7 @@ def name(self, name):
def request_limit(self):
"""Gets the request_limit of this AbstractApplicationUserUpdate.
The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges.
The maximum number of API requests that are accepted every 2 minutes.
:return: The request_limit of this AbstractApplicationUserUpdate.
:rtype: int
Expand All @@ -72,7 +72,7 @@ def request_limit(self):
def request_limit(self, request_limit):
"""Sets the request_limit of this AbstractApplicationUserUpdate.
The request limit defines the maximum number of API request accepted within 2 minutes. This limit can only be changed with special privileges.
The maximum number of API requests that are accepted every 2 minutes.
:param request_limit: The request_limit of this AbstractApplicationUserUpdate.
:type: int
Expand Down
24 changes: 12 additions & 12 deletions wallee/models/abstract_customer_active.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, **kwargs):
def customer_id(self):
"""Gets the customer_id of this AbstractCustomerActive.
The customer's ID in the merchant's system.
:return: The customer_id of this AbstractCustomerActive.
:rtype: str
Expand All @@ -59,7 +59,7 @@ def customer_id(self):
def customer_id(self, customer_id):
"""Sets the customer_id of this AbstractCustomerActive.
The customer's ID in the merchant's system.
:param customer_id: The customer_id of this AbstractCustomerActive.
:type: str
Expand All @@ -73,7 +73,7 @@ def customer_id(self, customer_id):
def email_address(self):
"""Gets the email_address of this AbstractCustomerActive.
The customer's email address.
:return: The email_address of this AbstractCustomerActive.
:rtype: str
Expand All @@ -84,7 +84,7 @@ def email_address(self):
def email_address(self, email_address):
"""Sets the email_address of this AbstractCustomerActive.
The customer's email address.
:param email_address: The email_address of this AbstractCustomerActive.
:type: str
Expand All @@ -98,7 +98,7 @@ def email_address(self, email_address):
def family_name(self):
"""Gets the family_name of this AbstractCustomerActive.
The customer's family or last name.
:return: The family_name of this AbstractCustomerActive.
:rtype: str
Expand All @@ -109,7 +109,7 @@ def family_name(self):
def family_name(self, family_name):
"""Sets the family_name of this AbstractCustomerActive.
The customer's family or last name.
:param family_name: The family_name of this AbstractCustomerActive.
:type: str
Expand All @@ -123,7 +123,7 @@ def family_name(self, family_name):
def given_name(self):
"""Gets the given_name of this AbstractCustomerActive.
The customer's given or first name.
:return: The given_name of this AbstractCustomerActive.
:rtype: str
Expand All @@ -134,7 +134,7 @@ def given_name(self):
def given_name(self, given_name):
"""Sets the given_name of this AbstractCustomerActive.
The customer's given or first name.
:param given_name: The given_name of this AbstractCustomerActive.
:type: str
Expand Down Expand Up @@ -171,7 +171,7 @@ def language(self, language):
def meta_data(self):
"""Gets the meta_data of this AbstractCustomerActive.
Meta data allow to store additional data along the object.
Allow to store additional information about the object.
:return: The meta_data of this AbstractCustomerActive.
:rtype: dict(str, str)
Expand All @@ -182,7 +182,7 @@ def meta_data(self):
def meta_data(self, meta_data):
"""Sets the meta_data of this AbstractCustomerActive.
Meta data allow to store additional data along the object.
Allow to store additional information about the object.
:param meta_data: The meta_data of this AbstractCustomerActive.
:type: dict(str, str)
Expand All @@ -194,7 +194,7 @@ def meta_data(self, meta_data):
def preferred_currency(self):
"""Gets the preferred_currency of this AbstractCustomerActive.
The customer's preferred currency.
:return: The preferred_currency of this AbstractCustomerActive.
:rtype: str
Expand All @@ -205,7 +205,7 @@ def preferred_currency(self):
def preferred_currency(self, preferred_currency):
"""Sets the preferred_currency of this AbstractCustomerActive.
The customer's preferred currency.
:param preferred_currency: The preferred_currency of this AbstractCustomerActive.
:type: str
Expand Down
8 changes: 4 additions & 4 deletions wallee/models/abstract_customer_address_active.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, **kwargs):
def address(self):
"""Gets the address of this AbstractCustomerAddressActive.
The actual postal address.
:return: The address of this AbstractCustomerAddressActive.
:rtype: CustomerPostalAddressCreate
Expand All @@ -44,7 +44,7 @@ def address(self):
def address(self, address):
"""Sets the address of this AbstractCustomerAddressActive.
The actual postal address.
:param address: The address of this AbstractCustomerAddressActive.
:type: CustomerPostalAddressCreate
Expand All @@ -56,7 +56,7 @@ def address(self, address):
def address_type(self):
"""Gets the address_type of this AbstractCustomerAddressActive.
Whether the address is for billing or shipping or both.
:return: The address_type of this AbstractCustomerAddressActive.
:rtype: CustomerAddressType
Expand All @@ -67,7 +67,7 @@ def address_type(self):
def address_type(self, address_type):
"""Sets the address_type of this AbstractCustomerAddressActive.
Whether the address is for billing or shipping or both.
:param address_type: The address_type of this AbstractCustomerAddressActive.
:type: CustomerAddressType
Expand Down
4 changes: 2 additions & 2 deletions wallee/models/abstract_customer_comment_active.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, **kwargs):
def content(self):
"""Gets the content of this AbstractCustomerCommentActive.
The comment's actual content.
:return: The content of this AbstractCustomerCommentActive.
:rtype: str
Expand All @@ -41,7 +41,7 @@ def content(self):
def content(self, content):
"""Sets the content of this AbstractCustomerCommentActive.
The comment's actual content.
:param content: The content of this AbstractCustomerCommentActive.
:type: str
Expand Down
Loading

0 comments on commit 68c4ae3

Please sign in to comment.