Skip to content

Commit

Permalink
Generated Xendit python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
xendit-devx-bot committed Feb 17, 2025
1 parent 63f50bf commit a850106
Show file tree
Hide file tree
Showing 47 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The official Xendit Python SDK provides a simple and convenient way to call Xendit's REST API
in applications written in Python.

* Package version: 6.1.0
* Package version: 6.2.0

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion docs/InvoiceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ create_invoice_request = CreateInvoiceRequest(
allowed_terms=[
ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner(
issuer="issuer_example",
allowed_terms=[
terms=[
3.14,
],
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Name | Type | Required | Description | Examples |
|------------|:-------------:|:-------------:|-------------|:-------------:|
| **issuer** | **str** | | The bank code of the installment provider / issuer | |
| **allowed_terms** | **[float]** | | An array containing list of installment tenor available to choose | |
| **terms** | **[float]** | | An array containing list of installment tenor available to choose | |


[[Back to README]](../../README.md)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "xendit-python"
version = "6.1.0"
version = "6.2.0"
description = "Xendit REST API Client for Python - Invoice, Payment Request, Payment Method, Refund, Balance, Transaction, Customer, and Payout Services https://xendit.github.io/apireference/"
authors = ["DevX Team <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "xendit"
VERSION = "6.1.0"
VERSION = "6.2.0"
# To install the library, run the following
#
# python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion xendit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""


__version__ = "6.1.0"
__version__ = "6.2.0"

# import ApiClient
from xendit.api_client import ApiClient
Expand Down
4 changes: 2 additions & 2 deletions xendit/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ def __init__(self, configuration=None, header_name=None, header_value=None,

# XENDIT headers
self.default_headers['xendit-lib'] = 'python'
self.default_headers['xendit-lib-ver'] = '6.1.0'
self.default_headers['xendit-lib-ver'] = '6.2.0'

self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/6.1.0/python'
self.user_agent = 'OpenAPI-Generator/6.2.0/python'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion xendit/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.70.0\n"\
"SDK Package Version: 6.1.0".\
"SDK Package Version: 6.2.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/invoice_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xendit-invoice-service descriptions # noqa: E501
The version of the OpenAPI document: 1.8.7
The version of the OpenAPI document: 1.8.8
"""

import re # noqa: F401
Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/address_object.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/alternative_display_item.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/bad_request_error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/bank.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/bank_code.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/channel_properties.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/channel_properties_cards.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down Expand Up @@ -80,7 +80,7 @@ def openapi_types():
"""
return {
'issuer': (str, none_type), # noqa: E501
'allowed_terms': ([float], none_type), # noqa: E501
'terms': ([float], none_type), # noqa: E501
}

@cached_property
Expand All @@ -90,7 +90,7 @@ def discriminator():

attribute_map = {
'issuer': 'issuer', # noqa: E501
'allowed_terms': 'allowed_terms', # noqa: E501
'terms': 'terms', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -135,7 +135,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
issuer (str): The bank code of the installment provider / issuer. [optional] # noqa: E501
allowed_terms ([float]): An array containing list of installment tenor available to choose. [optional] # noqa: E501
terms ([float]): An array containing list of installment tenor available to choose. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -191,7 +191,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
@convert_js_args_to_python_args
def __init__(self,
issuer: str | None = None,
allowed_terms: list | None = None,
terms: list | None = None,
*args, **kwargs
): # noqa: E501
"""ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner - a model defined in OpenAPI
Expand Down Expand Up @@ -229,7 +229,7 @@ def __init__(self,
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
issuer (str): The bank code of the installment provider / issuer. [optional] # noqa: E501
allowed_terms ([float]): An array containing list of installment tenor available to choose. [optional] # noqa: E501
terms ([float]): An array containing list of installment tenor available to choose. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -263,8 +263,8 @@ def __init__(self,

if issuer is not None:
self.issuer = issuer
if allowed_terms is not None:
self.allowed_terms = allowed_terms
if terms is not None:
self.terms = terms
for var_name, var_value in kwargs.items():
if var_name not in self.attribute_map and \
self._configuration is not None and \
Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/create_invoice_request.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/customer_object.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/direct_debit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/direct_debit_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/ewallet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/ewallet_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/forbidden_error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_callback.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_callback_item.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_client_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_currency.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_fee.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_item.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_not_found_error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_payment_method.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/invoice_status.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/notification_channel.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/notification_preference.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/paylater.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/paylater_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/payment_details.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/qr_code.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/qr_code_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/retail_outlet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/retail_outlet_name.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
2 changes: 1 addition & 1 deletion xendit/invoice/model/server_error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The version of the XENDIT API: 1.8.7
The version of the XENDIT API: 1.8.8
"""


Expand Down
Loading

0 comments on commit a850106

Please sign in to comment.