Skip to content

Commit c3badaf

Browse files
authored
Merge pull request #10 from payjp/sdk-update-2025-12-08-9696146
feat: Update SDK from generator (2025-12-08)
2 parents debd9ca + ae8002b commit c3badaf

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Python client library for the PAY.JP v2 API. This SDK provides a convenient wa
55
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 2.0.0
8-
- Package version: 0.0.1
8+
- Package version: 0.0.2
99
- Generator version: 7.14.0
1010
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1111

payjpv2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "0.0.1"
18+
__version__ = "0.0.2"
1919

2020
# import apis into sdk package
2121
from payjpv2.api.balances_api import BalancesApi

payjpv2/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
self.default_headers[header_name] = header_value
9393
self.cookie = cookie
9494
# Set default User-Agent.
95-
self.user_agent = 'payjp/payjpv2 PythonBindings/0.0.1'
95+
self.user_agent = 'payjp/payjpv2 PythonBindings/0.0.2'
9696
# Set X-Payjp-Client-User-Agent header.
9797
self.default_headers['X-Payjp-Client-User-Agent'] = self._build_client_user_agent()
9898
self.client_side_validation = configuration.client_side_validation
@@ -115,7 +115,7 @@ def user_agent(self, value):
115115
def _build_client_user_agent(self):
116116
"""Build X-Payjp-Client-User-Agent header value."""
117117
ua_info = {
118-
'bindings_version': '0.0.1',
118+
'bindings_version': '0.0.2',
119119
'lang': 'python',
120120
'lang_version': sys.version.split()[0],
121121
'publisher': 'payjp',

payjpv2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def to_debug_report(self) -> str:
525525
"OS: {env}\n"\
526526
"Python Version: {pyversion}\n"\
527527
"Version of the API: 2.0.0\n"\
528-
"SDK Package Version: 0.0.1".\
528+
"SDK Package Version: 0.0.2".\
529529
format(env=sys.platform, pyversion=sys.version)
530530

531531
def get_host_settings(self) -> List[HostSetting]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "payjpv2"
3-
version = "0.0.1"
3+
version = "0.0.2"
44
description = "PAY.JP Python SDK - A Python client library for PAY.JP v2 API"
55
authors = [{name = "PAY.JP", email = "support@pay.jp"}]
66
license = {text = "MIT"}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "payjpv2"
25-
VERSION = "0.0.1"
25+
VERSION = "0.0.2"
2626
PYTHON_REQUIRES = ">= 3.8"
2727
REQUIRES = [
2828
"urllib3 >= 1.25.3, < 3.0.0",

0 commit comments

Comments
 (0)