From 7af453419217d9b1f20910533e8f2dd29f2854cd Mon Sep 17 00:00:00 2001 From: bitbucket-pipelines Date: Sun, 28 Jan 2024 18:17:53 +0000 Subject: [PATCH] Generating Python SDK. --- cashfree_pg/__init__.py | 2 +- cashfree_pg/api_client.py | 66 +++++++++---------- cashfree_pg/configuration.py | 2 +- cashfree_pg/models/api_error.py | 2 +- cashfree_pg/models/api_error404.py | 2 +- cashfree_pg/models/api_error409.py | 2 +- cashfree_pg/models/api_error502.py | 2 +- cashfree_pg/models/app.py | 2 +- cashfree_pg/models/authentication_error.py | 2 +- .../authorization_in_payments_entity.py | 2 +- cashfree_pg/models/authorize_order_request.py | 2 +- cashfree_pg/models/bad_request_error.py | 2 +- cashfree_pg/models/card.py | 2 +- cashfree_pg/models/card_emi.py | 2 +- cashfree_pg/models/card_offer.py | 2 +- cashfree_pg/models/cardless_emi.py | 2 +- cashfree_pg/models/cardless_emi_entity.py | 2 +- cashfree_pg/models/cardless_emi_queries.py | 2 +- cashfree_pg/models/cashback_details.py | 2 +- cashfree_pg/models/create_link_request.py | 2 +- cashfree_pg/models/create_offer_request.py | 2 +- cashfree_pg/models/create_order_request.py | 2 +- cashfree_pg/models/create_terminal_request.py | 2 +- .../create_terminal_transaction_request.py | 2 +- cashfree_pg/models/cryptogram_entity.py | 2 +- cashfree_pg/models/customer_details.py | 2 +- cashfree_pg/models/discount_details.py | 2 +- .../models/eligibility_cardless_emi_entity.py | 2 +- .../eligibility_fetch_offers_request.py | 2 +- ...igibility_fetch_payment_methods_request.py | 2 +- .../models/eligibility_offer_entity.py | 2 +- .../models/eligibility_paylater_entity.py | 2 +- .../eligibility_payment_methods_entity.py | 2 +- cashfree_pg/models/emi_offer.py | 2 +- cashfree_pg/models/emi_plans_array.py | 2 +- .../error_details_in_payments_entity.py | 2 +- cashfree_pg/models/fetch_recon_request.py | 2 +- .../models/fetch_recon_request_filters.py | 2 +- .../models/fetch_recon_request_pagination.py | 2 +- .../models/fetch_settlements_request.py | 2 +- .../fetch_settlements_request_filters.py | 2 +- .../fetch_settlements_request_pagination.py | 2 +- .../models/fetch_terminal_qr_codes_entity.py | 2 +- cashfree_pg/models/idempotency_error.py | 2 +- cashfree_pg/models/instrument_entity.py | 2 +- cashfree_pg/models/instrument_webhook_data.py | 2 +- .../models/link_customer_details_entity.py | 2 +- cashfree_pg/models/link_entity.py | 2 +- cashfree_pg/models/link_meta_entity.py | 2 +- cashfree_pg/models/link_notify_entity.py | 2 +- cashfree_pg/models/netbanking.py | 2 +- cashfree_pg/models/offer_details.py | 2 +- cashfree_pg/models/offer_entity.py | 2 +- cashfree_pg/models/offer_meta.py | 2 +- cashfree_pg/models/offer_queries.py | 2 +- cashfree_pg/models/offer_tnc.py | 2 +- cashfree_pg/models/offer_validations.py | 2 +- .../models/order_authenticate_entity.py | 2 +- .../order_authenticate_payment_request.py | 2 +- .../models/order_create_refund_request.py | 2 +- cashfree_pg/models/order_entity.py | 2 +- cashfree_pg/models/order_meta.py | 2 +- cashfree_pg/models/order_pay_data.py | 2 +- cashfree_pg/models/pay_order_entity.py | 2 +- cashfree_pg/models/pay_order_request.py | 2 +- cashfree_pg/models/paylater.py | 2 +- cashfree_pg/models/payment_entity.py | 2 +- .../models/payment_link_customer_details.py | 2 +- .../models/payment_link_order_entity.py | 2 +- ...yment_method_app_in_payments_entity_app.py | 2 +- ...t_method_card_emiin_payments_entity_emi.py | 2 +- ...d_emiin_payments_entity_emi_emi_details.py | 2 +- ...ent_method_card_in_payments_entity_card.py | 2 +- ...t_banking_in_payments_entity_netbanking.py | 2 +- ...ayment_method_upiin_payments_entity_upi.py | 2 +- cashfree_pg/models/payment_methods_queries.py | 2 +- cashfree_pg/models/payment_mode_details.py | 2 +- cashfree_pg/models/payment_webhook.py | 2 +- .../models/payment_webhook_customer_entity.py | 2 +- .../models/payment_webhook_data_entity.py | 2 +- .../models/payment_webhook_error_entity.py | 2 +- .../payment_webhook_gateway_details_entity.py | 2 +- .../models/payment_webhook_order_entity.py | 2 +- cashfree_pg/models/rate_limit_error.py | 2 +- cashfree_pg/models/recon_entity.py | 2 +- cashfree_pg/models/recon_entity_data_inner.py | 2 +- cashfree_pg/models/refund_entity.py | 2 +- cashfree_pg/models/refund_speed.py | 2 +- cashfree_pg/models/refund_webhook.py | 2 +- cashfree_pg/models/saved_instrument_meta.py | 2 +- cashfree_pg/models/settlement_entity.py | 2 +- .../models/settlement_fetch_recon_request.py | 2 +- .../settlement_fetch_recon_request_filters.py | 2 +- cashfree_pg/models/settlement_recon_entity.py | 2 +- .../settlement_recon_entity_data_inner.py | 2 +- cashfree_pg/models/settlement_webhook.py | 2 +- cashfree_pg/models/terminal_details.py | 2 +- cashfree_pg/models/terminal_entity.py | 2 +- .../models/terminal_transaction_entity.py | 2 +- cashfree_pg/models/upi.py | 2 +- cashfree_pg/models/upi_authorize_details.py | 2 +- cashfree_pg/models/vendor_split.py | 2 +- configuration.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 105 files changed, 137 insertions(+), 137 deletions(-) diff --git a/cashfree_pg/__init__.py b/cashfree_pg/__init__.py index 1f181e4..6c181c9 100644 --- a/cashfree_pg/__init__.py +++ b/cashfree_pg/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "3.2.8" +__version__ = "3.2.9" # import apis into sdk package # import ApiClient diff --git a/cashfree_pg/api_client.py b/cashfree_pg/api_client.py index 7beed65..8c0e845 100644 --- a/cashfree_pg/api_client.py +++ b/cashfree_pg/api_client.py @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9" # process the form parameters _form_params = [] @@ -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.9/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/cashfree_pg/configuration.py b/cashfree_pg/configuration.py index 9cbd7c9..fb9eda8 100644 --- a/cashfree_pg/configuration.py +++ b/cashfree_pg/configuration.py @@ -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.9".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/cashfree_pg/models/api_error.py b/cashfree_pg/models/api_error.py index 7232f56..ce118d3 100644 --- a/cashfree_pg/models/api_error.py +++ b/cashfree_pg/models/api_error.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> ApiError: @classmethod def from_json_for_one_of(cls, json_str: str) -> ApiError: """Create an instance of ApiError from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/api_error404.py b/cashfree_pg/models/api_error404.py index 27b48c0..757be7e 100644 --- a/cashfree_pg/models/api_error404.py +++ b/cashfree_pg/models/api_error404.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> ApiError404: @classmethod def from_json_for_one_of(cls, json_str: str) -> ApiError404: """Create an instance of ApiError404 from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/api_error409.py b/cashfree_pg/models/api_error409.py index 4fe7ae7..fc30e95 100644 --- a/cashfree_pg/models/api_error409.py +++ b/cashfree_pg/models/api_error409.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> ApiError409: @classmethod def from_json_for_one_of(cls, json_str: str) -> ApiError409: """Create an instance of ApiError409 from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/api_error502.py b/cashfree_pg/models/api_error502.py index b45e4d7..c94ede4 100644 --- a/cashfree_pg/models/api_error502.py +++ b/cashfree_pg/models/api_error502.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> ApiError502: @classmethod def from_json_for_one_of(cls, json_str: str) -> ApiError502: """Create an instance of ApiError502 from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/app.py b/cashfree_pg/models/app.py index 26bfa8e..56d1d4e 100644 --- a/cashfree_pg/models/app.py +++ b/cashfree_pg/models/app.py @@ -59,7 +59,7 @@ def from_json(cls, json_str: str) -> App: @classmethod def from_json_for_one_of(cls, json_str: str) -> App: """Create an instance of App from a JSON string""" - if "channel", "provider", "phone" not in json_str: + if "channel""provider""phone" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/authentication_error.py b/cashfree_pg/models/authentication_error.py index a3b5077..582e2be 100644 --- a/cashfree_pg/models/authentication_error.py +++ b/cashfree_pg/models/authentication_error.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> AuthenticationError: @classmethod def from_json_for_one_of(cls, json_str: str) -> AuthenticationError: """Create an instance of AuthenticationError from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/authorization_in_payments_entity.py b/cashfree_pg/models/authorization_in_payments_entity.py index b261f8d..9873f5c 100644 --- a/cashfree_pg/models/authorization_in_payments_entity.py +++ b/cashfree_pg/models/authorization_in_payments_entity.py @@ -77,7 +77,7 @@ def from_json(cls, json_str: str) -> AuthorizationInPaymentsEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> AuthorizationInPaymentsEntity: """Create an instance of AuthorizationInPaymentsEntity from a JSON string""" - if "action", "status", "captured_amount", "start_time", "end_time", "approve_by", "action_reference", "action_time" not in json_str: + if "action""status""captured_amount""start_time""end_time""approve_by""action_reference""action_time" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/authorize_order_request.py b/cashfree_pg/models/authorize_order_request.py index 433c08c..13ea0fe 100644 --- a/cashfree_pg/models/authorize_order_request.py +++ b/cashfree_pg/models/authorize_order_request.py @@ -61,7 +61,7 @@ def from_json(cls, json_str: str) -> AuthorizeOrderRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> AuthorizeOrderRequest: """Create an instance of AuthorizeOrderRequest from a JSON string""" - if "action", "amount" not in json_str: + if "action""amount" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/bad_request_error.py b/cashfree_pg/models/bad_request_error.py index 34f6063..c0b8cd4 100644 --- a/cashfree_pg/models/bad_request_error.py +++ b/cashfree_pg/models/bad_request_error.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> BadRequestError: @classmethod def from_json_for_one_of(cls, json_str: str) -> BadRequestError: """Create an instance of BadRequestError from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/card.py b/cashfree_pg/models/card.py index 44e258b..0bf88b7 100644 --- a/cashfree_pg/models/card.py +++ b/cashfree_pg/models/card.py @@ -90,7 +90,7 @@ def from_json(cls, json_str: str) -> Card: @classmethod def from_json_for_one_of(cls, json_str: str) -> Card: """Create an instance of Card from a JSON string""" - if "channel", "card_number", "card_holder_name", "card_expiry_mm", "card_expiry_yy", "card_cvv", "instrument_id", "cryptogram", "token_requestor_id", "token_type", "card_display", "card_alias", "card_bank_name", "emi_tenure" not in json_str: + if "channel""card_number""card_holder_name""card_expiry_mm""card_expiry_yy""card_cvv""instrument_id""cryptogram""token_requestor_id""token_type""card_display""card_alias""card_bank_name""emi_tenure" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/card_emi.py b/cashfree_pg/models/card_emi.py index 6c458f5..2e7314f 100644 --- a/cashfree_pg/models/card_emi.py +++ b/cashfree_pg/models/card_emi.py @@ -65,7 +65,7 @@ def from_json(cls, json_str: str) -> CardEMI: @classmethod def from_json_for_one_of(cls, json_str: str) -> CardEMI: """Create an instance of CardEMI from a JSON string""" - if "channel", "card_number", "card_holder_name", "card_expiry_mm", "card_expiry_yy", "card_cvv", "card_alias", "card_bank_name", "emi_tenure" not in json_str: + if "channel""card_number""card_holder_name""card_expiry_mm""card_expiry_yy""card_cvv""card_alias""card_bank_name""emi_tenure" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/card_offer.py b/cashfree_pg/models/card_offer.py index 88a6f83..f26f20b 100644 --- a/cashfree_pg/models/card_offer.py +++ b/cashfree_pg/models/card_offer.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> CardOffer: @classmethod def from_json_for_one_of(cls, json_str: str) -> CardOffer: """Create an instance of CardOffer from a JSON string""" - if "type", "bank_name", "scheme_name" not in json_str: + if "type""bank_name""scheme_name" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/cardless_emi.py b/cashfree_pg/models/cardless_emi.py index dea293c..39350ed 100644 --- a/cashfree_pg/models/cardless_emi.py +++ b/cashfree_pg/models/cardless_emi.py @@ -63,7 +63,7 @@ def from_json(cls, json_str: str) -> CardlessEMI: @classmethod def from_json_for_one_of(cls, json_str: str) -> CardlessEMI: """Create an instance of CardlessEMI from a JSON string""" - if "channel", "provider", "phone", "emi_tenure" not in json_str: + if "channel""provider""phone""emi_tenure" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/cardless_emi_entity.py b/cashfree_pg/models/cardless_emi_entity.py index ab24f4d..acf3f63 100644 --- a/cashfree_pg/models/cardless_emi_entity.py +++ b/cashfree_pg/models/cardless_emi_entity.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> CardlessEMIEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> CardlessEMIEntity: """Create an instance of CardlessEMIEntity from a JSON string""" - if "payment_method", "emi_plans" not in json_str: + if "payment_method""emi_plans" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/cardless_emi_queries.py b/cashfree_pg/models/cardless_emi_queries.py index bcc57dc..861b7c0 100644 --- a/cashfree_pg/models/cardless_emi_queries.py +++ b/cashfree_pg/models/cardless_emi_queries.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> CardlessEMIQueries: @classmethod def from_json_for_one_of(cls, json_str: str) -> CardlessEMIQueries: """Create an instance of CardlessEMIQueries from a JSON string""" - if "order_id", "amount", "customer_details" not in json_str: + if "order_id""amount""customer_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/cashback_details.py b/cashfree_pg/models/cashback_details.py index b3c1973..02465de 100644 --- a/cashfree_pg/models/cashback_details.py +++ b/cashfree_pg/models/cashback_details.py @@ -59,7 +59,7 @@ def from_json(cls, json_str: str) -> CashbackDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> CashbackDetails: """Create an instance of CashbackDetails from a JSON string""" - if "cashback_type", "cashback_value", "max_cashback_amount" not in json_str: + if "cashback_type""cashback_value""max_cashback_amount" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/create_link_request.py b/cashfree_pg/models/create_link_request.py index ec7f867..7724c3d 100644 --- a/cashfree_pg/models/create_link_request.py +++ b/cashfree_pg/models/create_link_request.py @@ -64,7 +64,7 @@ def from_json(cls, json_str: str) -> CreateLinkRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> CreateLinkRequest: """Create an instance of CreateLinkRequest from a JSON string""" - if "link_id", "link_amount", "link_currency", "link_purpose", "customer_details", "link_partial_payments", "link_minimum_partial_amount", "link_expiry_time", "link_notify", "link_auto_reminders", "link_notes", "link_meta" not in json_str: + if "link_id""link_amount""link_currency""link_purpose""customer_details""link_partial_payments""link_minimum_partial_amount""link_expiry_time""link_notify""link_auto_reminders""link_notes""link_meta" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/create_offer_request.py b/cashfree_pg/models/create_offer_request.py index 70210e1..05b0de9 100644 --- a/cashfree_pg/models/create_offer_request.py +++ b/cashfree_pg/models/create_offer_request.py @@ -57,7 +57,7 @@ def from_json(cls, json_str: str) -> CreateOfferRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> CreateOfferRequest: """Create an instance of CreateOfferRequest from a JSON string""" - if "offer_meta", "offer_tnc", "offer_details", "offer_validations" not in json_str: + if "offer_meta""offer_tnc""offer_details""offer_validations" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/create_order_request.py b/cashfree_pg/models/create_order_request.py index 4dd4ea5..f168f96 100644 --- a/cashfree_pg/models/create_order_request.py +++ b/cashfree_pg/models/create_order_request.py @@ -63,7 +63,7 @@ def from_json(cls, json_str: str) -> CreateOrderRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> CreateOrderRequest: """Create an instance of CreateOrderRequest from a JSON string""" - if "order_id", "order_amount", "order_currency", "customer_details", "terminal", "order_meta", "order_expiry_time", "order_note", "order_tags", "order_splits" not in json_str: + if "order_id""order_amount""order_currency""customer_details""terminal""order_meta""order_expiry_time""order_note""order_tags""order_splits" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/create_terminal_request.py b/cashfree_pg/models/create_terminal_request.py index 95940a5..3218b23 100644 --- a/cashfree_pg/models/create_terminal_request.py +++ b/cashfree_pg/models/create_terminal_request.py @@ -58,7 +58,7 @@ def from_json(cls, json_str: str) -> CreateTerminalRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> CreateTerminalRequest: """Create an instance of CreateTerminalRequest from a JSON string""" - if "terminal_id", "terminal_phone_no", "terminal_name", "terminal_address", "terminal_email", "terminal_note", "terminal_type", "terminal_meta" not in json_str: + if "terminal_id""terminal_phone_no""terminal_name""terminal_address""terminal_email""terminal_note""terminal_type""terminal_meta" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/create_terminal_transaction_request.py b/cashfree_pg/models/create_terminal_transaction_request.py index 603d811..6052cdd 100644 --- a/cashfree_pg/models/create_terminal_transaction_request.py +++ b/cashfree_pg/models/create_terminal_transaction_request.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> CreateTerminalTransactionRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> CreateTerminalTransactionRequest: """Create an instance of CreateTerminalTransactionRequest from a JSON string""" - if "cf_order_id", "cf_terminal_id", "payment_method", "terminal_phone_no" not in json_str: + if "cf_order_id""cf_terminal_id""payment_method""terminal_phone_no" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/cryptogram_entity.py b/cashfree_pg/models/cryptogram_entity.py index 1cbef6c..abe59d7 100644 --- a/cashfree_pg/models/cryptogram_entity.py +++ b/cashfree_pg/models/cryptogram_entity.py @@ -56,7 +56,7 @@ def from_json(cls, json_str: str) -> CryptogramEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> CryptogramEntity: """Create an instance of CryptogramEntity from a JSON string""" - if "instrument_id", "token_requestor_id", "card_number", "card_expiry_mm", "card_expiry_yy", "cryptogram", "card_display" not in json_str: + if "instrument_id""token_requestor_id""card_number""card_expiry_mm""card_expiry_yy""cryptogram""card_display" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/customer_details.py b/cashfree_pg/models/customer_details.py index 2ee2e85..2cd9380 100644 --- a/cashfree_pg/models/customer_details.py +++ b/cashfree_pg/models/customer_details.py @@ -56,7 +56,7 @@ def from_json(cls, json_str: str) -> CustomerDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> CustomerDetails: """Create an instance of CustomerDetails from a JSON string""" - if "customer_id", "customer_email", "customer_phone", "customer_name", "customer_bank_account_number", "customer_bank_ifsc", "customer_bank_code" not in json_str: + if "customer_id""customer_email""customer_phone""customer_name""customer_bank_account_number""customer_bank_ifsc""customer_bank_code" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/discount_details.py b/cashfree_pg/models/discount_details.py index b02adc5..184e05f 100644 --- a/cashfree_pg/models/discount_details.py +++ b/cashfree_pg/models/discount_details.py @@ -59,7 +59,7 @@ def from_json(cls, json_str: str) -> DiscountDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> DiscountDetails: """Create an instance of DiscountDetails from a JSON string""" - if "discount_type", "discount_value", "max_discount_amount" not in json_str: + if "discount_type""discount_value""max_discount_amount" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/eligibility_cardless_emi_entity.py b/cashfree_pg/models/eligibility_cardless_emi_entity.py index 3e128a1..062677e 100644 --- a/cashfree_pg/models/eligibility_cardless_emi_entity.py +++ b/cashfree_pg/models/eligibility_cardless_emi_entity.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> EligibilityCardlessEMIEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> EligibilityCardlessEMIEntity: """Create an instance of EligibilityCardlessEMIEntity from a JSON string""" - if "eligibility", "entity_type", "entity_value", "entity_details" not in json_str: + if "eligibility""entity_type""entity_value""entity_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/eligibility_fetch_offers_request.py b/cashfree_pg/models/eligibility_fetch_offers_request.py index f38a04f..955c89e 100644 --- a/cashfree_pg/models/eligibility_fetch_offers_request.py +++ b/cashfree_pg/models/eligibility_fetch_offers_request.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> EligibilityFetchOffersRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> EligibilityFetchOffersRequest: """Create an instance of EligibilityFetchOffersRequest from a JSON string""" - if "queries", "filters" not in json_str: + if "queries""filters" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/eligibility_fetch_payment_methods_request.py b/cashfree_pg/models/eligibility_fetch_payment_methods_request.py index 019b0ee..243cef3 100644 --- a/cashfree_pg/models/eligibility_fetch_payment_methods_request.py +++ b/cashfree_pg/models/eligibility_fetch_payment_methods_request.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> EligibilityFetchPaymentMethodsRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> EligibilityFetchPaymentMethodsRequest: """Create an instance of EligibilityFetchPaymentMethodsRequest from a JSON string""" - if "queries", "filters" not in json_str: + if "queries""filters" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/eligibility_offer_entity.py b/cashfree_pg/models/eligibility_offer_entity.py index 197dde6..8308864 100644 --- a/cashfree_pg/models/eligibility_offer_entity.py +++ b/cashfree_pg/models/eligibility_offer_entity.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> EligibilityOfferEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> EligibilityOfferEntity: """Create an instance of EligibilityOfferEntity from a JSON string""" - if "eligibility", "entity_type", "entity_value", "entity_details" not in json_str: + if "eligibility""entity_type""entity_value""entity_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/eligibility_paylater_entity.py b/cashfree_pg/models/eligibility_paylater_entity.py index 1431a96..2dc8289 100644 --- a/cashfree_pg/models/eligibility_paylater_entity.py +++ b/cashfree_pg/models/eligibility_paylater_entity.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> EligibilityPaylaterEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> EligibilityPaylaterEntity: """Create an instance of EligibilityPaylaterEntity from a JSON string""" - if "eligibility", "entity_type", "entity_value", "entity_details" not in json_str: + if "eligibility""entity_type""entity_value""entity_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/eligibility_payment_methods_entity.py b/cashfree_pg/models/eligibility_payment_methods_entity.py index 1e2224a..bbf73bb 100644 --- a/cashfree_pg/models/eligibility_payment_methods_entity.py +++ b/cashfree_pg/models/eligibility_payment_methods_entity.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> EligibilityPaymentMethodsEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> EligibilityPaymentMethodsEntity: """Create an instance of EligibilityPaymentMethodsEntity from a JSON string""" - if "eligibility", "entity_type", "entity_value", "entity_details" not in json_str: + if "eligibility""entity_type""entity_value""entity_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/emi_offer.py b/cashfree_pg/models/emi_offer.py index 6c2c535..d3784bb 100644 --- a/cashfree_pg/models/emi_offer.py +++ b/cashfree_pg/models/emi_offer.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> EMIOffer: @classmethod def from_json_for_one_of(cls, json_str: str) -> EMIOffer: """Create an instance of EMIOffer from a JSON string""" - if "type", "issuer", "tenures" not in json_str: + if "type""issuer""tenures" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/emi_plans_array.py b/cashfree_pg/models/emi_plans_array.py index fa9a324..b01704d 100644 --- a/cashfree_pg/models/emi_plans_array.py +++ b/cashfree_pg/models/emi_plans_array.py @@ -55,7 +55,7 @@ def from_json(cls, json_str: str) -> EMIPlansArray: @classmethod def from_json_for_one_of(cls, json_str: str) -> EMIPlansArray: """Create an instance of EMIPlansArray from a JSON string""" - if "tenure", "interest_rate", "currency", "emi", "total_interest", "total_amount" not in json_str: + if "tenure""interest_rate""currency""emi""total_interest""total_amount" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/error_details_in_payments_entity.py b/cashfree_pg/models/error_details_in_payments_entity.py index 323a68b..70eeed1 100644 --- a/cashfree_pg/models/error_details_in_payments_entity.py +++ b/cashfree_pg/models/error_details_in_payments_entity.py @@ -56,7 +56,7 @@ def from_json(cls, json_str: str) -> ErrorDetailsInPaymentsEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> ErrorDetailsInPaymentsEntity: """Create an instance of ErrorDetailsInPaymentsEntity from a JSON string""" - if "error_code", "error_description", "error_reason", "error_source", "error_code_raw", "error_description_raw", "error_subcode_raw" not in json_str: + if "error_code""error_description""error_reason""error_source""error_code_raw""error_description_raw""error_subcode_raw" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_recon_request.py b/cashfree_pg/models/fetch_recon_request.py index ce984f1..c65ddf1 100644 --- a/cashfree_pg/models/fetch_recon_request.py +++ b/cashfree_pg/models/fetch_recon_request.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> FetchReconRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchReconRequest: """Create an instance of FetchReconRequest from a JSON string""" - if "pagination", "filters" not in json_str: + if "pagination""filters" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_recon_request_filters.py b/cashfree_pg/models/fetch_recon_request_filters.py index 85dd9c1..1f24802 100644 --- a/cashfree_pg/models/fetch_recon_request_filters.py +++ b/cashfree_pg/models/fetch_recon_request_filters.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> FetchReconRequestFilters: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchReconRequestFilters: """Create an instance of FetchReconRequestFilters from a JSON string""" - if "start_date", "end_date" not in json_str: + if "start_date""end_date" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_recon_request_pagination.py b/cashfree_pg/models/fetch_recon_request_pagination.py index 5b70d5e..ecaac37 100644 --- a/cashfree_pg/models/fetch_recon_request_pagination.py +++ b/cashfree_pg/models/fetch_recon_request_pagination.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> FetchReconRequestPagination: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchReconRequestPagination: """Create an instance of FetchReconRequestPagination from a JSON string""" - if "limit", "cursor" not in json_str: + if "limit""cursor" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_settlements_request.py b/cashfree_pg/models/fetch_settlements_request.py index d557cfc..f1a57d7 100644 --- a/cashfree_pg/models/fetch_settlements_request.py +++ b/cashfree_pg/models/fetch_settlements_request.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> FetchSettlementsRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchSettlementsRequest: """Create an instance of FetchSettlementsRequest from a JSON string""" - if "pagination", "filters" not in json_str: + if "pagination""filters" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_settlements_request_filters.py b/cashfree_pg/models/fetch_settlements_request_filters.py index 3630f75..6853874 100644 --- a/cashfree_pg/models/fetch_settlements_request_filters.py +++ b/cashfree_pg/models/fetch_settlements_request_filters.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> FetchSettlementsRequestFilters: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchSettlementsRequestFilters: """Create an instance of FetchSettlementsRequestFilters from a JSON string""" - if "cf_settlement_ids", "settlement_utrs", "start_date", "end_date" not in json_str: + if "cf_settlement_ids""settlement_utrs""start_date""end_date" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_settlements_request_pagination.py b/cashfree_pg/models/fetch_settlements_request_pagination.py index 351fc22..fc63266 100644 --- a/cashfree_pg/models/fetch_settlements_request_pagination.py +++ b/cashfree_pg/models/fetch_settlements_request_pagination.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> FetchSettlementsRequestPagination: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchSettlementsRequestPagination: """Create an instance of FetchSettlementsRequestPagination from a JSON string""" - if "limit", "cursor" not in json_str: + if "limit""cursor" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/fetch_terminal_qr_codes_entity.py b/cashfree_pg/models/fetch_terminal_qr_codes_entity.py index bd8c5f7..58e9419 100644 --- a/cashfree_pg/models/fetch_terminal_qr_codes_entity.py +++ b/cashfree_pg/models/fetch_terminal_qr_codes_entity.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> FetchTerminalQRCodesEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> FetchTerminalQRCodesEntity: """Create an instance of FetchTerminalQRCodesEntity from a JSON string""" - if "bank", "qrCode", "qrCodeUrl", "status" not in json_str: + if "bank""qrCode""qrCodeUrl""status" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/idempotency_error.py b/cashfree_pg/models/idempotency_error.py index 952b632..2f59982 100644 --- a/cashfree_pg/models/idempotency_error.py +++ b/cashfree_pg/models/idempotency_error.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> IdempotencyError: @classmethod def from_json_for_one_of(cls, json_str: str) -> IdempotencyError: """Create an instance of IdempotencyError from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/instrument_entity.py b/cashfree_pg/models/instrument_entity.py index 76e32f4..ab3227c 100644 --- a/cashfree_pg/models/instrument_entity.py +++ b/cashfree_pg/models/instrument_entity.py @@ -79,7 +79,7 @@ def from_json(cls, json_str: str) -> InstrumentEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> InstrumentEntity: """Create an instance of InstrumentEntity from a JSON string""" - if "customer_id", "afa_reference", "instrument_id", "instrument_type", "instrument_uid", "instrument_display", "instrument_status", "created_at", "instrument_meta" not in json_str: + if "customer_id""afa_reference""instrument_id""instrument_type""instrument_uid""instrument_display""instrument_status""created_at""instrument_meta" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/instrument_webhook_data.py b/cashfree_pg/models/instrument_webhook_data.py index d0ff18d..81bc2f9 100644 --- a/cashfree_pg/models/instrument_webhook_data.py +++ b/cashfree_pg/models/instrument_webhook_data.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> InstrumentWebhookData: @classmethod def from_json_for_one_of(cls, json_str: str) -> InstrumentWebhookData: """Create an instance of InstrumentWebhookData from a JSON string""" - if "data", "event_time", "type" not in json_str: + if "data""event_time""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/link_customer_details_entity.py b/cashfree_pg/models/link_customer_details_entity.py index d694e69..2811417 100644 --- a/cashfree_pg/models/link_customer_details_entity.py +++ b/cashfree_pg/models/link_customer_details_entity.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> LinkCustomerDetailsEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> LinkCustomerDetailsEntity: """Create an instance of LinkCustomerDetailsEntity from a JSON string""" - if "customer_phone", "customer_email", "customer_name" not in json_str: + if "customer_phone""customer_email""customer_name" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/link_entity.py b/cashfree_pg/models/link_entity.py index 09e4541..702eac5 100644 --- a/cashfree_pg/models/link_entity.py +++ b/cashfree_pg/models/link_entity.py @@ -68,7 +68,7 @@ def from_json(cls, json_str: str) -> LinkEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> LinkEntity: """Create an instance of LinkEntity from a JSON string""" - if "cf_link_id", "link_id", "link_status", "link_currency", "link_amount", "link_amount_paid", "link_partial_payments", "link_minimum_partial_amount", "link_purpose", "link_created_at", "customer_details", "link_meta", "link_url", "link_expiry_time", "link_notes", "link_auto_reminders", "link_notify" not in json_str: + if "cf_link_id""link_id""link_status""link_currency""link_amount""link_amount_paid""link_partial_payments""link_minimum_partial_amount""link_purpose""link_created_at""customer_details""link_meta""link_url""link_expiry_time""link_notes""link_auto_reminders""link_notify" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/link_meta_entity.py b/cashfree_pg/models/link_meta_entity.py index abef5d8..295fb75 100644 --- a/cashfree_pg/models/link_meta_entity.py +++ b/cashfree_pg/models/link_meta_entity.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> LinkMetaEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> LinkMetaEntity: """Create an instance of LinkMetaEntity from a JSON string""" - if "notify_url", "upi_intent", "return_url", "payment_methods" not in json_str: + if "notify_url""upi_intent""return_url""payment_methods" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/link_notify_entity.py b/cashfree_pg/models/link_notify_entity.py index 4d93f3a..55a6fb7 100644 --- a/cashfree_pg/models/link_notify_entity.py +++ b/cashfree_pg/models/link_notify_entity.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> LinkNotifyEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> LinkNotifyEntity: """Create an instance of LinkNotifyEntity from a JSON string""" - if "send_sms", "send_email" not in json_str: + if "send_sms""send_email" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/netbanking.py b/cashfree_pg/models/netbanking.py index 372b09e..4641929 100644 --- a/cashfree_pg/models/netbanking.py +++ b/cashfree_pg/models/netbanking.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> Netbanking: @classmethod def from_json_for_one_of(cls, json_str: str) -> Netbanking: """Create an instance of Netbanking from a JSON string""" - if "channel", "netbanking_bank_code", "netbanking_bank_name" not in json_str: + if "channel""netbanking_bank_code""netbanking_bank_name" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/offer_details.py b/cashfree_pg/models/offer_details.py index 29162fc..02e5742 100644 --- a/cashfree_pg/models/offer_details.py +++ b/cashfree_pg/models/offer_details.py @@ -61,7 +61,7 @@ def from_json(cls, json_str: str) -> OfferDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> OfferDetails: """Create an instance of OfferDetails from a JSON string""" - if "offer_type", "discount_details", "cashback_details" not in json_str: + if "offer_type""discount_details""cashback_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/offer_entity.py b/cashfree_pg/models/offer_entity.py index ce459bc..2d258df 100644 --- a/cashfree_pg/models/offer_entity.py +++ b/cashfree_pg/models/offer_entity.py @@ -59,7 +59,7 @@ def from_json(cls, json_str: str) -> OfferEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> OfferEntity: """Create an instance of OfferEntity from a JSON string""" - if "offer_id", "offer_status", "offer_meta", "offer_tnc", "offer_details", "offer_validations" not in json_str: + if "offer_id""offer_status""offer_meta""offer_tnc""offer_details""offer_validations" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/offer_meta.py b/cashfree_pg/models/offer_meta.py index 1e07437..1936808 100644 --- a/cashfree_pg/models/offer_meta.py +++ b/cashfree_pg/models/offer_meta.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> OfferMeta: @classmethod def from_json_for_one_of(cls, json_str: str) -> OfferMeta: """Create an instance of OfferMeta from a JSON string""" - if "offer_title", "offer_description", "offer_code", "offer_start_time", "offer_end_time" not in json_str: + if "offer_title""offer_description""offer_code""offer_start_time""offer_end_time" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/offer_queries.py b/cashfree_pg/models/offer_queries.py index 0e77614..fd739cb 100644 --- a/cashfree_pg/models/offer_queries.py +++ b/cashfree_pg/models/offer_queries.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> OfferQueries: @classmethod def from_json_for_one_of(cls, json_str: str) -> OfferQueries: """Create an instance of OfferQueries from a JSON string""" - if "order_id", "amount" not in json_str: + if "order_id""amount" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/offer_tnc.py b/cashfree_pg/models/offer_tnc.py index af0606d..695cf06 100644 --- a/cashfree_pg/models/offer_tnc.py +++ b/cashfree_pg/models/offer_tnc.py @@ -58,7 +58,7 @@ def from_json(cls, json_str: str) -> OfferTnc: @classmethod def from_json_for_one_of(cls, json_str: str) -> OfferTnc: """Create an instance of OfferTnc from a JSON string""" - if "offer_tnc_type", "offer_tnc_value" not in json_str: + if "offer_tnc_type""offer_tnc_value" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/offer_validations.py b/cashfree_pg/models/offer_validations.py index 34bfa6e..ce96b84 100644 --- a/cashfree_pg/models/offer_validations.py +++ b/cashfree_pg/models/offer_validations.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> OfferValidations: @classmethod def from_json_for_one_of(cls, json_str: str) -> OfferValidations: """Create an instance of OfferValidations from a JSON string""" - if "min_amount", "payment_method", "max_allowed" not in json_str: + if "min_amount""payment_method""max_allowed" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/order_authenticate_entity.py b/cashfree_pg/models/order_authenticate_entity.py index f527e01..de08e61 100644 --- a/cashfree_pg/models/order_authenticate_entity.py +++ b/cashfree_pg/models/order_authenticate_entity.py @@ -73,7 +73,7 @@ def from_json(cls, json_str: str) -> OrderAuthenticateEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> OrderAuthenticateEntity: """Create an instance of OrderAuthenticateEntity from a JSON string""" - if "cf_payment_id", "action", "authenticate_status", "payment_message" not in json_str: + if "cf_payment_id""action""authenticate_status""payment_message" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/order_authenticate_payment_request.py b/cashfree_pg/models/order_authenticate_payment_request.py index e971170..7e00776 100644 --- a/cashfree_pg/models/order_authenticate_payment_request.py +++ b/cashfree_pg/models/order_authenticate_payment_request.py @@ -58,7 +58,7 @@ def from_json(cls, json_str: str) -> OrderAuthenticatePaymentRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> OrderAuthenticatePaymentRequest: """Create an instance of OrderAuthenticatePaymentRequest from a JSON string""" - if "otp", "action" not in json_str: + if "otp""action" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/order_create_refund_request.py b/cashfree_pg/models/order_create_refund_request.py index f96f076..7ac0b54 100644 --- a/cashfree_pg/models/order_create_refund_request.py +++ b/cashfree_pg/models/order_create_refund_request.py @@ -65,7 +65,7 @@ def from_json(cls, json_str: str) -> OrderCreateRefundRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> OrderCreateRefundRequest: """Create an instance of OrderCreateRefundRequest from a JSON string""" - if "refund_amount", "refund_id", "refund_note", "refund_speed", "refund_splits" not in json_str: + if "refund_amount""refund_id""refund_note""refund_speed""refund_splits" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/order_entity.py b/cashfree_pg/models/order_entity.py index 0120102..7c2295d 100644 --- a/cashfree_pg/models/order_entity.py +++ b/cashfree_pg/models/order_entity.py @@ -72,7 +72,7 @@ def from_json(cls, json_str: str) -> OrderEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> OrderEntity: """Create an instance of OrderEntity from a JSON string""" - if "cf_order_id", "order_id", "entity", "order_currency", "order_amount", "order_status", "payment_session_id", "order_expiry_time", "order_note", "created_at", "order_splits", "customer_details", "order_meta", "payments", "settlements", "refunds", "order_tags" not in json_str: + if "cf_order_id""order_id""entity""order_currency""order_amount""order_status""payment_session_id""order_expiry_time""order_note""created_at""order_splits""customer_details""order_meta""payments""settlements""refunds""order_tags" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/order_meta.py b/cashfree_pg/models/order_meta.py index 2cecb27..97250b8 100644 --- a/cashfree_pg/models/order_meta.py +++ b/cashfree_pg/models/order_meta.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> OrderMeta: @classmethod def from_json_for_one_of(cls, json_str: str) -> OrderMeta: """Create an instance of OrderMeta from a JSON string""" - if "return_url", "notify_url", "payment_methods" not in json_str: + if "return_url""notify_url""payment_methods" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/order_pay_data.py b/cashfree_pg/models/order_pay_data.py index d05a000..6e27c14 100644 --- a/cashfree_pg/models/order_pay_data.py +++ b/cashfree_pg/models/order_pay_data.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> OrderPayData: @classmethod def from_json_for_one_of(cls, json_str: str) -> OrderPayData: """Create an instance of OrderPayData from a JSON string""" - if "url", "payload", "content_type", "method" not in json_str: + if "url""payload""content_type""method" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/pay_order_entity.py b/cashfree_pg/models/pay_order_entity.py index e0d00c4..898e8e5 100644 --- a/cashfree_pg/models/pay_order_entity.py +++ b/cashfree_pg/models/pay_order_entity.py @@ -86,7 +86,7 @@ def from_json(cls, json_str: str) -> PayOrderEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PayOrderEntity: """Create an instance of PayOrderEntity from a JSON string""" - if "payment_amount", "cf_payment_id", "payment_method", "channel", "action", "data" not in json_str: + if "payment_amount""cf_payment_id""payment_method""channel""action""data" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/pay_order_request.py b/cashfree_pg/models/pay_order_request.py index 247e2f2..60791de 100644 --- a/cashfree_pg/models/pay_order_request.py +++ b/cashfree_pg/models/pay_order_request.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> PayOrderRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> PayOrderRequest: """Create an instance of PayOrderRequest from a JSON string""" - if "payment_session_id", "payment_method", "save_instrument", "offer_id" not in json_str: + if "payment_session_id""payment_method""save_instrument""offer_id" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/paylater.py b/cashfree_pg/models/paylater.py index 434a45d..1917a96 100644 --- a/cashfree_pg/models/paylater.py +++ b/cashfree_pg/models/paylater.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> Paylater: @classmethod def from_json_for_one_of(cls, json_str: str) -> Paylater: """Create an instance of Paylater from a JSON string""" - if "channel", "provider", "phone" not in json_str: + if "channel""provider""phone" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_entity.py b/cashfree_pg/models/payment_entity.py index 3d6fd24..60c900f 100644 --- a/cashfree_pg/models/payment_entity.py +++ b/cashfree_pg/models/payment_entity.py @@ -79,7 +79,7 @@ def from_json(cls, json_str: str) -> PaymentEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentEntity: """Create an instance of PaymentEntity from a JSON string""" - if "cf_payment_id", "order_id", "entity", "error_details", "is_captured", "order_amount", "payment_group", "payment_currency", "payment_amount", "payment_time", "payment_completion_time", "payment_status", "payment_message", "bank_reference", "auth_id", "authorization", "payment_method" not in json_str: + if "cf_payment_id""order_id""entity""error_details""is_captured""order_amount""payment_group""payment_currency""payment_amount""payment_time""payment_completion_time""payment_status""payment_message""bank_reference""auth_id""authorization""payment_method" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_link_customer_details.py b/cashfree_pg/models/payment_link_customer_details.py index e2f23f9..d023365 100644 --- a/cashfree_pg/models/payment_link_customer_details.py +++ b/cashfree_pg/models/payment_link_customer_details.py @@ -56,7 +56,7 @@ def from_json(cls, json_str: str) -> PaymentLinkCustomerDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentLinkCustomerDetails: """Create an instance of PaymentLinkCustomerDetails from a JSON string""" - if "customer_id", "customer_email", "customer_phone", "customer_name", "customer_bank_account_number", "customer_bank_ifsc", "customer_bank_code" not in json_str: + if "customer_id""customer_email""customer_phone""customer_name""customer_bank_account_number""customer_bank_ifsc""customer_bank_code" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_link_order_entity.py b/cashfree_pg/models/payment_link_order_entity.py index 4d533a8..ea78a19 100644 --- a/cashfree_pg/models/payment_link_order_entity.py +++ b/cashfree_pg/models/payment_link_order_entity.py @@ -73,7 +73,7 @@ def from_json(cls, json_str: str) -> PaymentLinkOrderEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentLinkOrderEntity: """Create an instance of PaymentLinkOrderEntity from a JSON string""" - if "cf_order_id", "link_id", "order_id", "entity", "order_currency", "order_amount", "order_status", "payment_session_id", "order_expiry_time", "order_note", "created_at", "order_splits", "customer_details", "order_meta", "payments", "settlements", "refunds", "order_tags" not in json_str: + if "cf_order_id""link_id""order_id""entity""order_currency""order_amount""order_status""payment_session_id""order_expiry_time""order_note""created_at""order_splits""customer_details""order_meta""payments""settlements""refunds""order_tags" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_method_app_in_payments_entity_app.py b/cashfree_pg/models/payment_method_app_in_payments_entity_app.py index dc31ab6..1ab3a7f 100644 --- a/cashfree_pg/models/payment_method_app_in_payments_entity_app.py +++ b/cashfree_pg/models/payment_method_app_in_payments_entity_app.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> PaymentMethodAppInPaymentsEntityApp: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodAppInPaymentsEntityApp: """Create an instance of PaymentMethodAppInPaymentsEntityApp from a JSON string""" - if "channel", "provider", "phone" not in json_str: + if "channel""provider""phone" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi.py b/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi.py index abd597b..b68733a 100644 --- a/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi.py +++ b/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi.py @@ -59,7 +59,7 @@ def from_json(cls, json_str: str) -> PaymentMethodCardEMIInPaymentsEntityEmi: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodCardEMIInPaymentsEntityEmi: """Create an instance of PaymentMethodCardEMIInPaymentsEntityEmi from a JSON string""" - if "channel", "card_number", "card_network", "card_type", "card_country", "card_bank_name", "card_network_reference_id", "emi_tenure", "emi_details" not in json_str: + if "channel""card_number""card_network""card_type""card_country""card_bank_name""card_network_reference_id""emi_tenure""emi_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi_emi_details.py b/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi_emi_details.py index ebe9367..cb903f6 100644 --- a/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi_emi_details.py +++ b/cashfree_pg/models/payment_method_card_emiin_payments_entity_emi_emi_details.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> PaymentMethodCardEMIInPaymentsEntityEmiEmiD @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodCardEMIInPaymentsEntityEmiEmiDetails: """Create an instance of PaymentMethodCardEMIInPaymentsEntityEmiEmiDetails from a JSON string""" - if "emi_amount", "emi_tenure", "emi_interest" not in json_str: + if "emi_amount""emi_tenure""emi_interest" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_method_card_in_payments_entity_card.py b/cashfree_pg/models/payment_method_card_in_payments_entity_card.py index bc6f5bc..364cc9e 100644 --- a/cashfree_pg/models/payment_method_card_in_payments_entity_card.py +++ b/cashfree_pg/models/payment_method_card_in_payments_entity_card.py @@ -56,7 +56,7 @@ def from_json(cls, json_str: str) -> PaymentMethodCardInPaymentsEntityCard: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodCardInPaymentsEntityCard: """Create an instance of PaymentMethodCardInPaymentsEntityCard from a JSON string""" - if "channel", "card_number", "card_network", "card_type", "card_country", "card_bank_name", "card_network_reference_id" not in json_str: + if "channel""card_number""card_network""card_type""card_country""card_bank_name""card_network_reference_id" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_method_net_banking_in_payments_entity_netbanking.py b/cashfree_pg/models/payment_method_net_banking_in_payments_entity_netbanking.py index 1944a03..0185591 100644 --- a/cashfree_pg/models/payment_method_net_banking_in_payments_entity_netbanking.py +++ b/cashfree_pg/models/payment_method_net_banking_in_payments_entity_netbanking.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> PaymentMethodNetBankingInPaymentsEntityNetb @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodNetBankingInPaymentsEntityNetbanking: """Create an instance of PaymentMethodNetBankingInPaymentsEntityNetbanking from a JSON string""" - if "channel", "netbanking_bank_code", "netbanking_bank_name" not in json_str: + if "channel""netbanking_bank_code""netbanking_bank_name" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_method_upiin_payments_entity_upi.py b/cashfree_pg/models/payment_method_upiin_payments_entity_upi.py index 92970c5..fc24cd3 100644 --- a/cashfree_pg/models/payment_method_upiin_payments_entity_upi.py +++ b/cashfree_pg/models/payment_method_upiin_payments_entity_upi.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> PaymentMethodUPIInPaymentsEntityUpi: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodUPIInPaymentsEntityUpi: """Create an instance of PaymentMethodUPIInPaymentsEntityUpi from a JSON string""" - if "channel", "upi_id" not in json_str: + if "channel""upi_id" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_methods_queries.py b/cashfree_pg/models/payment_methods_queries.py index 2665282..a7d3eaa 100644 --- a/cashfree_pg/models/payment_methods_queries.py +++ b/cashfree_pg/models/payment_methods_queries.py @@ -51,7 +51,7 @@ def from_json(cls, json_str: str) -> PaymentMethodsQueries: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentMethodsQueries: """Create an instance of PaymentMethodsQueries from a JSON string""" - if "amount", "order_id" not in json_str: + if "amount""order_id" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_mode_details.py b/cashfree_pg/models/payment_mode_details.py index e89f40f..26d3dc1 100644 --- a/cashfree_pg/models/payment_mode_details.py +++ b/cashfree_pg/models/payment_mode_details.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> PaymentModeDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentModeDetails: """Create an instance of PaymentModeDetails from a JSON string""" - if "nick", "display", "eligibility", "code" not in json_str: + if "nick""display""eligibility""code" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_webhook.py b/cashfree_pg/models/payment_webhook.py index 379336a..16ec339 100644 --- a/cashfree_pg/models/payment_webhook.py +++ b/cashfree_pg/models/payment_webhook.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> PaymentWebhook: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentWebhook: """Create an instance of PaymentWebhook from a JSON string""" - if "data", "event_time", "type" not in json_str: + if "data""event_time""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_webhook_customer_entity.py b/cashfree_pg/models/payment_webhook_customer_entity.py index 16ff5a0..9a2e86d 100644 --- a/cashfree_pg/models/payment_webhook_customer_entity.py +++ b/cashfree_pg/models/payment_webhook_customer_entity.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> PaymentWebhookCustomerEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentWebhookCustomerEntity: """Create an instance of PaymentWebhookCustomerEntity from a JSON string""" - if "customer_name", "customer_id", "customer_email", "customer_phone" not in json_str: + if "customer_name""customer_id""customer_email""customer_phone" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_webhook_data_entity.py b/cashfree_pg/models/payment_webhook_data_entity.py index 617d170..6f6afba 100644 --- a/cashfree_pg/models/payment_webhook_data_entity.py +++ b/cashfree_pg/models/payment_webhook_data_entity.py @@ -61,7 +61,7 @@ def from_json(cls, json_str: str) -> PaymentWebhookDataEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentWebhookDataEntity: """Create an instance of PaymentWebhookDataEntity from a JSON string""" - if "order", "payment", "customer_details", "error_details", "payment_gateway_details", "payment_offers" not in json_str: + if "order""payment""customer_details""error_details""payment_gateway_details""payment_offers" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_webhook_error_entity.py b/cashfree_pg/models/payment_webhook_error_entity.py index 341f17b..c012d77 100644 --- a/cashfree_pg/models/payment_webhook_error_entity.py +++ b/cashfree_pg/models/payment_webhook_error_entity.py @@ -55,7 +55,7 @@ def from_json(cls, json_str: str) -> PaymentWebhookErrorEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentWebhookErrorEntity: """Create an instance of PaymentWebhookErrorEntity from a JSON string""" - if "error_code", "error_description", "error_reason", "error_source", "error_code_raw", "error_description_raw" not in json_str: + if "error_code""error_description""error_reason""error_source""error_code_raw""error_description_raw" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_webhook_gateway_details_entity.py b/cashfree_pg/models/payment_webhook_gateway_details_entity.py index e3c1673..4cd8ac4 100644 --- a/cashfree_pg/models/payment_webhook_gateway_details_entity.py +++ b/cashfree_pg/models/payment_webhook_gateway_details_entity.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> PaymentWebhookGatewayDetailsEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentWebhookGatewayDetailsEntity: """Create an instance of PaymentWebhookGatewayDetailsEntity from a JSON string""" - if "gateway_name", "gateway_order_id", "gateway_payment_id", "gateway_status_code", "gateway_settlement" not in json_str: + if "gateway_name""gateway_order_id""gateway_payment_id""gateway_status_code""gateway_settlement" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/payment_webhook_order_entity.py b/cashfree_pg/models/payment_webhook_order_entity.py index 104add2..c1d2925 100644 --- a/cashfree_pg/models/payment_webhook_order_entity.py +++ b/cashfree_pg/models/payment_webhook_order_entity.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> PaymentWebhookOrderEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> PaymentWebhookOrderEntity: """Create an instance of PaymentWebhookOrderEntity from a JSON string""" - if "order_id", "order_amount", "order_currency", "order_tags" not in json_str: + if "order_id""order_amount""order_currency""order_tags" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/rate_limit_error.py b/cashfree_pg/models/rate_limit_error.py index c302cc1..2909497 100644 --- a/cashfree_pg/models/rate_limit_error.py +++ b/cashfree_pg/models/rate_limit_error.py @@ -62,7 +62,7 @@ def from_json(cls, json_str: str) -> RateLimitError: @classmethod def from_json_for_one_of(cls, json_str: str) -> RateLimitError: """Create an instance of RateLimitError from a JSON string""" - if "message", "code", "type" not in json_str: + if "message""code""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/recon_entity.py b/cashfree_pg/models/recon_entity.py index 020ca0b..02d1e12 100644 --- a/cashfree_pg/models/recon_entity.py +++ b/cashfree_pg/models/recon_entity.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> ReconEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> ReconEntity: """Create an instance of ReconEntity from a JSON string""" - if "cursor", "limit", "data" not in json_str: + if "cursor""limit""data" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/recon_entity_data_inner.py b/cashfree_pg/models/recon_entity_data_inner.py index d86869d..0b7456d 100644 --- a/cashfree_pg/models/recon_entity_data_inner.py +++ b/cashfree_pg/models/recon_entity_data_inner.py @@ -96,7 +96,7 @@ def from_json(cls, json_str: str) -> ReconEntityDataInner: @classmethod def from_json_for_one_of(cls, json_str: str) -> ReconEntityDataInner: """Create an instance of ReconEntityDataInner from a JSON string""" - if "event_id", "event_type", "event_settlement_amount", "event_amount", "sale_type", "event_status", "entity", "event_time", "event_currency", "order_id", "order_amount", "customer_phone", "customer_email", "customer_name", "payment_amount", "payment_utr", "payment_time", "payment_service_charge", "payment_service_tax", "cf_payment_id", "cf_settlement_id", "settlement_date", "settlement_utr", "split_service_charge", "split_service_tax", "vendor_commission", "closed_in_favor_of", "dispute_resolved_on", "dispute_category", "dispute_note", "refund_processed_at", "refund_arn", "refund_note", "refund_id", "adjustment_remarks", "adjustment", "service_tax", "service_charge", "amount_settled", "payment_from", "payment_till", "reason", "settlement_initiated_on", "settlement_type", "settlement_charge", "settlement_tax", "remarks" not in json_str: + if "event_id""event_type""event_settlement_amount""event_amount""sale_type""event_status""entity""event_time""event_currency""order_id""order_amount""customer_phone""customer_email""customer_name""payment_amount""payment_utr""payment_time""payment_service_charge""payment_service_tax""cf_payment_id""cf_settlement_id""settlement_date""settlement_utr""split_service_charge""split_service_tax""vendor_commission""closed_in_favor_of""dispute_resolved_on""dispute_category""dispute_note""refund_processed_at""refund_arn""refund_note""refund_id""adjustment_remarks""adjustment""service_tax""service_charge""amount_settled""payment_from""payment_till""reason""settlement_initiated_on""settlement_type""settlement_charge""settlement_tax""remarks" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/refund_entity.py b/cashfree_pg/models/refund_entity.py index bc781d3..8afb9f5 100644 --- a/cashfree_pg/models/refund_entity.py +++ b/cashfree_pg/models/refund_entity.py @@ -110,7 +110,7 @@ def from_json(cls, json_str: str) -> RefundEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> RefundEntity: """Create an instance of RefundEntity from a JSON string""" - if "cf_payment_id", "cf_refund_id", "order_id", "refund_id", "entity", "refund_amount", "refund_currency", "refund_note", "refund_status", "refund_arn", "refund_charge", "status_description", "metadata", "refund_splits", "refund_type", "refund_mode", "created_at", "processed_at", "refund_speed" not in json_str: + if "cf_payment_id""cf_refund_id""order_id""refund_id""entity""refund_amount""refund_currency""refund_note""refund_status""refund_arn""refund_charge""status_description""metadata""refund_splits""refund_type""refund_mode""created_at""processed_at""refund_speed" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/refund_speed.py b/cashfree_pg/models/refund_speed.py index 4f78ccb..388519a 100644 --- a/cashfree_pg/models/refund_speed.py +++ b/cashfree_pg/models/refund_speed.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> RefundSpeed: @classmethod def from_json_for_one_of(cls, json_str: str) -> RefundSpeed: """Create an instance of RefundSpeed from a JSON string""" - if "requested", "accepted", "processed", "message" not in json_str: + if "requested""accepted""processed""message" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/refund_webhook.py b/cashfree_pg/models/refund_webhook.py index 1a8a777..ee992c4 100644 --- a/cashfree_pg/models/refund_webhook.py +++ b/cashfree_pg/models/refund_webhook.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> RefundWebhook: @classmethod def from_json_for_one_of(cls, json_str: str) -> RefundWebhook: """Create an instance of RefundWebhook from a JSON string""" - if "data", "event_time", "type" not in json_str: + if "data""event_time""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/saved_instrument_meta.py b/cashfree_pg/models/saved_instrument_meta.py index cb46d8b..b071d7b 100644 --- a/cashfree_pg/models/saved_instrument_meta.py +++ b/cashfree_pg/models/saved_instrument_meta.py @@ -54,7 +54,7 @@ def from_json(cls, json_str: str) -> SavedInstrumentMeta: @classmethod def from_json_for_one_of(cls, json_str: str) -> SavedInstrumentMeta: """Create an instance of SavedInstrumentMeta from a JSON string""" - if "card_network", "card_bank_name", "card_country", "card_type", "card_token_details" not in json_str: + if "card_network""card_bank_name""card_country""card_type""card_token_details" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/settlement_entity.py b/cashfree_pg/models/settlement_entity.py index b0eef8a..43579eb 100644 --- a/cashfree_pg/models/settlement_entity.py +++ b/cashfree_pg/models/settlement_entity.py @@ -63,7 +63,7 @@ def from_json(cls, json_str: str) -> SettlementEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> SettlementEntity: """Create an instance of SettlementEntity from a JSON string""" - if "cf_payment_id", "cf_settlement_id", "settlement_currency", "order_id", "entity", "order_amount", "payment_time", "service_charge", "service_tax", "settlement_amount", "settlement_id", "transfer_id", "transfer_time", "transfer_utr" not in json_str: + if "cf_payment_id""cf_settlement_id""settlement_currency""order_id""entity""order_amount""payment_time""service_charge""service_tax""settlement_amount""settlement_id""transfer_id""transfer_time""transfer_utr" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/settlement_fetch_recon_request.py b/cashfree_pg/models/settlement_fetch_recon_request.py index 5914435..a8eef7e 100644 --- a/cashfree_pg/models/settlement_fetch_recon_request.py +++ b/cashfree_pg/models/settlement_fetch_recon_request.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> SettlementFetchReconRequest: @classmethod def from_json_for_one_of(cls, json_str: str) -> SettlementFetchReconRequest: """Create an instance of SettlementFetchReconRequest from a JSON string""" - if "pagination", "filters" not in json_str: + if "pagination""filters" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/settlement_fetch_recon_request_filters.py b/cashfree_pg/models/settlement_fetch_recon_request_filters.py index 805e75c..626779d 100644 --- a/cashfree_pg/models/settlement_fetch_recon_request_filters.py +++ b/cashfree_pg/models/settlement_fetch_recon_request_filters.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> SettlementFetchReconRequestFilters: @classmethod def from_json_for_one_of(cls, json_str: str) -> SettlementFetchReconRequestFilters: """Create an instance of SettlementFetchReconRequestFilters from a JSON string""" - if "cf_settlement_ids", "settlement_utrs", "start_date", "end_date" not in json_str: + if "cf_settlement_ids""settlement_utrs""start_date""end_date" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/settlement_recon_entity.py b/cashfree_pg/models/settlement_recon_entity.py index 15f5b15..573e6b6 100644 --- a/cashfree_pg/models/settlement_recon_entity.py +++ b/cashfree_pg/models/settlement_recon_entity.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> SettlementReconEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> SettlementReconEntity: """Create an instance of SettlementReconEntity from a JSON string""" - if "cursor", "limit", "data" not in json_str: + if "cursor""limit""data" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/settlement_recon_entity_data_inner.py b/cashfree_pg/models/settlement_recon_entity_data_inner.py index 6414ad5..c95d07d 100644 --- a/cashfree_pg/models/settlement_recon_entity_data_inner.py +++ b/cashfree_pg/models/settlement_recon_entity_data_inner.py @@ -84,7 +84,7 @@ def from_json(cls, json_str: str) -> SettlementReconEntityDataInner: @classmethod def from_json_for_one_of(cls, json_str: str) -> SettlementReconEntityDataInner: """Create an instance of SettlementReconEntityDataInner from a JSON string""" - if "event_id", "event_type", "event_settlement_amount", "event_amount", "sale_type", "event_status", "entity", "event_time", "event_currency", "order_id", "order_amount", "customer_phone", "customer_email", "customer_name", "payment_amount", "payment_utr", "payment_time", "payment_service_charge", "payment_service_tax", "cf_payment_id", "cf_settlement_id", "settlement_date", "settlement_utr", "split_service_charge", "split_service_tax", "vendor_commission", "closed_in_favor_of", "dispute_resolved_on", "dispute_category", "dispute_note", "refund_processed_at", "refund_arn", "refund_note", "refund_id", "adjustment_remarks" not in json_str: + if "event_id""event_type""event_settlement_amount""event_amount""sale_type""event_status""entity""event_time""event_currency""order_id""order_amount""customer_phone""customer_email""customer_name""payment_amount""payment_utr""payment_time""payment_service_charge""payment_service_tax""cf_payment_id""cf_settlement_id""settlement_date""settlement_utr""split_service_charge""split_service_tax""vendor_commission""closed_in_favor_of""dispute_resolved_on""dispute_category""dispute_note""refund_processed_at""refund_arn""refund_note""refund_id""adjustment_remarks" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/settlement_webhook.py b/cashfree_pg/models/settlement_webhook.py index cd7e0ce..ab66b92 100644 --- a/cashfree_pg/models/settlement_webhook.py +++ b/cashfree_pg/models/settlement_webhook.py @@ -53,7 +53,7 @@ def from_json(cls, json_str: str) -> SettlementWebhook: @classmethod def from_json_for_one_of(cls, json_str: str) -> SettlementWebhook: """Create an instance of SettlementWebhook from a JSON string""" - if "data", "event_time", "type" not in json_str: + if "data""event_time""type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/terminal_details.py b/cashfree_pg/models/terminal_details.py index 6f58987..f623457 100644 --- a/cashfree_pg/models/terminal_details.py +++ b/cashfree_pg/models/terminal_details.py @@ -59,7 +59,7 @@ def from_json(cls, json_str: str) -> TerminalDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> TerminalDetails: """Create an instance of TerminalDetails from a JSON string""" - if "added_on", "cf_terminal_id", "last_updated_on", "terminal_address", "terminal_id", "terminal_name", "terminal_note", "terminal_phone_no", "terminal_status", "terminal_type" not in json_str: + if "added_on""cf_terminal_id""last_updated_on""terminal_address""terminal_id""terminal_name""terminal_note""terminal_phone_no""terminal_status""terminal_type" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/terminal_entity.py b/cashfree_pg/models/terminal_entity.py index 4f99c07..3b6d258 100644 --- a/cashfree_pg/models/terminal_entity.py +++ b/cashfree_pg/models/terminal_entity.py @@ -61,7 +61,7 @@ def from_json(cls, json_str: str) -> TerminalEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> TerminalEntity: """Create an instance of TerminalEntity from a JSON string""" - if "added_on", "cf_terminal_id", "last_updated_on", "terminal_address", "terminal_email", "terminal_type", "teminal_id", "terminal_name", "terminal_note", "terminal_phone_no", "terminal_status", "terminal_meta" not in json_str: + if "added_on""cf_terminal_id""last_updated_on""terminal_address""terminal_email""terminal_type""teminal_id""terminal_name""terminal_note""terminal_phone_no""terminal_status""terminal_meta" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/terminal_transaction_entity.py b/cashfree_pg/models/terminal_transaction_entity.py index 8af8bea..b1ff6cd 100644 --- a/cashfree_pg/models/terminal_transaction_entity.py +++ b/cashfree_pg/models/terminal_transaction_entity.py @@ -55,7 +55,7 @@ def from_json(cls, json_str: str) -> TerminalTransactionEntity: @classmethod def from_json_for_one_of(cls, json_str: str) -> TerminalTransactionEntity: """Create an instance of TerminalTransactionEntity from a JSON string""" - if "cf_payment_id", "payment_amount", "payment_method", "payment_url", "qrcode", "timeout" not in json_str: + if "cf_payment_id""payment_amount""payment_method""payment_url""qrcode""timeout" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/upi.py b/cashfree_pg/models/upi.py index 2cca84f..8e98e9c 100644 --- a/cashfree_pg/models/upi.py +++ b/cashfree_pg/models/upi.py @@ -63,7 +63,7 @@ def from_json(cls, json_str: str) -> Upi: @classmethod def from_json_for_one_of(cls, json_str: str) -> Upi: """Create an instance of Upi from a JSON string""" - if "channel", "upi_id", "upi_redirect_url", "upi_expiry_minutes", "authorize_only", "authorization" not in json_str: + if "channel""upi_id""upi_redirect_url""upi_expiry_minutes""authorize_only""authorization" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/upi_authorize_details.py b/cashfree_pg/models/upi_authorize_details.py index 0f22ffd..8ac4a9a 100644 --- a/cashfree_pg/models/upi_authorize_details.py +++ b/cashfree_pg/models/upi_authorize_details.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> UPIAuthorizeDetails: @classmethod def from_json_for_one_of(cls, json_str: str) -> UPIAuthorizeDetails: """Create an instance of UPIAuthorizeDetails from a JSON string""" - if "approve_by", "start_time", "end_time" not in json_str: + if "approve_by""start_time""end_time" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/cashfree_pg/models/vendor_split.py b/cashfree_pg/models/vendor_split.py index 659c3e8..c5069ad 100644 --- a/cashfree_pg/models/vendor_split.py +++ b/cashfree_pg/models/vendor_split.py @@ -52,7 +52,7 @@ def from_json(cls, json_str: str) -> VendorSplit: @classmethod def from_json_for_one_of(cls, json_str: str) -> VendorSplit: """Create an instance of VendorSplit from a JSON string""" - if "vendor_id", "amount", "percentage" not in json_str: + if "vendor_id""amount""percentage" not in json_str: return None return cls.from_dict(json.loads(json_str)) diff --git a/configuration.py b/configuration.py index 0096953..9cbd7c9 100644 --- a/configuration.py +++ b/configuration.py @@ -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.7".\ + "SDK Package Version: 3.2.8".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/pyproject.toml b/pyproject.toml index 4b1a5aa..60cd7ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cashfree_pg" -version = "3.2.8" +version = "3.2.9" description = "Cashfree Payment Gateway APIs" authors = ["API Support "] license = "Apache 2.0" diff --git a/setup.py b/setup.py index ea78a76..7398446 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "cashfree_pg" -VERSION = "3.2.8" +VERSION = "3.2.9" with open("README.md", "r", encoding="utf-8") as fh: readme = fh.read() PYTHON_REQUIRES = ">=3.7"