diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 3f935bb1..9b7e6ca9 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119
management:
- docChecksum: 443cb8b391708a091a1e8e2803624e0d
+ docChecksum: 298d0882d8ed1a10296af801588ddcad
docVersion: 1.0.0
- speakeasyVersion: 1.718.0
+ speakeasyVersion: 1.719.0
generationVersion: 2.824.1
- releaseVersion: 2.16.27
- configChecksum: 4744567673371d00dad3d977efe9ad76
+ releaseVersion: 2.16.28
+ configChecksum: e1547ef671da13e4a76ac2fed093a94e
repoURL: https://github.com/gr4vy/gr4vy-java.git
published: true
persistentEdits:
- generation_id: 919e3758-7a8d-451c-a5fd-0764f5e13609
- pristine_commit_hash: 09332618c1ef24795eb0015cf2f668c0899d6722
- pristine_tree_hash: 958c06b476774dd39b8d87258e13774b823437d5
+ generation_id: 410319bf-29c8-400a-a59f-d0c16bb9c167
+ pristine_commit_hash: 4b311350ae61a692aa4852f20bd9acf2055a4577
+ pristine_tree_hash: 3f55a2bdddd7aafc1677dc78ccbadc5d89d947f0
features:
java:
additionalDependencies: 0.1.0
@@ -671,6 +671,10 @@ trackedFiles:
id: e6b00be03ad1
last_write_checksum: sha1:f5e3c2c462774b3e3e06f096a41de615cd8c3e01
pristine_git_object: 078b7cf24c782e2df0545daae0cbde83325b0ec5
+ docs/models/components/NuveiKlarnaOptions.md:
+ id: 09bba23be601
+ last_write_checksum: sha1:506e6ff54a0ea52a9bc3558940a300273872f91f
+ pristine_git_object: 2c88a463fb2efaafda176d0fd79f4fb41750f994
docs/models/components/NuveiOptions.md:
id: 654e7040f1f1
last_write_checksum: sha1:7b142a28347af1beaea2b2cb567e563cce160f83
@@ -1153,8 +1157,8 @@ trackedFiles:
pristine_git_object: fc532f806750ff9aed723b9b4d74efde86ed8b22
docs/models/components/TransactionConnectionOptions.md:
id: 2a90ee52a662
- last_write_checksum: sha1:024c5fab61dfab0eb7bf59ccd4e67a4019db4902
- pristine_git_object: 7c5116383b980ca145c7ef5c8c6487a5901d56bb
+ last_write_checksum: sha1:9ba6724cdbf965837beb4ca877e03c93e9749e33
+ pristine_git_object: 46edd39ab79aab4c95267a2d61df139db35a08af
docs/models/components/TransactionCreate.md:
id: 0af6b811ca1f
last_write_checksum: sha1:dc0985503d742169b49dfe33aa1035f6ef04ab4c
@@ -2313,8 +2317,8 @@ trackedFiles:
pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b
gradle.properties:
id: 2afbb999f001
- last_write_checksum: sha1:bbc43323613c777a176180be44ef1ae12276cd4d
- pristine_git_object: b3306682721baaa0002f70b194db56d187bd762d
+ last_write_checksum: sha1:967f17e934286adfe8d80b660973dd4a7c01de56
+ pristine_git_object: 0b9ccd202018343adca0fc7772de2d31484f34de
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -2637,8 +2641,8 @@ trackedFiles:
pristine_git_object: 502a7312d3dc82c102dbaf7ed5e952d0c793e26f
src/main/java/com/gr4vy/sdk/SDKConfiguration.java:
id: 73a7edeaca45
- last_write_checksum: sha1:defe8682f03b57163818346261cd33a23b55f28c
- pristine_git_object: 2bb5e3d623d773da1212a30b6b8e6648052d48df
+ last_write_checksum: sha1:00a8cf2271511a17aaf00733eaf7bf6142e20169
+ pristine_git_object: d48cc72f564f70b05ddbc4e2260f2a4de6018d40
src/main/java/com/gr4vy/sdk/SecuritySource.java:
id: 1b6add6b9b50
last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd
@@ -3295,6 +3299,10 @@ trackedFiles:
id: ebe88aaa899d
last_write_checksum: sha1:926fcb16ccfc5f56a336e3d2216807f3c0180669
pristine_git_object: a56fbbe6807eca74778a43415d963de20509380a
+ src/main/java/com/gr4vy/sdk/models/components/NuveiKlarnaOptions.java:
+ id: fed1917368f4
+ last_write_checksum: sha1:8b0240ae6a149bbe4aa41291c53f22f16a4264ce
+ pristine_git_object: 4206b72f265d0449954d3ab18e9e8d2ca23571ba
src/main/java/com/gr4vy/sdk/models/components/NuveiOptions.java:
id: f3eb427b8c7a
last_write_checksum: sha1:38f9d86d2a471f0962d467995a13eefaef2ee097
@@ -3781,8 +3789,8 @@ trackedFiles:
pristine_git_object: 0a47fad3846506a7cbb30ea1f85895f6403e322d
src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java:
id: 31501e4506f3
- last_write_checksum: sha1:c9ce54f10e40ed096d27132de6ffe03383d053d5
- pristine_git_object: c65127cbc6c8ec86ed0a3451911f3aba417dc2f7
+ last_write_checksum: sha1:c448e3d93dc3aa2b8044f084e418edcc253db2d0
+ pristine_git_object: 803283e6564f9fcf644730227e1c39a5a3c24c84
src/main/java/com/gr4vy/sdk/models/components/TransactionCreate.java:
id: 85da9dd45d8a
last_write_checksum: sha1:09f92bca972295f8156fc778049a61baea617409
@@ -10470,7 +10478,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[].scheme.enum(qcard)` **Added**\n* `gr4vy.paymentMethods.list()`: `response.items[].scheme.enum(qcard)` **Added**\n* `gr4vy.paymentMethods.create()`: `response.scheme.enum(qcard)` **Added**\n* `gr4vy.paymentMethods.get()`: `response.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.list()`: `response.items[].paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.create()`: \n * `request.transactionCreate.paymentMethod.union(NetworkTokenPaymentMethodCreate).cardScheme.enum(qcard)` **Added**\n * `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.get()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.update()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.capture()`: `response.union(Transaction).paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.void()`: `response.union(Transaction).paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.cancel()`: `response.transaction.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.transactions.sync()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.checkoutSessions.create()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.checkoutSessions.update()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.checkoutSessions.get()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.list()`: `response.items[].loonAcceptedSchemes[].enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.create()`: \n * `request.loonAcceptedSchemes[].enum(qcard)` **Added**\n * `response.loonAcceptedSchemes[].enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.get()`: `response.loonAcceptedSchemes[].enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.update()`: \n * `request.merchantAccountUpdate.loonAcceptedSchemes[].enum(qcard)` **Added**\n * `response.loonAcceptedSchemes[].enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.threeDsConfiguration.create()`: \n * `request.merchantAccountThreeDsConfigurationCreate.scheme.enum(qcard)` **Added**\n * `response.scheme.enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.threeDsConfiguration.list()`: `response.items[].scheme.enum(qcard)` **Added**\n* `gr4vy.merchantAccounts.threeDsConfiguration.update()`: \n * `request.merchantAccountThreeDsConfigurationUpdate.scheme.enum(qcard)` **Added**\n * `response.scheme.enum(qcard)` **Added**\n* `gr4vy.payouts.list()`: `response.items[].paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.payouts.create()`: \n * `request.payoutCreate.paymentMethod.union(PaymentMethodCard).cardScheme.enum(qcard)` **Added**\n * `response.paymentMethod.scheme.enum(qcard)` **Added**\n* `gr4vy.payouts.get()`: `response.paymentMethod.scheme.enum(qcard)` **Added**\n"
+releaseNotes: "## Java SDK Changes:\n* `gr4vy.transactions.create()`: \n * `request.transactionCreate.connectionOptions.nuveiKlarna` **Added**\n* `gr4vy.transactions.update()`: \n * `request.transactionUpdate.connectionOptions.nuveiKlarna` **Added**\n* `gr4vy.paymentLinks.create()`: \n * `request.paymentLinkCreate.connectionOptions.nuveiKlarna` **Added**\n"
generatedFiles:
- .gitattributes
- USAGE.md
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 13aff0c6..9830e001 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
- version: 2.16.27
+ version: 2.16.28
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 df7de0b5..4442ab9e 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,4 +1,4 @@
-speakeasyVersion: 1.718.0
+speakeasyVersion: 1.719.0
sources:
Gr4vy:
sourceNamespace: openapi
@@ -9,11 +9,11 @@ sources:
- 1.0.0
openapi:
sourceNamespace: openapi
- sourceRevisionDigest: sha256:eeb4c1ba5a01c3eee69ce543bd0070e9e4038b9709bed691f09215a566482b45
- sourceBlobDigest: sha256:9650ecfb344dbd106dd0526bee5f12f4ac7135149658f37d42d508ec57117d33
+ sourceRevisionDigest: sha256:7a797a2aab7fb88c3577436ad984b37d8d292fb074eb78c87378701db438bb33
+ sourceBlobDigest: sha256:8ff160d42dcff345a2e8309307c1a2fcc423009c218868b11c7be345edcd7a4e
tags:
- latest
- - speakeasy-sdk-regen-1771249422
+ - speakeasy-sdk-regen-1771257739
- 1.0.0
targets:
gr-4-vy:
@@ -26,10 +26,10 @@ targets:
java:
source: openapi
sourceNamespace: openapi
- sourceRevisionDigest: sha256:eeb4c1ba5a01c3eee69ce543bd0070e9e4038b9709bed691f09215a566482b45
- sourceBlobDigest: sha256:9650ecfb344dbd106dd0526bee5f12f4ac7135149658f37d42d508ec57117d33
+ sourceRevisionDigest: sha256:7a797a2aab7fb88c3577436ad984b37d8d292fb074eb78c87378701db438bb33
+ sourceBlobDigest: sha256:8ff160d42dcff345a2e8309307c1a2fcc423009c218868b11c7be345edcd7a4e
codeSamplesNamespace: openapi-java-code-samples
- codeSamplesRevisionDigest: sha256:acaf90000396bfe402f562936c7033d2d5eb04f02afaf6204839b8fd5c692288
+ codeSamplesRevisionDigest: sha256:56acf4f31f8c8172d7b622ee2dd6780215fc9b1ce24a6e49aaaec188cbedabd5
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
diff --git a/README.md b/README.md
index 44c66aba..f22e811f 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
-implementation 'com.gr4vy:sdk:2.16.27'
+implementation 'com.gr4vy:sdk:2.16.28'
```
Maven:
@@ -66,7 +66,7 @@ Maven:
com.gr4vy
sdk
- 2.16.27
+ 2.16.28
```
diff --git a/RELEASES.md b/RELEASES.md
index e83416be..3f7f5fc1 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -1108,4 +1108,14 @@ Based on:
### Generated
- [java v2.16.27] .
### Releases
-- [Maven Central v2.16.27] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.27 - .
\ No newline at end of file
+- [Maven Central v2.16.27] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.27 - .
+
+## 2026-02-16 16:01:53
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.719.0 (2.824.1) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [java v2.16.28] .
+### Releases
+- [Maven Central v2.16.28] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.28 - .
\ No newline at end of file
diff --git a/docs/models/components/NuveiKlarnaOptions.md b/docs/models/components/NuveiKlarnaOptions.md
new file mode 100644
index 00000000..2c88a463
--- /dev/null
+++ b/docs/models/components/NuveiKlarnaOptions.md
@@ -0,0 +1,8 @@
+# NuveiKlarnaOptions
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `customData` | *JsonNullable\* | :heavy_minus_sign: | Additional data to be sent to Nuvei. | user=123,trusted=false |
\ No newline at end of file
diff --git a/docs/models/components/TransactionConnectionOptions.md b/docs/models/components/TransactionConnectionOptions.md
index 7c511638..46edd39a 100644
--- a/docs/models/components/TransactionConnectionOptions.md
+++ b/docs/models/components/TransactionConnectionOptions.md
@@ -38,6 +38,7 @@
| `mockCard` | [JsonNullable\](../../models/components/MockCardOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `mock-card` connector. |
| `nuveiCard` | [JsonNullable\](../../models/components/NuveiOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `nuvei-card` connector. |
| `nuveiIdeal` | [JsonNullable\](../../models/components/NuveiIDealOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `nuvei-ideal` connector. |
+| `nuveiKlarna` | [JsonNullable\](../../models/components/NuveiKlarnaOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `nuvei-klarna` connector. |
| `nuveiPse` | [JsonNullable\](../../models/components/NuveiPSEOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `nuvei-pse` connector. |
| `oxxoOxxo` | [JsonNullable\](../../models/components/OxxoOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `oxxo-oxxo` connector. |
| `paypalPaypal` | [JsonNullable\](../../models/components/PaypalOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `paypal-paypal` connector. |
diff --git a/gradle.properties b/gradle.properties
index b3306682..0b9ccd20 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
groupId=com.gr4vy
artifactId=sdk
-version=2.16.27
+version=2.16.28
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 2bb5e3d6..d48cc72f 100644
--- a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java
+++ b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java
@@ -22,7 +22,7 @@ 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.16.27";
+ public static final String SDK_VERSION = "2.16.28";
public static final String GEN_VERSION = "2.824.1";
private static final String BASE_PACKAGE = "com.gr4vy.sdk";
public static final String USER_AGENT =
diff --git a/src/main/java/com/gr4vy/sdk/models/components/NuveiKlarnaOptions.java b/src/main/java/com/gr4vy/sdk/models/components/NuveiKlarnaOptions.java
new file mode 100644
index 00000000..4206b72f
--- /dev/null
+++ b/src/main/java/com/gr4vy/sdk/models/components/NuveiKlarnaOptions.java
@@ -0,0 +1,127 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+package com.gr4vy.sdk.models.components;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude.Include;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.gr4vy.sdk.utils.Utils;
+import java.lang.Override;
+import java.lang.String;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+
+public class NuveiKlarnaOptions {
+ /**
+ * Additional data to be sent to Nuvei.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("customData")
+ private JsonNullable customData;
+
+ @JsonCreator
+ public NuveiKlarnaOptions(
+ @JsonProperty("customData") JsonNullable customData) {
+ Utils.checkNotNull(customData, "customData");
+ this.customData = customData;
+ }
+
+ public NuveiKlarnaOptions() {
+ this(JsonNullable.undefined());
+ }
+
+ /**
+ * Additional data to be sent to Nuvei.
+ */
+ @JsonIgnore
+ public JsonNullable customData() {
+ return customData;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+
+ /**
+ * Additional data to be sent to Nuvei.
+ */
+ public NuveiKlarnaOptions withCustomData(String customData) {
+ Utils.checkNotNull(customData, "customData");
+ this.customData = JsonNullable.of(customData);
+ return this;
+ }
+
+ /**
+ * Additional data to be sent to Nuvei.
+ */
+ public NuveiKlarnaOptions withCustomData(JsonNullable customData) {
+ Utils.checkNotNull(customData, "customData");
+ this.customData = customData;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ NuveiKlarnaOptions other = (NuveiKlarnaOptions) o;
+ return
+ Utils.enhancedDeepEquals(this.customData, other.customData);
+ }
+
+ @Override
+ public int hashCode() {
+ return Utils.enhancedHash(
+ customData);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(NuveiKlarnaOptions.class,
+ "customData", customData);
+ }
+
+ @SuppressWarnings("UnusedReturnValue")
+ public final static class Builder {
+
+ private JsonNullable customData = JsonNullable.undefined();
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+
+ /**
+ * Additional data to be sent to Nuvei.
+ */
+ public Builder customData(String customData) {
+ Utils.checkNotNull(customData, "customData");
+ this.customData = JsonNullable.of(customData);
+ return this;
+ }
+
+ /**
+ * Additional data to be sent to Nuvei.
+ */
+ public Builder customData(JsonNullable customData) {
+ Utils.checkNotNull(customData, "customData");
+ this.customData = customData;
+ return this;
+ }
+
+ public NuveiKlarnaOptions build() {
+
+ return new NuveiKlarnaOptions(
+ customData);
+ }
+
+ }
+}
diff --git a/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java b/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java
index c65127cb..803283e6 100644
--- a/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java
+++ b/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java
@@ -248,6 +248,13 @@ public class TransactionConnectionOptions {
@JsonProperty("nuvei-ideal")
private JsonNullable extends NuveiIDealOptions> nuveiIdeal;
+ /**
+ * Custom options to be passed to the `nuvei-klarna` connector.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("nuvei-klarna")
+ private JsonNullable extends NuveiKlarnaOptions> nuveiKlarna;
+
/**
* Custom options to be passed to the `nuvei-pse` connector.
*/
@@ -353,6 +360,7 @@ public TransactionConnectionOptions(
@JsonProperty("mock-card") JsonNullable extends MockCardOptions> mockCard,
@JsonProperty("nuvei-card") JsonNullable extends NuveiOptions> nuveiCard,
@JsonProperty("nuvei-ideal") JsonNullable extends NuveiIDealOptions> nuveiIdeal,
+ @JsonProperty("nuvei-klarna") JsonNullable extends NuveiKlarnaOptions> nuveiKlarna,
@JsonProperty("nuvei-pse") JsonNullable extends NuveiPSEOptions> nuveiPse,
@JsonProperty("oxxo-oxxo") JsonNullable extends OxxoOptions> oxxoOxxo,
@JsonProperty("paypal-paypal") JsonNullable extends PaypalOptions> paypalPaypal,
@@ -396,6 +404,7 @@ public TransactionConnectionOptions(
Utils.checkNotNull(mockCard, "mockCard");
Utils.checkNotNull(nuveiCard, "nuveiCard");
Utils.checkNotNull(nuveiIdeal, "nuveiIdeal");
+ Utils.checkNotNull(nuveiKlarna, "nuveiKlarna");
Utils.checkNotNull(nuveiPse, "nuveiPse");
Utils.checkNotNull(oxxoOxxo, "oxxoOxxo");
Utils.checkNotNull(paypalPaypal, "paypalPaypal");
@@ -439,6 +448,7 @@ public TransactionConnectionOptions(
this.mockCard = mockCard;
this.nuveiCard = nuveiCard;
this.nuveiIdeal = nuveiIdeal;
+ this.nuveiKlarna = nuveiKlarna;
this.nuveiPse = nuveiPse;
this.oxxoOxxo = oxxoOxxo;
this.paypalPaypal = paypalPaypal;
@@ -466,7 +476,7 @@ public TransactionConnectionOptions() {
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
- JsonNullable.undefined());
+ JsonNullable.undefined(), JsonNullable.undefined());
}
/**
@@ -767,6 +777,15 @@ public JsonNullable nuveiIdeal() {
return (JsonNullable) nuveiIdeal;
}
+ /**
+ * Custom options to be passed to the `nuvei-klarna` connector.
+ */
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public JsonNullable nuveiKlarna() {
+ return (JsonNullable) nuveiKlarna;
+ }
+
/**
* Custom options to be passed to the `nuvei-pse` connector.
*/
@@ -1458,6 +1477,24 @@ public TransactionConnectionOptions withNuveiIdeal(JsonNullable extends NuveiI
return this;
}
+ /**
+ * Custom options to be passed to the `nuvei-klarna` connector.
+ */
+ public TransactionConnectionOptions withNuveiKlarna(NuveiKlarnaOptions nuveiKlarna) {
+ Utils.checkNotNull(nuveiKlarna, "nuveiKlarna");
+ this.nuveiKlarna = JsonNullable.of(nuveiKlarna);
+ return this;
+ }
+
+ /**
+ * Custom options to be passed to the `nuvei-klarna` connector.
+ */
+ public TransactionConnectionOptions withNuveiKlarna(JsonNullable extends NuveiKlarnaOptions> nuveiKlarna) {
+ Utils.checkNotNull(nuveiKlarna, "nuveiKlarna");
+ this.nuveiKlarna = nuveiKlarna;
+ return this;
+ }
+
/**
* Custom options to be passed to the `nuvei-pse` connector.
*/
@@ -1681,6 +1718,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.mockCard, other.mockCard) &&
Utils.enhancedDeepEquals(this.nuveiCard, other.nuveiCard) &&
Utils.enhancedDeepEquals(this.nuveiIdeal, other.nuveiIdeal) &&
+ Utils.enhancedDeepEquals(this.nuveiKlarna, other.nuveiKlarna) &&
Utils.enhancedDeepEquals(this.nuveiPse, other.nuveiPse) &&
Utils.enhancedDeepEquals(this.oxxoOxxo, other.oxxoOxxo) &&
Utils.enhancedDeepEquals(this.paypalPaypal, other.paypalPaypal) &&
@@ -1707,10 +1745,10 @@ public int hashCode() {
gocardlessGocardless, latitudeLatitude, latitudeLatitudeds,
mattildaTapi, mattildaTapifintechs, monatoSpei,
mockCard, nuveiCard, nuveiIdeal,
- nuveiPse, oxxoOxxo, paypalPaypal,
- paypalPaypalpaylater, powertranzCard, stripeCard,
- travelhubCard, trustlyTrustly, wpayEverydaypay,
- wpayPayto);
+ nuveiKlarna, nuveiPse, oxxoOxxo,
+ paypalPaypal, paypalPaypalpaylater, powertranzCard,
+ stripeCard, travelhubCard, trustlyTrustly,
+ wpayEverydaypay, wpayPayto);
}
@Override
@@ -1749,6 +1787,7 @@ public String toString() {
"mockCard", mockCard,
"nuveiCard", nuveiCard,
"nuveiIdeal", nuveiIdeal,
+ "nuveiKlarna", nuveiKlarna,
"nuveiPse", nuveiPse,
"oxxoOxxo", oxxoOxxo,
"paypalPaypal", paypalPaypal,
@@ -1830,6 +1869,8 @@ public final static class Builder {
private JsonNullable extends NuveiIDealOptions> nuveiIdeal = JsonNullable.undefined();
+ private JsonNullable extends NuveiKlarnaOptions> nuveiKlarna = JsonNullable.undefined();
+
private JsonNullable extends NuveiPSEOptions> nuveiPse = JsonNullable.undefined();
private JsonNullable extends OxxoOptions> oxxoOxxo = JsonNullable.undefined();
@@ -2484,6 +2525,25 @@ public Builder nuveiIdeal(JsonNullable extends NuveiIDealOptions> nuveiIdeal)
}
+ /**
+ * Custom options to be passed to the `nuvei-klarna` connector.
+ */
+ public Builder nuveiKlarna(NuveiKlarnaOptions nuveiKlarna) {
+ Utils.checkNotNull(nuveiKlarna, "nuveiKlarna");
+ this.nuveiKlarna = JsonNullable.of(nuveiKlarna);
+ return this;
+ }
+
+ /**
+ * Custom options to be passed to the `nuvei-klarna` connector.
+ */
+ public Builder nuveiKlarna(JsonNullable extends NuveiKlarnaOptions> nuveiKlarna) {
+ Utils.checkNotNull(nuveiKlarna, "nuveiKlarna");
+ this.nuveiKlarna = nuveiKlarna;
+ return this;
+ }
+
+
/**
* Custom options to be passed to the `nuvei-pse` connector.
*/
@@ -2687,10 +2747,10 @@ public TransactionConnectionOptions build() {
gocardlessGocardless, latitudeLatitude, latitudeLatitudeds,
mattildaTapi, mattildaTapifintechs, monatoSpei,
mockCard, nuveiCard, nuveiIdeal,
- nuveiPse, oxxoOxxo, paypalPaypal,
- paypalPaypalpaylater, powertranzCard, stripeCard,
- travelhubCard, trustlyTrustly, wpayEverydaypay,
- wpayPayto);
+ nuveiKlarna, nuveiPse, oxxoOxxo,
+ paypalPaypal, paypalPaypalpaylater, powertranzCard,
+ stripeCard, travelhubCard, trustlyTrustly,
+ wpayEverydaypay, wpayPayto);
}
}