Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* beta 1 * using kotlin * kotlin * mockkon * ignore model test * fix java version * java 11 * kotlin * kotlin * java 8 * java 11 * using android * changes * config java 11 * fix models * chore: Update build process to use Makefile and Gradle 7.3.1 * 6.0.0 beta version * Remove OasAnyTypeNotMapped class This commit removes the OasAnyTypeNotMapped class from the codebase. The class was no longer needed and has been deleted. * Update artifact and user agent versions - Updated the artifact version in config.json and README.md from "6.0.0-beta" to "6.0.0-SNAPSHOT". - Updated the user agent version in ApiInvoker.java from "6.0.0-beta" to "6.0.0-SNAPSHOT". * Fix null return in ApiInvoker and JsonUtil - In ApiInvoker, changed the return value from an empty string to null when the parameter is null. - In JsonUtil, removed the serialization of null values. Created a new test file CustomerApiTest.java for testing the creation of a customer. * .gitignore and add Token.java gradle.properties, and AndroidManifest.xml - Updated .gitignore to ignore local.properties instead of gradle.properties - Added Token.java file with code for creating a token using Conekta API - Created gradle.properties file with AndroidX and Jetifier configuration - Modified AndroidManifest.xml to include the org.apache.http.legacy library * chore: Update dependencies and add new fields - Updated OpenAPI generator version to 7.9.0 - Added `org.bouncycastle:bcprov-jdk15on:1.70` as a new dependency in the `build.gradle` file - Added `customerIpAddress` field to the following classes: - ChargeOrderResponsePaymentMethod - ChargeRequestPaymentMethod - ChargeResponsePaymentMethod - PaymentMethodBankTransfer - PaymentMethodCard - PaymentMethodCardRequest - PaymentMethodCash - PaymentMethodGeneralRequest * chore: Update code and dependencies - Updated version to 6.0.1-SNAPSHOT in build.gradle - Updated artifactVersion to 6.0.1-SNAPSHOT in config.json - Added new files ChargesOrderResponse.java and ChargesOrderResponseAllOfData.java - Added new method ordersCreateCharges() in ChargesApi.java - Updated httpUserAgent to "Conekta/v2 Android/6.0.1-SNAPSHOT" in config.json * Refactor metadata initialization in Product, ProductDataResponse, and ProductOrderResponse classes - Initialize the metadata field with an empty HashMap instead of an empty Map - This change ensures that the metadata field is always initialized correctly * Update publishing credentials and add deploy task to Makefile - Update the publishing credentials in build.gradle to use environment variables if available, otherwise fallback to project properties. - Add a new deploy task to the Makefile that runs `./gradlew publish`. - These changes ensure that the publishing process is more secure and streamlined. * Add dependency on "bundleReleaseAar" task for publishing to OSSRH repository This commit adds a dependency on the "bundleReleaseAar" task for the "publishMavenJavaPublicationToOSSRHRepository" task in the build.gradle file. This ensures that the AAR bundle is generated before publishing to the OSSRH repository. * Update artifact upload action to version 4 The code changes update the artifact upload action from version 2 to version 4 in the build workflow. This ensures that the correct version of the action is used for archiving artifacts. * Refactor Makefile for better readability and consistency - Removed unnecessary blank lines - Fixed indentation issues - Replaced tabs with spaces for consistent formatting * feat: Add new API endpoint for canceling a payout order This commit adds a new API endpoint `cancelPayoutOrderById` to the `PayoutOrdersApi` class. This endpoint allows users to cancel a payout order by providing the ID of the resource. The method is a PUT request and is located at `/payout_orders/{id}/cancel`. The commit also includes updates to the documentation, specifically in the `PayoutOrdersApi.md` file, where the new endpoint is described along with its parameters and return type. Additionally, there are some changes made to other files such as `Makefile`, `README.md`, `EncryptedTypeAdapter.java`, `ApiKeyCreateResponse.java`, `ApiKeyRequest.java`, `ApiKeyResponse.java`, `ApiKeyResponseOnDelete.java`, `ApiKeyUpdateRequest.java`, and `BalanceCommonField.java`. These changes include code refactoring, imports optimization, and minor updates to class descriptions. These changes aim to improve code readability and maintainability. * Refactor TokenCard setters to encrypt sensitive data - Encrypt the expiration month, year, and cardholder name using the `EncryptedTypeAdapter` class in the setters for `expMonth`, `expYear`, and `name` respectively. This ensures that sensitive information is stored securely. * Change language parameter in createToken method to "en" instead of "es" - Update TokensApiTest.java - Change language parameter in createToken method from "es" to "en"
- Loading branch information