Skip to content

Commit

Permalink
Merge pull request #53 from cashfree/v4.0.3
Browse files Browse the repository at this point in the history
4.0.3
  • Loading branch information
suhas-cashfree authored Jan 29, 2024
2 parents b8ae90d + 5f60495 commit 9298932
Show file tree
Hide file tree
Showing 190 changed files with 1,029 additions and 662 deletions.
21 changes: 11 additions & 10 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.travis.yml
README.md
api/openapi.yaml
api_customers.go
api_eligibility.go
api_offers.go
api_orders.go
Expand Down Expand Up @@ -36,6 +37,7 @@ docs/CardlessEMIEntity.md
docs/CardlessEMIPaymentMethod.md
docs/CardlessEMIQueries.md
docs/CashbackDetails.md
docs/CreateCustomerRequest.md
docs/CreateLinkRequest.md
docs/CreateOfferRequest.md
docs/CreateOrderRequest.md
Expand All @@ -45,6 +47,8 @@ docs/CreateTerminalTransactionRequest.md
docs/CryptogramEntity.md
docs/CustomerDetails.md
docs/CustomerDetailsCardlessEMI.md
docs/CustomerEntity.md
docs/CustomersAPI.md
docs/DiscountDetails.md
docs/EMIOffer.md
docs/EMIPlansArray.md
Expand Down Expand Up @@ -73,7 +77,7 @@ docs/InstrumentWebhookData.md
docs/InstrumentWebhookDataEntity.md
docs/LinkCustomerDetailsEntity.md
docs/LinkEntity.md
docs/LinkMetaEntity.md
docs/LinkMetaResponseEntity.md
docs/LinkNotifyEntity.md
docs/NetBankingPaymentMethod.md
docs/Netbanking.md
Expand Down Expand Up @@ -131,7 +135,6 @@ docs/PaymentMethodUPIInPaymentsEntityUpi.md
docs/PaymentMethodsFilters.md
docs/PaymentMethodsQueries.md
docs/PaymentModeDetails.md
docs/PaymentURLObject.md
docs/PaymentWebhook.md
docs/PaymentWebhookCustomerEntity.md
docs/PaymentWebhookDataEntity.md
Expand All @@ -144,25 +147,23 @@ docs/ReconEntity.md
docs/ReconEntityDataInner.md
docs/RefundEntity.md
docs/RefundSpeed.md
docs/RefundURLObject.md
docs/RefundWebhook.md
docs/RefundWebhookDataEntity.md
docs/RefundsAPI.md
docs/SavedInstrumentMeta.md
docs/SettlementEntity.md
docs/SettlementFetchReconRequest.md
docs/SettlementFetchReconRequestFilters.md
docs/SettlementReconEntity.md
docs/SettlementReconEntityDataInner.md
docs/SettlementReconciliationAPI.md
docs/SettlementURLObject.md
docs/SettlementWebhook.md
docs/SettlementWebhookDataEntity.md
docs/SettlementsAPI.md
docs/SoftPOSAPI.md
docs/TerminalDetails.md
docs/TerminalEntity.md
docs/TerminalTransactionEntity.md
docs/TerminateOrderRequest.md
docs/TokenVaultAPI.md
docs/UPIAuthorizeDetails.md
docs/UPIPaymentMethod.md
Expand Down Expand Up @@ -192,6 +193,7 @@ model_cardless_emi_entity.go
model_cardless_emi_payment_method.go
model_cardless_emi_queries.go
model_cashback_details.go
model_create_customer_request.go
model_create_link_request.go
model_create_offer_request.go
model_create_order_request.go
Expand All @@ -201,6 +203,7 @@ model_create_terminal_transaction_request.go
model_cryptogram_entity.go
model_customer_details.go
model_customer_details_cardless_emi.go
model_customer_entity.go
model_discount_details.go
model_eligibility_cardless_emi_entity.go
model_eligibility_fetch_cardless_emi_request.go
Expand Down Expand Up @@ -228,7 +231,7 @@ model_instrument_webhook_data.go
model_instrument_webhook_data_entity.go
model_link_customer_details_entity.go
model_link_entity.go
model_link_meta_entity.go
model_link_meta_response_entity.go
model_link_notify_entity.go
model_net_banking_payment_method.go
model_netbanking.go
Expand Down Expand Up @@ -282,7 +285,6 @@ model_payment_method_upiin_payments_entity_upi.go
model_payment_methods_filters.go
model_payment_methods_queries.go
model_payment_mode_details.go
model_payment_url_object.go
model_payment_webhook.go
model_payment_webhook_customer_entity.go
model_payment_webhook_data_entity.go
Expand All @@ -294,27 +296,26 @@ model_recon_entity.go
model_recon_entity_data_inner.go
model_refund_entity.go
model_refund_speed.go
model_refund_url_object.go
model_refund_webhook.go
model_refund_webhook_data_entity.go
model_saved_instrument_meta.go
model_settlement_entity.go
model_settlement_fetch_recon_request.go
model_settlement_fetch_recon_request_filters.go
model_settlement_recon_entity.go
model_settlement_recon_entity_data_inner.go
model_settlement_url_object.go
model_settlement_webhook.go
model_settlement_webhook_data_entity.go
model_terminal_details.go
model_terminal_entity.go
model_terminal_transaction_entity.go
model_terminate_order_request.go
model_upi.go
model_upi_authorize_details.go
model_upi_payment_method.go
model_vendor_split.go
model_wallet_offer.go
response.go
test/api_customers_test.go
test/api_eligibility_test.go
test/api_offers_test.go
test/api_orders_test.go
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Cashfree PG Go SDK
![GitHub](https://img.shields.io/github/license/cashfree/cashfree-pg) ![Discord](https://img.shields.io/discord/931125665669972018?label=discord) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/cashfree/cashfree-pg/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/cashfree/cashfree-pg?label=latest) ![GitHub forks](https://img.shields.io/github/forks/cashfree/cashfree-pg) [![Coverage Status](https://coveralls.io/repos/github/cashfree/cashfree-pg/badge.svg?branch=main)](https://coveralls.io/github/cashfree/cashfree-pg?branch=main) [![GoDoc](https://godoc.org/github.com/cashfree/cashfree-pg/v3?status.svg)](https://godoc.org/github.com/cashfree/cashfree-pg/v3)
![GitHub](https://img.shields.io/github/license/cashfree/cashfree-pg) ![Discord](https://img.shields.io/discord/931125665669972018?label=discord) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/cashfree/cashfree-pg/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/cashfree/cashfree-pg?label=latest) ![GitHub forks](https://img.shields.io/github/forks/cashfree/cashfree-pg) [![Coverage Status](https://coveralls.io/repos/github/cashfree/cashfree-pg/badge.svg?branch=main)](https://coveralls.io/github/cashfree/cashfree-pg?branch=main) [![GoDoc](https://godoc.org/github.com/cashfree/cashfree-pg/v4?status.svg)](https://godoc.org/github.com/cashfree/cashfree-pg/v4)

The Cashfree PG Go SDK offers a convenient solution to access [Cashfree PG APIs](https://docs.cashfree.com/reference/pg-new-apis-endpoint) from a server-side Go applications.

Expand All @@ -17,13 +17,13 @@ Try out our interactive guides at [Cashfree Dev Studio](https://www.cashfree.com

### Installation
```bash
go get github.com/cashfree/cashfree-pg/v3
go get github.com/cashfree/cashfree-pg/v4
```
### Configuration

```go
import (
cashfree "github.com/cashfree/cashfree-pg/v3"
cashfree "github.com/cashfree/cashfree-pg/v4"
)

clientId := "<x-client-id>"
Expand Down
2 changes: 1 addition & 1 deletion api_customers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions api_eligibility.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions api_offers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9298932

Please sign in to comment.