Skip to content

Commit

Permalink
Generating Python SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbucket-pipelines committed Jan 28, 2024
1 parent edd9fb9 commit 9577f8f
Show file tree
Hide file tree
Showing 144 changed files with 2,733 additions and 176 deletions.
2 changes: 1 addition & 1 deletion cashfree_pg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "3.2.8"
__version__ = "3.2.10"

# import apis into sdk package
# import ApiClient
Expand Down
66 changes: 33 additions & 33 deletions cashfree_pg/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def PGEligibilityFetchCardlessEmi(self, x_api_version : Annotated[StrictStr, Fie

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -498,7 +498,7 @@ def PGEligibilityFetchOffers(self, x_api_version : Annotated[StrictStr, Field(..

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -653,7 +653,7 @@ def PGEligibilityFetchPaylater(self, x_api_version : Annotated[StrictStr, Field(

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -809,7 +809,7 @@ def PGEligibilityFetchPaymentMethods(self, x_api_version : Annotated[StrictStr,

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -966,7 +966,7 @@ def PGCreateOffer(self, x_api_version : Annotated[StrictStr, Field(..., descript

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -1124,7 +1124,7 @@ def PGFetchOffer(self, x_api_version : Annotated[StrictStr, Field(..., descripti

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -1270,7 +1270,7 @@ def PGCreateOrder(self, x_api_version : Annotated[StrictStr, Field(..., descript

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -1428,7 +1428,7 @@ def PGFetchOrder(self, x_api_version : Annotated[StrictStr, Field(..., descripti

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -1580,7 +1580,7 @@ def PGFetchRecon(self, x_api_version : Annotated[StrictStr, Field(..., descripti

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -1739,7 +1739,7 @@ def PGCancelLink(self, x_api_version : Annotated[StrictStr, Field(..., descripti

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -1884,7 +1884,7 @@ def PGCreateLink(self, x_api_version : Annotated[StrictStr, Field(..., descripti

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2042,7 +2042,7 @@ def PGFetchLink(self, x_api_version : Annotated[StrictStr, Field(..., descriptio

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2191,7 +2191,7 @@ def PGLinkFetchOrders(self, x_api_version : Annotated[StrictStr, Field(..., desc

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2343,7 +2343,7 @@ def PGAuthorizeOrder(self, x_api_version : Annotated[StrictStr, Field(..., descr

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2505,7 +2505,7 @@ def PGOrderAuthenticatePayment(self, x_api_version : Annotated[StrictStr, Field(

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2670,7 +2670,7 @@ def PGOrderFetchPayment(self, x_api_version : Annotated[StrictStr, Field(..., de

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2819,7 +2819,7 @@ def PGOrderFetchPayments(self, x_api_version : Annotated[StrictStr, Field(..., d

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -2965,7 +2965,7 @@ def PGPayOrder(self, x_api_version : Annotated[StrictStr, Field(..., description

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -3128,7 +3128,7 @@ def PGOrderCreateRefund(self, x_api_version : Annotated[StrictStr, Field(..., de

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -3293,7 +3293,7 @@ def PGOrderFetchRefund(self, x_api_version : Annotated[StrictStr, Field(..., des

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -3442,7 +3442,7 @@ def PGOrderFetchRefunds(self, x_api_version : Annotated[StrictStr, Field(..., de

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -3594,7 +3594,7 @@ def PGFetchSettlements(self, x_api_version : Annotated[StrictStr, Field(..., des

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -3755,7 +3755,7 @@ def PGSettlementFetchRecon(self, x_api_version : Annotated[StrictStr, Field(...,

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -3914,7 +3914,7 @@ def PGOrderFetchSettlement(self, x_api_version : Annotated[StrictStr, Field(...,

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4070,7 +4070,7 @@ def PGCustomerDeleteInstrument(self, x_api_version : Annotated[StrictStr, Field(

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4225,7 +4225,7 @@ def PGCustomerFetchInstrument(self, x_api_version : Annotated[StrictStr, Field(.

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4380,7 +4380,7 @@ def PGCustomerFetchInstruments(self, x_api_version : Annotated[StrictStr, Field(

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4534,7 +4534,7 @@ def PGCustomerInstrumentsFetchCryptogram(self, x_api_version : Annotated[StrictS

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4681,7 +4681,7 @@ def SposCreateTerminal(self, x_api_version : Annotated[StrictStr, Field(..., des

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4836,7 +4836,7 @@ def SposCreateTerminalTransaction(self, x_api_version : Annotated[StrictStr, Fie

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -4994,7 +4994,7 @@ def SposFetchTerminal(self, x_api_version : Annotated[StrictStr, Field(..., desc

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -5148,7 +5148,7 @@ def SposFetchTerminalQrCodes(self, x_api_version : Annotated[StrictStr, Field(..

if x_idempotency_key:
_header_params["x-idempotency-key"] = x_idempotency_key
_header_params["x-sdk-platform"] = "pythonsdk-3.2.8"
_header_params["x-sdk-platform"] = "pythonsdk-3.2.10"

# process the form parameters
_form_params = []
Expand Down Expand Up @@ -5237,7 +5237,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 = 'OpenAPI-Generator/3.2.8/python'
self.user_agent = 'OpenAPI-Generator/3.2.10/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion cashfree_pg/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2022-09-01\n"\
"SDK Package Version: 3.2.8".\
"SDK Package Version: 3.2.10".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading

0 comments on commit 9577f8f

Please sign in to comment.