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 Jul 17, 2024
1 parent 7ca1444 commit 6710bb8
Show file tree
Hide file tree
Showing 42 changed files with 793 additions and 350 deletions.
37 changes: 22 additions & 15 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cashfree_pg/models/bank_details.py
cashfree_pg/models/banktransfer.py
cashfree_pg/models/banktransfer_payment_method.py
cashfree_pg/models/card.py
cashfree_pg/models/card.py
cashfree_pg/models/card_emi.py
cashfree_pg/models/card_emi_payment_method.py
cashfree_pg/models/card_offer.py
Expand All @@ -61,10 +62,9 @@ cashfree_pg/models/create_order_request.py
cashfree_pg/models/create_order_settlement_request_body.py
cashfree_pg/models/create_order_settlement_request_body_meta_data.py
cashfree_pg/models/create_plan_request.py
cashfree_pg/models/create_subscription_payment_auth_response.py
cashfree_pg/models/create_subscription_payment_auth_response_failure_details.py
cashfree_pg/models/create_subscription_payment_charge_response.py
cashfree_pg/models/create_subscription_payment_request.py
cashfree_pg/models/create_subscription_payment_request_payment_method.py
cashfree_pg/models/create_subscription_payment_response.py
cashfree_pg/models/create_subscription_refund_request.py
cashfree_pg/models/create_subscription_request.py
cashfree_pg/models/create_subscription_request_authorization_details.py
Expand Down Expand Up @@ -95,6 +95,7 @@ cashfree_pg/models/eligibility_payment_methods_entity.py
cashfree_pg/models/eligibility_payment_methods_entity_entity_details.py
cashfree_pg/models/emi_offer.py
cashfree_pg/models/emi_plans_array.py
cashfree_pg/models/enach.py
cashfree_pg/models/entity_simulation_request.py
cashfree_pg/models/entity_simulation_response.py
cashfree_pg/models/error_details_in_payments_entity.py
Expand Down Expand Up @@ -187,6 +188,7 @@ cashfree_pg/models/payment_webhook_error_entity.py
cashfree_pg/models/payment_webhook_gateway_details_entity.py
cashfree_pg/models/payment_webhook_order_entity.py
cashfree_pg/models/plan_entity.py
cashfree_pg/models/pnach.py
cashfree_pg/models/rate_limit_error.py
cashfree_pg/models/recon_entity.py
cashfree_pg/models/recon_entity_data_inner.py
Expand All @@ -211,7 +213,6 @@ cashfree_pg/models/static_split_request.py
cashfree_pg/models/static_split_request_scheme_inner.py
cashfree_pg/models/static_split_response.py
cashfree_pg/models/static_split_response_scheme_inner.py
cashfree_pg/models/subs_create_payment200_response.py
cashfree_pg/models/subscription_bank_details.py
cashfree_pg/models/subscription_customer_details.py
cashfree_pg/models/subscription_eligibility_request.py
Expand All @@ -221,6 +222,7 @@ cashfree_pg/models/subscription_eligibility_response.py
cashfree_pg/models/subscription_entity.py
cashfree_pg/models/subscription_entity_subscription_meta.py
cashfree_pg/models/subscription_payment_entity.py
cashfree_pg/models/subscription_payment_entity_failure_details.py
cashfree_pg/models/subscription_payment_refund_entity.py
cashfree_pg/models/subscription_payment_split_item.py
cashfree_pg/models/terminal_details.py
Expand All @@ -236,7 +238,7 @@ cashfree_pg/models/update_terminal_request_terminal_meta.py
cashfree_pg/models/update_terminal_status_request.py
cashfree_pg/models/update_vendor_request.py
cashfree_pg/models/update_vendor_response.py
cashfree_pg/models/update_vendor_response_related_docs_inner.py
cashfree_pg/models/upi.py
cashfree_pg/models/upi.py
cashfree_pg/models/upi_authorize_details.py
cashfree_pg/models/upi_details.py
Expand All @@ -250,6 +252,7 @@ cashfree_pg/models/vendor_balance_transfer_charges.py
cashfree_pg/models/vendor_document_download_response.py
cashfree_pg/models/vendor_documents_response.py
cashfree_pg/models/vendor_entity.py
cashfree_pg/models/vendor_entity_related_docs_inner.py
cashfree_pg/models/vendor_split.py
cashfree_pg/models/wallet_offer.py
cashfree_pg/py.typed
Expand All @@ -271,6 +274,7 @@ docs/BalanceDetails.md
docs/BankDetails.md
docs/Banktransfer.md
docs/BanktransferPaymentMethod.md
docs/CARD.md
docs/Card.md
docs/CardEMI.md
docs/CardEMIPaymentMethod.md
Expand All @@ -289,10 +293,9 @@ docs/CreateOrderRequest.md
docs/CreateOrderSettlementRequestBody.md
docs/CreateOrderSettlementRequestBodyMetaData.md
docs/CreatePlanRequest.md
docs/CreateSubscriptionPaymentAuthResponse.md
docs/CreateSubscriptionPaymentAuthResponseFailureDetails.md
docs/CreateSubscriptionPaymentChargeResponse.md
docs/CreateSubscriptionPaymentRequest.md
docs/CreateSubscriptionPaymentRequestPaymentMethod.md
docs/CreateSubscriptionPaymentResponse.md
docs/CreateSubscriptionRefundRequest.md
docs/CreateSubscriptionRequest.md
docs/CreateSubscriptionRequestAuthorizationDetails.md
Expand All @@ -312,6 +315,7 @@ docs/CustomersApi.md
docs/DiscountDetails.md
docs/EMIOffer.md
docs/EMIPlansArray.md
docs/ENACH.md
docs/ESOrderReconRequest.md
docs/ESOrderReconRequestFilters.md
docs/ESOrderReconRequestPagination.md
Expand Down Expand Up @@ -385,6 +389,7 @@ docs/OrderMeta.md
docs/OrderPayData.md
docs/OrdersApi.md
docs/PGReconciliationApi.md
docs/PNACH.md
docs/PayOrderEntity.md
docs/PayOrderRequest.md
docs/PayOrderRequestPaymentMethod.md
Expand Down Expand Up @@ -452,7 +457,6 @@ docs/StaticSplitRequest.md
docs/StaticSplitRequestSchemeInner.md
docs/StaticSplitResponse.md
docs/StaticSplitResponseSchemeInner.md
docs/SubsCreatePayment200Response.md
docs/SubscriptionApi.md
docs/SubscriptionBankDetails.md
docs/SubscriptionCustomerDetails.md
Expand All @@ -463,6 +467,7 @@ docs/SubscriptionEligibilityResponse.md
docs/SubscriptionEntity.md
docs/SubscriptionEntitySubscriptionMeta.md
docs/SubscriptionPaymentEntity.md
docs/SubscriptionPaymentEntityFailureDetails.md
docs/SubscriptionPaymentRefundEntity.md
docs/SubscriptionPaymentSplitItem.md
docs/TerminalDetails.md
Expand All @@ -473,6 +478,7 @@ docs/TerminateOrderRequest.md
docs/TokenVaultApi.md
docs/TransferDetails.md
docs/TransferDetailsTagsInner.md
docs/UPI.md
docs/UPIAuthorizeDetails.md
docs/UPIPaymentMethod.md
docs/UpdateTerminalEntity.md
Expand All @@ -481,7 +487,6 @@ docs/UpdateTerminalRequestTerminalMeta.md
docs/UpdateTerminalStatusRequest.md
docs/UpdateVendorRequest.md
docs/UpdateVendorResponse.md
docs/UpdateVendorResponseRelatedDocsInner.md
docs/Upi.md
docs/UpiDetails.md
docs/UploadPnachImageResponse.md
Expand All @@ -493,6 +498,7 @@ docs/VendorBalanceTransferCharges.md
docs/VendorDocumentDownloadResponse.md
docs/VendorDocumentsResponse.md
docs/VendorEntity.md
docs/VendorEntityRelatedDocsInner.md
docs/VendorSplit.md
docs/WalletOffer.md
git_push.sh
Expand Down Expand Up @@ -537,10 +543,9 @@ test/test_create_order_request.py
test/test_create_order_settlement_request_body.py
test/test_create_order_settlement_request_body_meta_data.py
test/test_create_plan_request.py
test/test_create_subscription_payment_auth_response.py
test/test_create_subscription_payment_auth_response_failure_details.py
test/test_create_subscription_payment_charge_response.py
test/test_create_subscription_payment_request.py
test/test_create_subscription_payment_request_payment_method.py
test/test_create_subscription_payment_response.py
test/test_create_subscription_refund_request.py
test/test_create_subscription_request.py
test/test_create_subscription_request_authorization_details.py
Expand Down Expand Up @@ -574,6 +579,7 @@ test/test_eligibility_payment_methods_entity.py
test/test_eligibility_payment_methods_entity_entity_details.py
test/test_emi_offer.py
test/test_emi_plans_array.py
test/test_enach.py
test/test_entity_simulation_request.py
test/test_entity_simulation_response.py
test/test_error_details_in_payments_entity.py
Expand Down Expand Up @@ -671,6 +677,7 @@ test/test_payment_webhook_order_entity.py
test/test_payments_api.py
test/test_pg_reconciliation_api.py
test/test_plan_entity.py
test/test_pnach.py
test/test_rate_limit_error.py
test/test_recon_entity.py
test/test_recon_entity_data_inner.py
Expand Down Expand Up @@ -700,7 +707,6 @@ test/test_static_split_request.py
test/test_static_split_request_scheme_inner.py
test/test_static_split_response.py
test/test_static_split_response_scheme_inner.py
test/test_subs_create_payment200_response.py
test/test_subscription_api.py
test/test_subscription_bank_details.py
test/test_subscription_customer_details.py
Expand All @@ -711,6 +717,7 @@ test/test_subscription_eligibility_response.py
test/test_subscription_entity.py
test/test_subscription_entity_subscription_meta.py
test/test_subscription_payment_entity.py
test/test_subscription_payment_entity_failure_details.py
test/test_subscription_payment_refund_entity.py
test/test_subscription_payment_split_item.py
test/test_terminal_details.py
Expand All @@ -727,7 +734,6 @@ test/test_update_terminal_request_terminal_meta.py
test/test_update_terminal_status_request.py
test/test_update_vendor_request.py
test/test_update_vendor_response.py
test/test_update_vendor_response_related_docs_inner.py
test/test_upi.py
test/test_upi_authorize_details.py
test/test_upi_details.py
Expand All @@ -741,6 +747,7 @@ test/test_vendor_balance_transfer_charges.py
test/test_vendor_document_download_response.py
test/test_vendor_documents_response.py
test/test_vendor_entity.py
test/test_vendor_entity_related_docs_inner.py
test/test_vendor_split.py
test/test_wallet_offer.py
tox.ini
15 changes: 9 additions & 6 deletions cashfree_pg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "4.2.0"
__version__ = "4.2.2"

