{"id":27151426,"url":"https://github.com/checkout/checkout-java-library","last_synced_at":"2025-04-08T14:40:32.793Z","repository":{"id":30447656,"uuid":"34001207","full_name":"checkout/checkout-java-library","owner":"checkout","description":"Checkout.com API Java Library","archived":false,"fork":false,"pushed_at":"2023-07-18T16:45:49.000Z","size":12861,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":23,"default_branch":"master","last_synced_at":"2023-07-31T20:49:25.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/checkout.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-15T15:11:20.000Z","updated_at":"2023-07-31T20:49:25.646Z","dependencies_parsed_at":"2022-07-24T16:47:10.907Z","dependency_job_id":null,"html_url":"https://github.com/checkout/checkout-java-library","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkout%2Fcheckout-java-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkout%2Fcheckout-java-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkout%2Fcheckout-java-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkout%2Fcheckout-java-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/checkout","download_url":"https://codeload.github.com/checkout/checkout-java-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247864110,"owners_count":21009034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-08T14:40:32.297Z","updated_at":"2025-04-08T14:40:32.780Z","avatar_url":"https://github.com/checkout.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Requirements\n\nJava 1.7 and later\n\n### How to use the library\n\nAdd the latest **checkout-java-v{version number}.jar** file to your class path. . The latest JAR file for Checkout library resides in the **releases\\latest\\** folder of the project.\n\n### Example\n\nImport the **APIClient.java** in your code as below:   \n```\nimport com.checkout.APIClient;\n```\n\nYou will be required to set the secret key when initialising a new **APIClient** instance. You will also have option for other configurations defined in **AppSettings.java** file. There are many constructors available for configuration:\n\n```html\nAPIClient(String secretKey,Environment env, boolean debugMode,int connectTimeout,int readTimeout)\nAPIClient(String secretKey,Environment env,boolean debugMode)\nAPIClient(String secretKey,Environment env)\nAPIClient(String secretKey,boolean debugMode) \nAPIClient(String secretKey)\n```\n\nIf **DebugMode** is set to true, the program will trace the request and response result to a log file called 'Log.log' at the root of the application.\n\nBy default both **connectTimeout** and **readTimeout** set to 60 seconds. You got option to change them as needed.\n\n### Logging\n\nFor logging **Apache Commons Logging** has been used. If you enable logging all the http request and responses will be logged in file called 'Log.log' at the root of the application.   \n\nlogger.info(\"id :\"+ chargeId);`\n\n### Unit Tests\n\nAll the unit test written with JUnit (v4) and resides in the test package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckout%2Fcheckout-java-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckout%2Fcheckout-java-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckout%2Fcheckout-java-library/lists"}