diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3d26cb0c..5c9305fa 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,24 +1,24 @@ lockVersion: 2.0.0 id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119 management: - docChecksum: 74e7f9943eb7fc497c33f4412f22f900 + docChecksum: ec8ad952a65f3a90d6ee1a433a0ce2d1 docVersion: 1.0.0 - speakeasyVersion: 1.801.0 - generationVersion: 2.946.0 - releaseVersion: 2.19.24 - configChecksum: a9c74739cdf121bb18e972df3b76892b + speakeasyVersion: 1.804.0 + generationVersion: 2.952.5 + releaseVersion: 2.19.25 + configChecksum: 11b144e5ec6b035ff3315102cf5b8149 repoURL: https://github.com/gr4vy/gr4vy-java.git installationURL: https://github.com/gr4vy/gr4vy-java published: true persistentEdits: - generation_id: c884f1c2-886a-4d26-b25c-787122e101ee - pristine_commit_hash: 662baeae5241da87b213b4180a48a55479e3872b - pristine_tree_hash: 473905c354fbfdab568c84e1e091925ae669101d + generation_id: 902a3d7b-cb06-4667-896a-765951cbb220 + pristine_commit_hash: 342040769529db36ae7205091ead8992805b54e0 + pristine_tree_hash: 6bf2465b1d4d8fee7e37160c12f95a3dc144c324 features: java: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.3 - core: 3.57.2 + core: 3.57.3 deprecations: 2.81.2 flattening: 2.81.1 globalSecurity: 2.83.4 @@ -30,7 +30,7 @@ features: ignores: 2.81.1 nameOverrides: 2.81.5 nullables: 0.1.1 - openEnums: 0.2.0 + openEnums: 0.2.1 pagination: 1.0.4 retries: 0.1.4 sdkHooks: 1.2.0 @@ -47,8 +47,8 @@ trackedFiles: pristine_git_object: 2dd1492d7b4e43639a052483c2652afa851289eb build.gradle: id: f07866736216 - last_write_checksum: sha1:b03603a0fa3a89f3ed97bf52de9b14b300b27ed6 - pristine_git_object: 7352f66499ad3189cea422bd903ccafb2ce79993 + last_write_checksum: sha1:5ff2ecb8b0de9458487f776b5d5170d185adbe91 + pristine_git_object: 3528a654b15fddbddbd3fa2534342156fcdebebc docs/models/components/ACHBankPaymentMethodCreate.md: id: e852a32f84bc last_write_checksum: sha1:53177bd971f2e5fde2b1faae3cfbc6e645b799c9 @@ -283,8 +283,8 @@ trackedFiles: pristine_git_object: 240f1604a2b73e3acddecb1b92d2ed70baf60b9e docs/models/components/CardScheme.md: id: 41cc326587c2 - last_write_checksum: sha1:08b361277d81106ee52c2fbe83365cff92315d7d - pristine_git_object: 08748f167ed8d736b3aa7b4e9fa18c7d7c837008 + last_write_checksum: sha1:7607d129bb21364a0287b6fde659a6850b6abba8 + pristine_git_object: 3903cfe895456bb2dd44d8b4f90cb6ad6ea0afec docs/models/components/CardSchemeDefinition.md: id: 97a732b7ded2 last_write_checksum: sha1:02e7f66db89b664a85fe3d22a331827029240e7a @@ -775,8 +775,8 @@ trackedFiles: pristine_git_object: ada3d378d3d81957b96b19e19e510b290090ec1f docs/models/components/Method.md: id: adedaeaabf7c - last_write_checksum: sha1:0fab8c49fb547c4d3a9257e1fef41c3e93e6820f - pristine_git_object: 6f90cbfa1d3b91069d5015e5c41b46eb187293bb + last_write_checksum: sha1:b5bc9d2c467344995dc9e963d8b599c76cdbc2ce + pristine_git_object: 785e977c2163ae6c2ccd868e03c799f65f492a87 docs/models/components/MockCardMerchantAdviceCodeOptions.md: id: e927a10a34ae last_write_checksum: sha1:0d601be78333ce1c701a642b9a69e88507c6c5d0 @@ -1195,8 +1195,8 @@ trackedFiles: pristine_git_object: 98be6328cbcf338eaa22369da773dbdbd08cc82a docs/models/components/RedirectPaymentMethodCreateMethod.md: id: d7f0c77bb644 - last_write_checksum: sha1:36c87b60d0ad9b8ea2e94092a18dfea58ce95aee - pristine_git_object: d89562a69357b98371e5f90d4da7222be426c458 + last_write_checksum: sha1:c26050234e43bc4095c34e1a9d9096b746f2723f + pristine_git_object: de6232c5442c7d9b683afe16a5b5c157b9843db2 docs/models/components/Refund.md: id: a2190313768a last_write_checksum: sha1:21f9368f68fb81aec4af2cdf0fa40370a7be635a @@ -1643,8 +1643,8 @@ trackedFiles: pristine_git_object: 484ec88e1824a5d18c7eb0e2261a2e4bd3f3087d docs/models/components/UserStatus.md: id: 170fc571c0b1 - last_write_checksum: sha1:7005312816e80901684bc4959ecc822d0220cadc - pristine_git_object: 9d693861a5ca636f6bcb5ba20922abc828a80bdc + last_write_checksum: sha1:27ca67b9d949cc44d2f15e6e98e98b60c264594a + pristine_git_object: 49ebd3da4631f314a7d4c503c5264d9c109d130c docs/models/components/ValidationError.md: id: 45117dd85090 last_write_checksum: sha1:ac18b7159426c3bb2b771e7f6c92620a970a3211 @@ -2891,8 +2891,8 @@ trackedFiles: pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:fb66e79fc70726f1684e400dde178cd3949fac1d - pristine_git_object: 5fc4739c4a78ea1b24c0d6b85d16da8bb9150bc0 + last_write_checksum: sha1:3de6b7e528b89b38c9a957d189a26ec4b726b746 + pristine_git_object: 6a87c6bad91b57ff1addc3a99d115acb5086f113 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -3235,8 +3235,8 @@ trackedFiles: pristine_git_object: b50475cc7f6041d63c4569256e4ff1850b20d30b src/main/java/com/gr4vy/sdk/SDKConfiguration.java: id: 73a7edeaca45 - last_write_checksum: sha1:b1d63f7285dbf70b2f170e41fa088fcfeed0d882 - pristine_git_object: d44ba0c44a13549b13a28f65ff7c9ab2acb61141 + last_write_checksum: sha1:e342ee5bc91d444de04708678febb67ccea4c34c + pristine_git_object: b639d5c0f552b63a4e02f8550cdabb55e099e613 src/main/java/com/gr4vy/sdk/SecuritySource.java: id: 1b6add6b9b50 last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd @@ -3503,8 +3503,8 @@ trackedFiles: pristine_git_object: 504d71e5e3fc4a1c93d98041345a01933cdca0d8 src/main/java/com/gr4vy/sdk/models/components/CardScheme.java: id: 2131295a05b7 - last_write_checksum: sha1:f860f8bddbce7e9756b11a9d19cb3f3bbea89c4b - pristine_git_object: 143738ce36780bca4a376e4c32e74ad0eb78dacc + last_write_checksum: sha1:2e0adbba5787ee8fb370d155c00b1bf65e2c4847 + pristine_git_object: 45319f374613a4af0bad446b0f3d569e6f5d0254 src/main/java/com/gr4vy/sdk/models/components/CardSchemeDefinition.java: id: a685790e2912 last_write_checksum: sha1:89baeb97a0fce54f0c88fc418ff4a5967b433499 @@ -3995,8 +3995,8 @@ trackedFiles: pristine_git_object: 9cbb1b174e9a001f1a288f7fc6e020c10e85141c src/main/java/com/gr4vy/sdk/models/components/Method.java: id: bac0c78cdc74 - last_write_checksum: sha1:a2bc51c0f3425baaafa14de46d5760aea69034b9 - pristine_git_object: d571f98f686ef47c5ad02be2f75cf818eda5a77e + last_write_checksum: sha1:f44d44715c42fc71eb19cc7834c272dfafa9ab0b + pristine_git_object: d90921a163db555f93c25934093a5f7885d9bd54 src/main/java/com/gr4vy/sdk/models/components/MockCardMerchantAdviceCodeOptions.java: id: 98c8ae3757dc last_write_checksum: sha1:6a077d4085feed412a73ec009f00361376631bde @@ -4415,8 +4415,8 @@ trackedFiles: pristine_git_object: 2408d5886f65783ef40c40eba3b988689d681dcb src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java: id: 3789188383b7 - last_write_checksum: sha1:7e36680b2cfc5cf88d7641b11c9027d0e267ee8f - pristine_git_object: be3761d84b4eb1d6d042d5ef14c32c88c92c0fc4 + last_write_checksum: sha1:6835e273da1fa794cf40d123be03177ba4e80418 + pristine_git_object: e738f1ef27cd3baa6794a36845e7ef946aef46ff src/main/java/com/gr4vy/sdk/models/components/Refund.java: id: 4b22e399807b last_write_checksum: sha1:53b9d2207917491dcd78d3a2bed75d1f8a433dfa @@ -4871,8 +4871,8 @@ trackedFiles: pristine_git_object: f68a19af2844c250c1d605bbeb3363cd55d67781 src/main/java/com/gr4vy/sdk/models/components/UserStatus.java: id: cbf208008bb0 - last_write_checksum: sha1:b32255190c42669a6580d4a83c028c665c873ade - pristine_git_object: ac13a934fdae6b9bcd95ecdd7f0db31879b2d976 + last_write_checksum: sha1:72d93f30c8e5fb1fbc377c7e31825db25945420f + pristine_git_object: 074cffe63165dd075b0208dee1c4bc70bde6afdb src/main/java/com/gr4vy/sdk/models/components/ValidationError.java: id: cd030703744d last_write_checksum: sha1:5143ae79cf43f7e51cdb08fc82514691fb3de7a2 @@ -12499,6 +12499,7 @@ examples: application/json: {"type": "error", "code": "gateway_timeout", "status": 504, "message": "Request could not be processed"} examplesVersion: 1.0.2 generatedTests: {} +releaseNotes: "## Java SDK Changes:\n* `gr4vy.buyers.paymentMethods.list()`: `response.items[]` **Changed**\n* `gr4vy.paymentMethods.list()`: `response.items[]` **Changed**\n* `gr4vy.paymentMethods.create()`: \n * `requestBody.union(RedirectPaymentMethodCreate).method` **Changed**\n * `response` **Changed**\n* `gr4vy.paymentMethods.get()`: `response` **Changed**\n* `gr4vy.paymentMethods.update()`: \n * `request.paymentMethodUpdate.schemeTransactionIdScheme.enum(dinacard)` **Added**\n * `response` **Changed**\n* `gr4vy.transactions.list()`: \n * `request.method` **Changed**\n * `response.items[].paymentMethod` **Changed**\n* `gr4vy.transactions.create()`: \n * `request.transactionCreate.paymentMethod` **Changed**\n * `response.paymentMethod` **Changed**\n* `gr4vy.transactions.get()`: `response.paymentMethod` **Changed**\n* `gr4vy.transactions.update()`: `response.paymentMethod` **Changed**\n* `gr4vy.transactions.capture()`: `response.union(TransactionCapture).transaction.paymentMethod` **Changed**\n* `gr4vy.transactions.void()`: `response.union(Transaction).paymentMethod` **Changed**\n* `gr4vy.transactions.cancel()`: `response.transaction.paymentMethod` **Changed**\n* `gr4vy.transactions.sync()`: `response.paymentMethod` **Changed**\n* `gr4vy.transactions.incrementAuthorization()`: `response.transaction.paymentMethod` **Changed**\n* `gr4vy.paymentServiceDefinitions.list()`: `response.items[].method` **Changed**\n* `gr4vy.paymentServiceDefinitions.get()`: `response.method` **Changed**\n* `gr4vy.paymentServices.list()`: \n * `request.method` **Changed**\n * `response.items[].method` **Changed**\n* `gr4vy.paymentServices.create()`: `response.method` **Changed**\n* `gr4vy.paymentServices.get()`: `response.method` **Changed**\n* `gr4vy.paymentServices.update()`: `response.method` **Changed**\n* `gr4vy.auditLogs.list()`: `response.items[].user.status.enum(reset)` **Added**\n* `gr4vy.checkoutSessions.create()`: `response.paymentMethod.scheme.enum(dinacard)` **Added**\n* `gr4vy.checkoutSessions.update()`: `response.paymentMethod.scheme.enum(dinacard)` **Added**\n* `gr4vy.checkoutSessions.get()`: `response.paymentMethod.scheme.enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.list()`: `response.items[].loonAcceptedSchemes[].enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.create()`: \n * `request.loonAcceptedSchemes[].enum(dinacard)` **Added**\n * `response.loonAcceptedSchemes[].enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.get()`: `response.loonAcceptedSchemes[].enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.update()`: \n * `request.merchantAccountUpdate.loonAcceptedSchemes[].enum(dinacard)` **Added**\n * `response.loonAcceptedSchemes[].enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.threeDsConfiguration.create()`: \n * `request.merchantAccountThreeDsConfigurationCreate.scheme.enum(dinacard)` **Added**\n * `response.scheme.enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.threeDsConfiguration.list()`: `response.items[].scheme.enum(dinacard)` **Added**\n* `gr4vy.merchantAccounts.threeDsConfiguration.update()`: \n * `request.merchantAccountThreeDsConfigurationUpdate.scheme.enum(dinacard)` **Added**\n * `response.scheme.enum(dinacard)` **Added**\n* `gr4vy.payouts.list()`: `response.items[].paymentMethod` **Changed**\n* `gr4vy.payouts.create()`: \n * `request.payoutCreate.paymentMethod.union(PaymentMethodCard).cardScheme.enum(dinacard)` **Added**\n * `response.paymentMethod` **Changed**\n* `gr4vy.payouts.get()`: `response.paymentMethod` **Changed**\n" generatedFiles: - .gitattributes - USAGE.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 3f4acddc..bba4aa56 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,6 +15,7 @@ generation: sharedErrorComponentsApr2025: true sharedNestedComponentsJan2026: false nameOverrideFeb2026: false + openSingleValueEnumsOct2026: false auth: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false @@ -30,7 +31,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 2.19.24 + version: 2.19.25 additionalDependencies: - testImplementation:org.junit.jupiter:junit-jupiter:5.10.0 - implementation:com.auth0:java-jwt:4.5.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 3eb9c8dc..e8bdf89a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.801.0 +speakeasyVersion: 1.804.0 sources: Gr4vy: sourceNamespace: openapi @@ -9,8 +9,8 @@ sources: - 1.0.0 openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:465ffc9416b1595601455a4fa8524944ea636f77627333746830f8aca11ac1ae - sourceBlobDigest: sha256:cc950a1c77725a0b14ff591b1a6bdfe0d8554cf453f81524e535ac74db79bfda + sourceRevisionDigest: sha256:8971325b10cd816453dad6d07a1300e56ad76be7a62338fdfb5d22e0ebc6c17f + sourceBlobDigest: sha256:151fb813afc095bcbae34041f825a464e88d8e608eeefb822acedc607887c886 tags: - latest - 1.0.0 @@ -25,10 +25,10 @@ targets: java: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:465ffc9416b1595601455a4fa8524944ea636f77627333746830f8aca11ac1ae - sourceBlobDigest: sha256:cc950a1c77725a0b14ff591b1a6bdfe0d8554cf453f81524e535ac74db79bfda + sourceRevisionDigest: sha256:8971325b10cd816453dad6d07a1300e56ad76be7a62338fdfb5d22e0ebc6c17f + sourceBlobDigest: sha256:151fb813afc095bcbae34041f825a464e88d8e608eeefb822acedc607887c886 codeSamplesNamespace: openapi-java-code-samples - codeSamplesRevisionDigest: sha256:24910c1ebd03ed10868902f8aef87f83b40a28cf9bb9517e929b95e0b854d6fc + codeSamplesRevisionDigest: sha256:d4fe4c0556c499eaedce3a5864098f14b27f7a60c57c81b216e553ca0f3f504e workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 4734e99c..70d2e12e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.gr4vy:sdk:2.19.24' +implementation 'com.gr4vy:sdk:2.19.25' ``` Maven: @@ -67,7 +67,7 @@ Maven: com.gr4vy sdk - 2.19.24 + 2.19.25 ``` diff --git a/RELEASES.md b/RELEASES.md index 634f80e3..34b8af1a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -2408,4 +2408,14 @@ Based on: ### Generated - [java v2.19.24] . ### Releases -- [Maven Central v2.19.24] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.24 - . \ No newline at end of file +- [Maven Central v2.19.24] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.24 - . + +## 2026-10-28 00:11:24 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.804.0 (2.952.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.19.25] . +### Releases +- [Maven Central v2.19.25] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.25 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7352f664..3528a654 100644 --- a/build.gradle +++ b/build.gradle @@ -80,9 +80,9 @@ dependencies { implementation 'org.bouncycastle:bcpkix-jdk18on:1.80' implementation 'org.slf4j:slf4j-simple:2.0.7' api 'com.fasterxml.jackson.core:jackson-annotations:2.22' - implementation 'com.fasterxml.jackson.core:jackson-databind:2.22.1' - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.0' - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.0' + implementation 'com.fasterxml.jackson.core:jackson-databind:2.22.4' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.4' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.4' api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'} implementation 'commons-io:commons-io:2.18.0' implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0' diff --git a/docs/models/components/CardScheme.md b/docs/models/components/CardScheme.md index 08748f16..3903cfe8 100644 --- a/docs/models/components/CardScheme.md +++ b/docs/models/components/CardScheme.md @@ -23,6 +23,7 @@ CardScheme custom = CardScheme.of("custom_value"); | `CIRRUS` | cirrus | | `CULIANCE` | culiance | | `DANKORT` | dankort | +| `DINACARD` | dinacard | | `DINERS_CLUB` | diners-club | | `DISCOVER` | discover | | `EFTPOS_AUSTRALIA` | eftpos-australia | diff --git a/docs/models/components/Method.md b/docs/models/components/Method.md index 6f90cbfa..785e977c 100644 --- a/docs/models/components/Method.md +++ b/docs/models/components/Method.md @@ -21,14 +21,18 @@ Method custom = Method.of("custom_value"); | `AFTERPAY` | afterpay | | `ALIPAY` | alipay | | `ALIPAYHK` | alipayhk | +| `ALIPAYPLUS` | alipayplus | +| `ALMA` | alma | | `APPLEPAY` | applepay | | `ARCUSPAYNETWORK` | arcuspaynetwork | | `BACS` | bacs | | `BANCONTACT` | bancontact | | `BANK` | bank | +| `BCMCMOBILE` | bcmcmobile | | `BCP` | bcp | | `BECS` | becs | | `BITPAY` | bitpay | +| `BIZUM` | bizum | | `BLIK` | blik | | `ACH` | ach | | `BOLETO` | boleto | @@ -48,9 +52,11 @@ Method custom = Method.of("custom_value"); | `DCB` | dcb | | `DLOCAL` | dlocal | | `DUITNOW` | duitnow | +| `EBANKINGFI` | ebankingfi | | `EBANX` | ebanx | | `ECKOH` | eckoh | | `EFECTY` | efecty | +| `EFTPAD` | eftpad | | `EPS` | eps | | `EVERYDAYPAY` | everydaypay | | `GCASH` | gcash | @@ -77,7 +83,9 @@ Method custom = Method.of("custom_value"); | `LINEPAY` | linepay | | `LINKAJA` | linkaja | | `MAYBANKQRPAY` | maybankqrpay | +| `MBWAY` | mbway | | `MERCADOPAGO` | mercadopago | +| `MOBILEPAY` | mobilepay | | `MULTIBANCO` | multibanco | | `MULTIPAGO` | multipago | | `NEQUI` | nequi | @@ -96,6 +104,7 @@ Method custom = Method.of("custom_value"); | `P24` | p24 | | `PAGOEFECTIVO` | pagoefectivo | | `PAYBYBANK` | paybybank | +| `PAYBYBANKEU` | paybybankeu | | `PAYID` | payid | | `PAYMAYA` | paymaya | | `PAYSQUAD` | paysquad | @@ -114,6 +123,7 @@ Method custom = Method.of("custom_value"); | `RAZORPAY` | razorpay | | `RAPIPAGO` | rapipago | | `REDPAGOS` | redpagos | +| `RIVERTY` | riverty | | `SCALAPAY` | scalapay | | `SEPA` | sepa | | `SERVIPAG` | servipag | @@ -136,6 +146,7 @@ Method custom = Method.of("custom_value"); | `TRUEMONEY` | truemoney | | `TRUSTLY` | trustly | | `TRUSTLYEUROPE` | trustlyeurope | +| `TWINT` | twint | | `UPI` | upi | | `VENMO` | venmo | | `VIPPS` | vipps | diff --git a/docs/models/components/RedirectPaymentMethodCreateMethod.md b/docs/models/components/RedirectPaymentMethodCreateMethod.md index d89562a6..de6232c5 100644 --- a/docs/models/components/RedirectPaymentMethodCreateMethod.md +++ b/docs/models/components/RedirectPaymentMethodCreateMethod.md @@ -23,12 +23,16 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `AFTERPAY` | afterpay | | `ALIPAY` | alipay | | `ALIPAYHK` | alipayhk | +| `ALIPAYPLUS` | alipayplus | +| `ALMA` | alma | | `ARCUSPAYNETWORK` | arcuspaynetwork | | `BACS` | bacs | | `BANCONTACT` | bancontact | +| `BCMCMOBILE` | bcmcmobile | | `BCP` | bcp | | `BECS` | becs | | `BITPAY` | bitpay | +| `BIZUM` | bizum | | `BLIK` | blik | | `BOLETO` | boleto | | `BOOST` | boost | @@ -45,9 +49,11 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `DCB` | dcb | | `DLOCAL` | dlocal | | `DUITNOW` | duitnow | +| `EBANKINGFI` | ebankingfi | | `EBANX` | ebanx | | `ECKOH` | eckoh | | `EFECTY` | efecty | +| `EFTPAD` | eftpad | | `EPS` | eps | | `EVERYDAYPAY` | everydaypay | | `GCASH` | gcash | @@ -71,7 +77,9 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `LINEPAY` | linepay | | `LINKAJA` | linkaja | | `MAYBANKQRPAY` | maybankqrpay | +| `MBWAY` | mbway | | `MERCADOPAGO` | mercadopago | +| `MOBILEPAY` | mobilepay | | `MULTIBANCO` | multibanco | | `MULTIPAGO` | multipago | | `NETBANKING` | netbanking | @@ -89,6 +97,7 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `P24` | p24 | | `PAGOEFECTIVO` | pagoefectivo | | `PAYBYBANK` | paybybank | +| `PAYBYBANKEU` | paybybankeu | | `PAYID` | payid | | `PAYMAYA` | paymaya | | `PAYSQUAD` | paysquad | @@ -105,6 +114,7 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `RAPIPAGO` | rapipago | | `RAZORPAY` | razorpay | | `REDPAGOS` | redpagos | +| `RIVERTY` | riverty | | `SCALAPAY` | scalapay | | `SEPA` | sepa | | `SERVIPAG` | servipag | @@ -127,6 +137,7 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `TRUEMONEY` | truemoney | | `TRUSTLY` | trustly | | `TRUSTLYEUROPE` | trustlyeurope | +| `TWINT` | twint | | `UPI` | upi | | `VENMO` | venmo | | `VIPPS` | vipps | diff --git a/docs/models/components/UserStatus.md b/docs/models/components/UserStatus.md index 9d693861..49ebd3da 100644 --- a/docs/models/components/UserStatus.md +++ b/docs/models/components/UserStatus.md @@ -18,4 +18,5 @@ UserStatus custom = UserStatus.of("custom_value"); | --------- | --------- | | `ACTIVE` | active | | `PENDING` | pending | -| `DELETED` | deleted | \ No newline at end of file +| `DELETED` | deleted | +| `RESET` | reset | \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 5fc4739c..6a87c6ba 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.gr4vy artifactId=sdk -version=2.19.24 +version=2.19.25 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java index d44ba0c4..b639d5c0 100644 --- a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java +++ b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java @@ -22,8 +22,8 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "2.19.24"; - public static final String GEN_VERSION = "2.946.0"; + public static final String SDK_VERSION = "2.19.25"; + public static final String GEN_VERSION = "2.952.5"; private static final String BASE_PACKAGE = "com.gr4vy.sdk"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/com/gr4vy/sdk/models/components/CardScheme.java b/src/main/java/com/gr4vy/sdk/models/components/CardScheme.java index 143738ce..45319f37 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CardScheme.java +++ b/src/main/java/com/gr4vy/sdk/models/components/CardScheme.java @@ -27,6 +27,7 @@ public class CardScheme { public static final CardScheme CIRRUS = new CardScheme("cirrus"); public static final CardScheme CULIANCE = new CardScheme("culiance"); public static final CardScheme DANKORT = new CardScheme("dankort"); + public static final CardScheme DINACARD = new CardScheme("dinacard"); public static final CardScheme DINERS_CLUB = new CardScheme("diners-club"); public static final CardScheme DISCOVER = new CardScheme("discover"); public static final CardScheme EFTPOS_AUSTRALIA = new CardScheme("eftpos-australia"); @@ -125,6 +126,7 @@ private static final Map createValuesMap() { map.put("cirrus", CIRRUS); map.put("culiance", CULIANCE); map.put("dankort", DANKORT); + map.put("dinacard", DINACARD); map.put("diners-club", DINERS_CLUB); map.put("discover", DISCOVER); map.put("eftpos-australia", EFTPOS_AUSTRALIA); @@ -155,6 +157,7 @@ private static final Map createEnumsMap() { map.put("cirrus", CardSchemeEnum.CIRRUS); map.put("culiance", CardSchemeEnum.CULIANCE); map.put("dankort", CardSchemeEnum.DANKORT); + map.put("dinacard", CardSchemeEnum.DINACARD); map.put("diners-club", CardSchemeEnum.DINERS_CLUB); map.put("discover", CardSchemeEnum.DISCOVER); map.put("eftpos-australia", CardSchemeEnum.EFTPOS_AUSTRALIA); @@ -186,6 +189,7 @@ public enum CardSchemeEnum { CIRRUS("cirrus"), CULIANCE("culiance"), DANKORT("dankort"), + DINACARD("dinacard"), DINERS_CLUB("diners-club"), DISCOVER("discover"), EFTPOS_AUSTRALIA("eftpos-australia"), diff --git a/src/main/java/com/gr4vy/sdk/models/components/Method.java b/src/main/java/com/gr4vy/sdk/models/components/Method.java index d571f98f..d90921a1 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/Method.java +++ b/src/main/java/com/gr4vy/sdk/models/components/Method.java @@ -25,14 +25,18 @@ public class Method { public static final Method AFTERPAY = new Method("afterpay"); public static final Method ALIPAY = new Method("alipay"); public static final Method ALIPAYHK = new Method("alipayhk"); + public static final Method ALIPAYPLUS = new Method("alipayplus"); + public static final Method ALMA = new Method("alma"); public static final Method APPLEPAY = new Method("applepay"); public static final Method ARCUSPAYNETWORK = new Method("arcuspaynetwork"); public static final Method BACS = new Method("bacs"); public static final Method BANCONTACT = new Method("bancontact"); public static final Method BANK = new Method("bank"); + public static final Method BCMCMOBILE = new Method("bcmcmobile"); public static final Method BCP = new Method("bcp"); public static final Method BECS = new Method("becs"); public static final Method BITPAY = new Method("bitpay"); + public static final Method BIZUM = new Method("bizum"); public static final Method BLIK = new Method("blik"); public static final Method ACH = new Method("ach"); public static final Method BOLETO = new Method("boleto"); @@ -52,9 +56,11 @@ public class Method { public static final Method DCB = new Method("dcb"); public static final Method DLOCAL = new Method("dlocal"); public static final Method DUITNOW = new Method("duitnow"); + public static final Method EBANKINGFI = new Method("ebankingfi"); public static final Method EBANX = new Method("ebanx"); public static final Method ECKOH = new Method("eckoh"); public static final Method EFECTY = new Method("efecty"); + public static final Method EFTPAD = new Method("eftpad"); public static final Method EPS = new Method("eps"); public static final Method EVERYDAYPAY = new Method("everydaypay"); public static final Method GCASH = new Method("gcash"); @@ -81,7 +87,9 @@ public class Method { public static final Method LINEPAY = new Method("linepay"); public static final Method LINKAJA = new Method("linkaja"); public static final Method MAYBANKQRPAY = new Method("maybankqrpay"); + public static final Method MBWAY = new Method("mbway"); public static final Method MERCADOPAGO = new Method("mercadopago"); + public static final Method MOBILEPAY = new Method("mobilepay"); public static final Method MULTIBANCO = new Method("multibanco"); public static final Method MULTIPAGO = new Method("multipago"); public static final Method NEQUI = new Method("nequi"); @@ -100,6 +108,7 @@ public class Method { public static final Method P24 = new Method("p24"); public static final Method PAGOEFECTIVO = new Method("pagoefectivo"); public static final Method PAYBYBANK = new Method("paybybank"); + public static final Method PAYBYBANKEU = new Method("paybybankeu"); public static final Method PAYID = new Method("payid"); public static final Method PAYMAYA = new Method("paymaya"); public static final Method PAYSQUAD = new Method("paysquad"); @@ -118,6 +127,7 @@ public class Method { public static final Method RAZORPAY = new Method("razorpay"); public static final Method RAPIPAGO = new Method("rapipago"); public static final Method REDPAGOS = new Method("redpagos"); + public static final Method RIVERTY = new Method("riverty"); public static final Method SCALAPAY = new Method("scalapay"); public static final Method SEPA = new Method("sepa"); public static final Method SERVIPAG = new Method("servipag"); @@ -140,6 +150,7 @@ public class Method { public static final Method TRUEMONEY = new Method("truemoney"); public static final Method TRUSTLY = new Method("trustly"); public static final Method TRUSTLYEUROPE = new Method("trustlyeurope"); + public static final Method TWINT = new Method("twint"); public static final Method UPI = new Method("upi"); public static final Method VENMO = new Method("venmo"); public static final Method VIPPS = new Method("vipps"); @@ -227,14 +238,18 @@ private static final Map createValuesMap() { map.put("afterpay", AFTERPAY); map.put("alipay", ALIPAY); map.put("alipayhk", ALIPAYHK); + map.put("alipayplus", ALIPAYPLUS); + map.put("alma", ALMA); map.put("applepay", APPLEPAY); map.put("arcuspaynetwork", ARCUSPAYNETWORK); map.put("bacs", BACS); map.put("bancontact", BANCONTACT); map.put("bank", BANK); + map.put("bcmcmobile", BCMCMOBILE); map.put("bcp", BCP); map.put("becs", BECS); map.put("bitpay", BITPAY); + map.put("bizum", BIZUM); map.put("blik", BLIK); map.put("ach", ACH); map.put("boleto", BOLETO); @@ -254,9 +269,11 @@ private static final Map createValuesMap() { map.put("dcb", DCB); map.put("dlocal", DLOCAL); map.put("duitnow", DUITNOW); + map.put("ebankingfi", EBANKINGFI); map.put("ebanx", EBANX); map.put("eckoh", ECKOH); map.put("efecty", EFECTY); + map.put("eftpad", EFTPAD); map.put("eps", EPS); map.put("everydaypay", EVERYDAYPAY); map.put("gcash", GCASH); @@ -283,7 +300,9 @@ private static final Map createValuesMap() { map.put("linepay", LINEPAY); map.put("linkaja", LINKAJA); map.put("maybankqrpay", MAYBANKQRPAY); + map.put("mbway", MBWAY); map.put("mercadopago", MERCADOPAGO); + map.put("mobilepay", MOBILEPAY); map.put("multibanco", MULTIBANCO); map.put("multipago", MULTIPAGO); map.put("nequi", NEQUI); @@ -302,6 +321,7 @@ private static final Map createValuesMap() { map.put("p24", P24); map.put("pagoefectivo", PAGOEFECTIVO); map.put("paybybank", PAYBYBANK); + map.put("paybybankeu", PAYBYBANKEU); map.put("payid", PAYID); map.put("paymaya", PAYMAYA); map.put("paysquad", PAYSQUAD); @@ -320,6 +340,7 @@ private static final Map createValuesMap() { map.put("razorpay", RAZORPAY); map.put("rapipago", RAPIPAGO); map.put("redpagos", REDPAGOS); + map.put("riverty", RIVERTY); map.put("scalapay", SCALAPAY); map.put("sepa", SEPA); map.put("servipag", SERVIPAG); @@ -342,6 +363,7 @@ private static final Map createValuesMap() { map.put("truemoney", TRUEMONEY); map.put("trustly", TRUSTLY); map.put("trustlyeurope", TRUSTLYEUROPE); + map.put("twint", TWINT); map.put("upi", UPI); map.put("venmo", VENMO); map.put("vipps", VIPPS); @@ -361,14 +383,18 @@ private static final Map createEnumsMap() { map.put("afterpay", MethodEnum.AFTERPAY); map.put("alipay", MethodEnum.ALIPAY); map.put("alipayhk", MethodEnum.ALIPAYHK); + map.put("alipayplus", MethodEnum.ALIPAYPLUS); + map.put("alma", MethodEnum.ALMA); map.put("applepay", MethodEnum.APPLEPAY); map.put("arcuspaynetwork", MethodEnum.ARCUSPAYNETWORK); map.put("bacs", MethodEnum.BACS); map.put("bancontact", MethodEnum.BANCONTACT); map.put("bank", MethodEnum.BANK); + map.put("bcmcmobile", MethodEnum.BCMCMOBILE); map.put("bcp", MethodEnum.BCP); map.put("becs", MethodEnum.BECS); map.put("bitpay", MethodEnum.BITPAY); + map.put("bizum", MethodEnum.BIZUM); map.put("blik", MethodEnum.BLIK); map.put("ach", MethodEnum.ACH); map.put("boleto", MethodEnum.BOLETO); @@ -388,9 +414,11 @@ private static final Map createEnumsMap() { map.put("dcb", MethodEnum.DCB); map.put("dlocal", MethodEnum.DLOCAL); map.put("duitnow", MethodEnum.DUITNOW); + map.put("ebankingfi", MethodEnum.EBANKINGFI); map.put("ebanx", MethodEnum.EBANX); map.put("eckoh", MethodEnum.ECKOH); map.put("efecty", MethodEnum.EFECTY); + map.put("eftpad", MethodEnum.EFTPAD); map.put("eps", MethodEnum.EPS); map.put("everydaypay", MethodEnum.EVERYDAYPAY); map.put("gcash", MethodEnum.GCASH); @@ -417,7 +445,9 @@ private static final Map createEnumsMap() { map.put("linepay", MethodEnum.LINEPAY); map.put("linkaja", MethodEnum.LINKAJA); map.put("maybankqrpay", MethodEnum.MAYBANKQRPAY); + map.put("mbway", MethodEnum.MBWAY); map.put("mercadopago", MethodEnum.MERCADOPAGO); + map.put("mobilepay", MethodEnum.MOBILEPAY); map.put("multibanco", MethodEnum.MULTIBANCO); map.put("multipago", MethodEnum.MULTIPAGO); map.put("nequi", MethodEnum.NEQUI); @@ -436,6 +466,7 @@ private static final Map createEnumsMap() { map.put("p24", MethodEnum.P24); map.put("pagoefectivo", MethodEnum.PAGOEFECTIVO); map.put("paybybank", MethodEnum.PAYBYBANK); + map.put("paybybankeu", MethodEnum.PAYBYBANKEU); map.put("payid", MethodEnum.PAYID); map.put("paymaya", MethodEnum.PAYMAYA); map.put("paysquad", MethodEnum.PAYSQUAD); @@ -454,6 +485,7 @@ private static final Map createEnumsMap() { map.put("razorpay", MethodEnum.RAZORPAY); map.put("rapipago", MethodEnum.RAPIPAGO); map.put("redpagos", MethodEnum.REDPAGOS); + map.put("riverty", MethodEnum.RIVERTY); map.put("scalapay", MethodEnum.SCALAPAY); map.put("sepa", MethodEnum.SEPA); map.put("servipag", MethodEnum.SERVIPAG); @@ -476,6 +508,7 @@ private static final Map createEnumsMap() { map.put("truemoney", MethodEnum.TRUEMONEY); map.put("trustly", MethodEnum.TRUSTLY); map.put("trustlyeurope", MethodEnum.TRUSTLYEUROPE); + map.put("twint", MethodEnum.TWINT); map.put("upi", MethodEnum.UPI); map.put("venmo", MethodEnum.VENMO); map.put("vipps", MethodEnum.VIPPS); @@ -496,14 +529,18 @@ public enum MethodEnum { AFTERPAY("afterpay"), ALIPAY("alipay"), ALIPAYHK("alipayhk"), + ALIPAYPLUS("alipayplus"), + ALMA("alma"), APPLEPAY("applepay"), ARCUSPAYNETWORK("arcuspaynetwork"), BACS("bacs"), BANCONTACT("bancontact"), BANK("bank"), + BCMCMOBILE("bcmcmobile"), BCP("bcp"), BECS("becs"), BITPAY("bitpay"), + BIZUM("bizum"), BLIK("blik"), ACH("ach"), BOLETO("boleto"), @@ -523,9 +560,11 @@ public enum MethodEnum { DCB("dcb"), DLOCAL("dlocal"), DUITNOW("duitnow"), + EBANKINGFI("ebankingfi"), EBANX("ebanx"), ECKOH("eckoh"), EFECTY("efecty"), + EFTPAD("eftpad"), EPS("eps"), EVERYDAYPAY("everydaypay"), GCASH("gcash"), @@ -552,7 +591,9 @@ public enum MethodEnum { LINEPAY("linepay"), LINKAJA("linkaja"), MAYBANKQRPAY("maybankqrpay"), + MBWAY("mbway"), MERCADOPAGO("mercadopago"), + MOBILEPAY("mobilepay"), MULTIBANCO("multibanco"), MULTIPAGO("multipago"), NEQUI("nequi"), @@ -571,6 +612,7 @@ public enum MethodEnum { P24("p24"), PAGOEFECTIVO("pagoefectivo"), PAYBYBANK("paybybank"), + PAYBYBANKEU("paybybankeu"), PAYID("payid"), PAYMAYA("paymaya"), PAYSQUAD("paysquad"), @@ -589,6 +631,7 @@ public enum MethodEnum { RAZORPAY("razorpay"), RAPIPAGO("rapipago"), REDPAGOS("redpagos"), + RIVERTY("riverty"), SCALAPAY("scalapay"), SEPA("sepa"), SERVIPAG("servipag"), @@ -611,6 +654,7 @@ public enum MethodEnum { TRUEMONEY("truemoney"), TRUSTLY("trustly"), TRUSTLYEUROPE("trustlyeurope"), + TWINT("twint"), UPI("upi"), VENMO("venmo"), VIPPS("vipps"), diff --git a/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java b/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java index be3761d8..e738f1ef 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java +++ b/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java @@ -30,12 +30,16 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod AFTERPAY = new RedirectPaymentMethodCreateMethod("afterpay"); public static final RedirectPaymentMethodCreateMethod ALIPAY = new RedirectPaymentMethodCreateMethod("alipay"); public static final RedirectPaymentMethodCreateMethod ALIPAYHK = new RedirectPaymentMethodCreateMethod("alipayhk"); + public static final RedirectPaymentMethodCreateMethod ALIPAYPLUS = new RedirectPaymentMethodCreateMethod("alipayplus"); + public static final RedirectPaymentMethodCreateMethod ALMA = new RedirectPaymentMethodCreateMethod("alma"); public static final RedirectPaymentMethodCreateMethod ARCUSPAYNETWORK = new RedirectPaymentMethodCreateMethod("arcuspaynetwork"); public static final RedirectPaymentMethodCreateMethod BACS = new RedirectPaymentMethodCreateMethod("bacs"); public static final RedirectPaymentMethodCreateMethod BANCONTACT = new RedirectPaymentMethodCreateMethod("bancontact"); + public static final RedirectPaymentMethodCreateMethod BCMCMOBILE = new RedirectPaymentMethodCreateMethod("bcmcmobile"); public static final RedirectPaymentMethodCreateMethod BCP = new RedirectPaymentMethodCreateMethod("bcp"); public static final RedirectPaymentMethodCreateMethod BECS = new RedirectPaymentMethodCreateMethod("becs"); public static final RedirectPaymentMethodCreateMethod BITPAY = new RedirectPaymentMethodCreateMethod("bitpay"); + public static final RedirectPaymentMethodCreateMethod BIZUM = new RedirectPaymentMethodCreateMethod("bizum"); public static final RedirectPaymentMethodCreateMethod BLIK = new RedirectPaymentMethodCreateMethod("blik"); public static final RedirectPaymentMethodCreateMethod BOLETO = new RedirectPaymentMethodCreateMethod("boleto"); public static final RedirectPaymentMethodCreateMethod BOOST = new RedirectPaymentMethodCreateMethod("boost"); @@ -52,9 +56,11 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod DCB = new RedirectPaymentMethodCreateMethod("dcb"); public static final RedirectPaymentMethodCreateMethod DLOCAL = new RedirectPaymentMethodCreateMethod("dlocal"); public static final RedirectPaymentMethodCreateMethod DUITNOW = new RedirectPaymentMethodCreateMethod("duitnow"); + public static final RedirectPaymentMethodCreateMethod EBANKINGFI = new RedirectPaymentMethodCreateMethod("ebankingfi"); public static final RedirectPaymentMethodCreateMethod EBANX = new RedirectPaymentMethodCreateMethod("ebanx"); public static final RedirectPaymentMethodCreateMethod ECKOH = new RedirectPaymentMethodCreateMethod("eckoh"); public static final RedirectPaymentMethodCreateMethod EFECTY = new RedirectPaymentMethodCreateMethod("efecty"); + public static final RedirectPaymentMethodCreateMethod EFTPAD = new RedirectPaymentMethodCreateMethod("eftpad"); public static final RedirectPaymentMethodCreateMethod EPS = new RedirectPaymentMethodCreateMethod("eps"); public static final RedirectPaymentMethodCreateMethod EVERYDAYPAY = new RedirectPaymentMethodCreateMethod("everydaypay"); public static final RedirectPaymentMethodCreateMethod GCASH = new RedirectPaymentMethodCreateMethod("gcash"); @@ -78,7 +84,9 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod LINEPAY = new RedirectPaymentMethodCreateMethod("linepay"); public static final RedirectPaymentMethodCreateMethod LINKAJA = new RedirectPaymentMethodCreateMethod("linkaja"); public static final RedirectPaymentMethodCreateMethod MAYBANKQRPAY = new RedirectPaymentMethodCreateMethod("maybankqrpay"); + public static final RedirectPaymentMethodCreateMethod MBWAY = new RedirectPaymentMethodCreateMethod("mbway"); public static final RedirectPaymentMethodCreateMethod MERCADOPAGO = new RedirectPaymentMethodCreateMethod("mercadopago"); + public static final RedirectPaymentMethodCreateMethod MOBILEPAY = new RedirectPaymentMethodCreateMethod("mobilepay"); public static final RedirectPaymentMethodCreateMethod MULTIBANCO = new RedirectPaymentMethodCreateMethod("multibanco"); public static final RedirectPaymentMethodCreateMethod MULTIPAGO = new RedirectPaymentMethodCreateMethod("multipago"); public static final RedirectPaymentMethodCreateMethod NETBANKING = new RedirectPaymentMethodCreateMethod("netbanking"); @@ -96,6 +104,7 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod P24 = new RedirectPaymentMethodCreateMethod("p24"); public static final RedirectPaymentMethodCreateMethod PAGOEFECTIVO = new RedirectPaymentMethodCreateMethod("pagoefectivo"); public static final RedirectPaymentMethodCreateMethod PAYBYBANK = new RedirectPaymentMethodCreateMethod("paybybank"); + public static final RedirectPaymentMethodCreateMethod PAYBYBANKEU = new RedirectPaymentMethodCreateMethod("paybybankeu"); public static final RedirectPaymentMethodCreateMethod PAYID = new RedirectPaymentMethodCreateMethod("payid"); public static final RedirectPaymentMethodCreateMethod PAYMAYA = new RedirectPaymentMethodCreateMethod("paymaya"); public static final RedirectPaymentMethodCreateMethod PAYSQUAD = new RedirectPaymentMethodCreateMethod("paysquad"); @@ -112,6 +121,7 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod RAPIPAGO = new RedirectPaymentMethodCreateMethod("rapipago"); public static final RedirectPaymentMethodCreateMethod RAZORPAY = new RedirectPaymentMethodCreateMethod("razorpay"); public static final RedirectPaymentMethodCreateMethod REDPAGOS = new RedirectPaymentMethodCreateMethod("redpagos"); + public static final RedirectPaymentMethodCreateMethod RIVERTY = new RedirectPaymentMethodCreateMethod("riverty"); public static final RedirectPaymentMethodCreateMethod SCALAPAY = new RedirectPaymentMethodCreateMethod("scalapay"); public static final RedirectPaymentMethodCreateMethod SEPA = new RedirectPaymentMethodCreateMethod("sepa"); public static final RedirectPaymentMethodCreateMethod SERVIPAG = new RedirectPaymentMethodCreateMethod("servipag"); @@ -134,6 +144,7 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod TRUEMONEY = new RedirectPaymentMethodCreateMethod("truemoney"); public static final RedirectPaymentMethodCreateMethod TRUSTLY = new RedirectPaymentMethodCreateMethod("trustly"); public static final RedirectPaymentMethodCreateMethod TRUSTLYEUROPE = new RedirectPaymentMethodCreateMethod("trustlyeurope"); + public static final RedirectPaymentMethodCreateMethod TWINT = new RedirectPaymentMethodCreateMethod("twint"); public static final RedirectPaymentMethodCreateMethod UPI = new RedirectPaymentMethodCreateMethod("upi"); public static final RedirectPaymentMethodCreateMethod VENMO = new RedirectPaymentMethodCreateMethod("venmo"); public static final RedirectPaymentMethodCreateMethod VIPPS = new RedirectPaymentMethodCreateMethod("vipps"); @@ -221,12 +232,16 @@ private static final Map createValues map.put("afterpay", AFTERPAY); map.put("alipay", ALIPAY); map.put("alipayhk", ALIPAYHK); + map.put("alipayplus", ALIPAYPLUS); + map.put("alma", ALMA); map.put("arcuspaynetwork", ARCUSPAYNETWORK); map.put("bacs", BACS); map.put("bancontact", BANCONTACT); + map.put("bcmcmobile", BCMCMOBILE); map.put("bcp", BCP); map.put("becs", BECS); map.put("bitpay", BITPAY); + map.put("bizum", BIZUM); map.put("blik", BLIK); map.put("boleto", BOLETO); map.put("boost", BOOST); @@ -243,9 +258,11 @@ private static final Map createValues map.put("dcb", DCB); map.put("dlocal", DLOCAL); map.put("duitnow", DUITNOW); + map.put("ebankingfi", EBANKINGFI); map.put("ebanx", EBANX); map.put("eckoh", ECKOH); map.put("efecty", EFECTY); + map.put("eftpad", EFTPAD); map.put("eps", EPS); map.put("everydaypay", EVERYDAYPAY); map.put("gcash", GCASH); @@ -269,7 +286,9 @@ private static final Map createValues map.put("linepay", LINEPAY); map.put("linkaja", LINKAJA); map.put("maybankqrpay", MAYBANKQRPAY); + map.put("mbway", MBWAY); map.put("mercadopago", MERCADOPAGO); + map.put("mobilepay", MOBILEPAY); map.put("multibanco", MULTIBANCO); map.put("multipago", MULTIPAGO); map.put("netbanking", NETBANKING); @@ -287,6 +306,7 @@ private static final Map createValues map.put("p24", P24); map.put("pagoefectivo", PAGOEFECTIVO); map.put("paybybank", PAYBYBANK); + map.put("paybybankeu", PAYBYBANKEU); map.put("payid", PAYID); map.put("paymaya", PAYMAYA); map.put("paysquad", PAYSQUAD); @@ -303,6 +323,7 @@ private static final Map createValues map.put("rapipago", RAPIPAGO); map.put("razorpay", RAZORPAY); map.put("redpagos", REDPAGOS); + map.put("riverty", RIVERTY); map.put("scalapay", SCALAPAY); map.put("sepa", SEPA); map.put("servipag", SERVIPAG); @@ -325,6 +346,7 @@ private static final Map createValues map.put("truemoney", TRUEMONEY); map.put("trustly", TRUSTLY); map.put("trustlyeurope", TRUSTLYEUROPE); + map.put("twint", TWINT); map.put("upi", UPI); map.put("venmo", VENMO); map.put("vipps", VIPPS); @@ -344,12 +366,16 @@ private static final Map createEn map.put("afterpay", RedirectPaymentMethodCreateMethodEnum.AFTERPAY); map.put("alipay", RedirectPaymentMethodCreateMethodEnum.ALIPAY); map.put("alipayhk", RedirectPaymentMethodCreateMethodEnum.ALIPAYHK); + map.put("alipayplus", RedirectPaymentMethodCreateMethodEnum.ALIPAYPLUS); + map.put("alma", RedirectPaymentMethodCreateMethodEnum.ALMA); map.put("arcuspaynetwork", RedirectPaymentMethodCreateMethodEnum.ARCUSPAYNETWORK); map.put("bacs", RedirectPaymentMethodCreateMethodEnum.BACS); map.put("bancontact", RedirectPaymentMethodCreateMethodEnum.BANCONTACT); + map.put("bcmcmobile", RedirectPaymentMethodCreateMethodEnum.BCMCMOBILE); map.put("bcp", RedirectPaymentMethodCreateMethodEnum.BCP); map.put("becs", RedirectPaymentMethodCreateMethodEnum.BECS); map.put("bitpay", RedirectPaymentMethodCreateMethodEnum.BITPAY); + map.put("bizum", RedirectPaymentMethodCreateMethodEnum.BIZUM); map.put("blik", RedirectPaymentMethodCreateMethodEnum.BLIK); map.put("boleto", RedirectPaymentMethodCreateMethodEnum.BOLETO); map.put("boost", RedirectPaymentMethodCreateMethodEnum.BOOST); @@ -366,9 +392,11 @@ private static final Map createEn map.put("dcb", RedirectPaymentMethodCreateMethodEnum.DCB); map.put("dlocal", RedirectPaymentMethodCreateMethodEnum.DLOCAL); map.put("duitnow", RedirectPaymentMethodCreateMethodEnum.DUITNOW); + map.put("ebankingfi", RedirectPaymentMethodCreateMethodEnum.EBANKINGFI); map.put("ebanx", RedirectPaymentMethodCreateMethodEnum.EBANX); map.put("eckoh", RedirectPaymentMethodCreateMethodEnum.ECKOH); map.put("efecty", RedirectPaymentMethodCreateMethodEnum.EFECTY); + map.put("eftpad", RedirectPaymentMethodCreateMethodEnum.EFTPAD); map.put("eps", RedirectPaymentMethodCreateMethodEnum.EPS); map.put("everydaypay", RedirectPaymentMethodCreateMethodEnum.EVERYDAYPAY); map.put("gcash", RedirectPaymentMethodCreateMethodEnum.GCASH); @@ -392,7 +420,9 @@ private static final Map createEn map.put("linepay", RedirectPaymentMethodCreateMethodEnum.LINEPAY); map.put("linkaja", RedirectPaymentMethodCreateMethodEnum.LINKAJA); map.put("maybankqrpay", RedirectPaymentMethodCreateMethodEnum.MAYBANKQRPAY); + map.put("mbway", RedirectPaymentMethodCreateMethodEnum.MBWAY); map.put("mercadopago", RedirectPaymentMethodCreateMethodEnum.MERCADOPAGO); + map.put("mobilepay", RedirectPaymentMethodCreateMethodEnum.MOBILEPAY); map.put("multibanco", RedirectPaymentMethodCreateMethodEnum.MULTIBANCO); map.put("multipago", RedirectPaymentMethodCreateMethodEnum.MULTIPAGO); map.put("netbanking", RedirectPaymentMethodCreateMethodEnum.NETBANKING); @@ -410,6 +440,7 @@ private static final Map createEn map.put("p24", RedirectPaymentMethodCreateMethodEnum.P24); map.put("pagoefectivo", RedirectPaymentMethodCreateMethodEnum.PAGOEFECTIVO); map.put("paybybank", RedirectPaymentMethodCreateMethodEnum.PAYBYBANK); + map.put("paybybankeu", RedirectPaymentMethodCreateMethodEnum.PAYBYBANKEU); map.put("payid", RedirectPaymentMethodCreateMethodEnum.PAYID); map.put("paymaya", RedirectPaymentMethodCreateMethodEnum.PAYMAYA); map.put("paysquad", RedirectPaymentMethodCreateMethodEnum.PAYSQUAD); @@ -426,6 +457,7 @@ private static final Map createEn map.put("rapipago", RedirectPaymentMethodCreateMethodEnum.RAPIPAGO); map.put("razorpay", RedirectPaymentMethodCreateMethodEnum.RAZORPAY); map.put("redpagos", RedirectPaymentMethodCreateMethodEnum.REDPAGOS); + map.put("riverty", RedirectPaymentMethodCreateMethodEnum.RIVERTY); map.put("scalapay", RedirectPaymentMethodCreateMethodEnum.SCALAPAY); map.put("sepa", RedirectPaymentMethodCreateMethodEnum.SEPA); map.put("servipag", RedirectPaymentMethodCreateMethodEnum.SERVIPAG); @@ -448,6 +480,7 @@ private static final Map createEn map.put("truemoney", RedirectPaymentMethodCreateMethodEnum.TRUEMONEY); map.put("trustly", RedirectPaymentMethodCreateMethodEnum.TRUSTLY); map.put("trustlyeurope", RedirectPaymentMethodCreateMethodEnum.TRUSTLYEUROPE); + map.put("twint", RedirectPaymentMethodCreateMethodEnum.TWINT); map.put("upi", RedirectPaymentMethodCreateMethodEnum.UPI); map.put("venmo", RedirectPaymentMethodCreateMethodEnum.VENMO); map.put("vipps", RedirectPaymentMethodCreateMethodEnum.VIPPS); @@ -468,12 +501,16 @@ public enum RedirectPaymentMethodCreateMethodEnum { AFTERPAY("afterpay"), ALIPAY("alipay"), ALIPAYHK("alipayhk"), + ALIPAYPLUS("alipayplus"), + ALMA("alma"), ARCUSPAYNETWORK("arcuspaynetwork"), BACS("bacs"), BANCONTACT("bancontact"), + BCMCMOBILE("bcmcmobile"), BCP("bcp"), BECS("becs"), BITPAY("bitpay"), + BIZUM("bizum"), BLIK("blik"), BOLETO("boleto"), BOOST("boost"), @@ -490,9 +527,11 @@ public enum RedirectPaymentMethodCreateMethodEnum { DCB("dcb"), DLOCAL("dlocal"), DUITNOW("duitnow"), + EBANKINGFI("ebankingfi"), EBANX("ebanx"), ECKOH("eckoh"), EFECTY("efecty"), + EFTPAD("eftpad"), EPS("eps"), EVERYDAYPAY("everydaypay"), GCASH("gcash"), @@ -516,7 +555,9 @@ public enum RedirectPaymentMethodCreateMethodEnum { LINEPAY("linepay"), LINKAJA("linkaja"), MAYBANKQRPAY("maybankqrpay"), + MBWAY("mbway"), MERCADOPAGO("mercadopago"), + MOBILEPAY("mobilepay"), MULTIBANCO("multibanco"), MULTIPAGO("multipago"), NETBANKING("netbanking"), @@ -534,6 +575,7 @@ public enum RedirectPaymentMethodCreateMethodEnum { P24("p24"), PAGOEFECTIVO("pagoefectivo"), PAYBYBANK("paybybank"), + PAYBYBANKEU("paybybankeu"), PAYID("payid"), PAYMAYA("paymaya"), PAYSQUAD("paysquad"), @@ -550,6 +592,7 @@ public enum RedirectPaymentMethodCreateMethodEnum { RAPIPAGO("rapipago"), RAZORPAY("razorpay"), REDPAGOS("redpagos"), + RIVERTY("riverty"), SCALAPAY("scalapay"), SEPA("sepa"), SERVIPAG("servipag"), @@ -572,6 +615,7 @@ public enum RedirectPaymentMethodCreateMethodEnum { TRUEMONEY("truemoney"), TRUSTLY("trustly"), TRUSTLYEUROPE("trustlyeurope"), + TWINT("twint"), UPI("upi"), VENMO("venmo"), VIPPS("vipps"), diff --git a/src/main/java/com/gr4vy/sdk/models/components/UserStatus.java b/src/main/java/com/gr4vy/sdk/models/components/UserStatus.java index ac13a934..074cffe6 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/UserStatus.java +++ b/src/main/java/com/gr4vy/sdk/models/components/UserStatus.java @@ -23,6 +23,7 @@ public class UserStatus { public static final UserStatus ACTIVE = new UserStatus("active"); public static final UserStatus PENDING = new UserStatus("pending"); public static final UserStatus DELETED = new UserStatus("deleted"); + public static final UserStatus RESET = new UserStatus("reset"); // This map will grow whenever a Color gets created with a new // unrecognized value (a potential memory leak if the user is not @@ -99,6 +100,7 @@ private static final Map createValuesMap() { map.put("active", ACTIVE); map.put("pending", PENDING); map.put("deleted", DELETED); + map.put("reset", RESET); return map; } @@ -107,6 +109,7 @@ private static final Map createEnumsMap() { map.put("active", UserStatusEnum.ACTIVE); map.put("pending", UserStatusEnum.PENDING); map.put("deleted", UserStatusEnum.DELETED); + map.put("reset", UserStatusEnum.RESET); return map; } @@ -115,7 +118,8 @@ public enum UserStatusEnum { ACTIVE("active"), PENDING("pending"), - DELETED("deleted"),; + DELETED("deleted"), + RESET("reset"),; private final String value;