# import apis into sdk package
# import ApiClient
Expand Down Expand Up @@ -47,6 +47,7 @@
from cashfree_pg.models.bank_details import BankDetails
from cashfree_pg.models.banktransfer import Banktransfer
from cashfree_pg.models.banktransfer_payment_method import BanktransferPaymentMethod
from cashfree_pg.models.card import CARD
from cashfree_pg.models.card import Card
from cashfree_pg.models.card_emi import CardEMI
from cashfree_pg.models.card_emi_payment_method import CardEMIPaymentMethod
Expand All @@ -65,10 +66,9 @@
from cashfree_pg.models.create_order_settlement_request_body import CreateOrderSettlementRequestBody
from cashfree_pg.models.create_order_settlement_request_body_meta_data import CreateOrderSettlementRequestBodyMetaData
from cashfree_pg.models.create_plan_request import CreatePlanRequest
from cashfree_pg.models.create_subscription_payment_auth_response import CreateSubscriptionPaymentAuthResponse
from cashfree_pg.models.create_subscription_payment_auth_response_failure_details import CreateSubscriptionPaymentAuthResponseFailureDetails
from cashfree_pg.models.create_subscription_payment_charge_response import CreateSubscriptionPaymentChargeResponse
from cashfree_pg.models.create_subscription_payment_request import CreateSubscriptionPaymentRequest
from cashfree_pg.models.create_subscription_payment_request_payment_method import CreateSubscriptionPaymentRequestPaymentMethod
from cashfree_pg.models.create_subscription_payment_response import CreateSubscriptionPaymentResponse
from cashfree_pg.models.create_subscription_refund_request import CreateSubscriptionRefundRequest
from cashfree_pg.models.create_subscription_request import CreateSubscriptionRequest
from cashfree_pg.models.create_subscription_request_authorization_details import CreateSubscriptionRequestAuthorizationDetails
Expand All @@ -87,6 +87,7 @@
from cashfree_pg.models.discount_details import DiscountDetails
from cashfree_pg.models.emi_offer import EMIOffer
from cashfree_pg.models.emi_plans_array import EMIPlansArray
from cashfree_pg.models.enach import ENACH
from cashfree_pg.models.es_order_recon_request import ESOrderReconRequest
from cashfree_pg.models.es_order_recon_request_filters import ESOrderReconRequestFilters
from cashfree_pg.models.es_order_recon_request_pagination import ESOrderReconRequestPagination
Expand Down Expand Up @@ -155,6 +156,7 @@
from cashfree_pg.models.order_entity import OrderEntity
from cashfree_pg.models.order_meta import OrderMeta
from cashfree_pg.models.order_pay_data import OrderPayData
from cashfree_pg.models.pnach import PNACH
from cashfree_pg.models.pay_order_entity import PayOrderEntity
from cashfree_pg.models.pay_order_request import PayOrderRequest
from cashfree_pg.models.pay_order_request_payment_method import PayOrderRequestPaymentMethod
Expand Down Expand Up @@ -215,7 +217,6 @@
from cashfree_pg.models.static_split_request_scheme_inner import StaticSplitRequestSchemeInner
from cashfree_pg.models.static_split_response import StaticSplitResponse
from cashfree_pg.models.static_split_response_scheme_inner import StaticSplitResponseSchemeInner
from cashfree_pg.models.subs_create_payment200_response import SubsCreatePayment200Response
from cashfree_pg.models.subscription_bank_details import SubscriptionBankDetails
from cashfree_pg.models.subscription_customer_details import SubscriptionCustomerDetails
from cashfree_pg.models.subscription_eligibility_request import SubscriptionEligibilityRequest
Expand All @@ -225,6 +226,7 @@
from cashfree_pg.models.subscription_entity import SubscriptionEntity
from cashfree_pg.models.subscription_entity_subscription_meta import SubscriptionEntitySubscriptionMeta
from cashfree_pg.models.subscription_payment_entity import SubscriptionPaymentEntity
from cashfree_pg.models.subscription_payment_entity_failure_details import SubscriptionPaymentEntityFailureDetails
from cashfree_pg.models.subscription_payment_refund_entity import SubscriptionPaymentRefundEntity
from cashfree_pg.models.subscription_payment_split_item import SubscriptionPaymentSplitItem
from cashfree_pg.models.terminal_details import TerminalDetails
Expand All @@ -234,6 +236,7 @@
from cashfree_pg.models.terminate_order_request import TerminateOrderRequest
from cashfree_pg.models.transfer_details import TransferDetails
from cashfree_pg.models.transfer_details_tags_inner import TransferDetailsTagsInner
from cashfree_pg.models.upi import UPI
from cashfree_pg.models.upi_authorize_details import UPIAuthorizeDetails
from cashfree_pg.models.upi_payment_method import UPIPaymentMethod
from cashfree_pg.models.update_terminal_entity import UpdateTerminalEntity
Expand All @@ -242,7 +245,6 @@
from cashfree_pg.models.update_terminal_status_request import UpdateTerminalStatusRequest
from cashfree_pg.models.update_vendor_request import UpdateVendorRequest
from cashfree_pg.models.update_vendor_response import UpdateVendorResponse
from cashfree_pg.models.update_vendor_response_related_docs_inner import UpdateVendorResponseRelatedDocsInner
from cashfree_pg.models.upi import Upi
from cashfree_pg.models.upi_details import UpiDetails
from cashfree_pg.models.upload_pnach_image_response import UploadPnachImageResponse
Expand All @@ -254,5 +256,6 @@
from cashfree_pg.models.vendor_document_download_response import VendorDocumentDownloadResponse
from cashfree_pg.models.vendor_documents_response import VendorDocumentsResponse
from cashfree_pg.models.vendor_entity import VendorEntity
from cashfree_pg.models.vendor_entity_related_docs_inner import VendorEntityRelatedDocsInner
from cashfree_pg.models.vendor_split import VendorSplit
from cashfree_pg.models.wallet_offer import WalletOffer
Loading

0 comments on commit 6710bb8

Please sign in to comment.