Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119
management:
docChecksum: a5c0781808a124016d134d6cfd24d571
docChecksum: 67bba403cc5b2d99755a1945396d7771
docVersion: 1.0.0
speakeasyVersion: 1.791.1
generationVersion: 2.926.2
releaseVersion: 2.18.6
configChecksum: a4943711fd47365500ebfe9bab817691
speakeasyVersion: 1.791.4
generationVersion: 2.926.8
releaseVersion: 2.18.7
configChecksum: 0af6f2f84c19245dd5bff780ab3cea9c
repoURL: https://github.com/gr4vy/gr4vy-java.git
installationURL: https://github.com/gr4vy/gr4vy-java
published: true
persistentEdits:
generation_id: 53fa2ec1-c202-48d1-9712-e5506fc4cfda
pristine_commit_hash: cb0b428c062d2cfe8ce01aa6a27a9bd2b76ac5da
pristine_tree_hash: f2c77831019319a6f20f0698551073d9fcc528c7
generation_id: dcef486b-504d-4e24-bba5-4872989b481f
pristine_commit_hash: 478602e3a80a41c94b8e68f53db4db6159d93037
pristine_tree_hash: e76ee304585eedd546ab9adaf9fd6a5e40b9fdda
features:
java:
additionalDependencies: 0.1.0
Expand Down Expand Up @@ -1635,8 +1635,8 @@ trackedFiles:
pristine_git_object: 882b8d80ff6fb93e3141c30bbf2456068f681de2
docs/models/components/WorldpayVapOptions.md:
id: 6d85bef02be6
last_write_checksum: sha1:12451b42411836f90cd002dc85b69a54af98c814
pristine_git_object: bcdcddd624cb26d438f6cfbdd94b193dc694d13c
last_write_checksum: sha1:c8d98206a4354d91bce0c28a1412962a8ad2acbc
pristine_git_object: 0b0f816ba2bfad16b59316eba5bf94789a8e0751
docs/models/components/WpayEverdaypayOptions.md:
id: d98a94f2e558
last_write_checksum: sha1:182129f45477b6d51a4425c495f2a5f7bcae2fad
Expand Down Expand Up @@ -2839,8 +2839,8 @@ trackedFiles:
pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b
gradle.properties:
id: 2afbb999f001
last_write_checksum: sha1:2e288c7ab7cb6d561699f5841ceae870065575c2
pristine_git_object: fbe7588b9075aaae2cf5a28180960356f86c0e0d
last_write_checksum: sha1:9a43829b0e2dad5635c33be6efc242b572ac85ee
pristine_git_object: dc4e5a66eb64d1c588e6918176c43ebcc4c1a9cd
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
Expand Down Expand Up @@ -3175,8 +3175,8 @@ trackedFiles:
pristine_git_object: 502a7312d3dc82c102dbaf7ed5e952d0c793e26f
src/main/java/com/gr4vy/sdk/SDKConfiguration.java:
id: 73a7edeaca45
last_write_checksum: sha1:45b51e17f3c8f6151dd9e1f50bdfe3fde26f316c
pristine_git_object: 0e7f8fe0d874e4a13e4fbc34f0b78d1697ea14ed
last_write_checksum: sha1:599a589854cd0c8dc5e1d6022b9dd17fd0f3c81b
pristine_git_object: 70ef8e2cf5ef6c3f7591b9d0d7f6272d7ac376ef
src/main/java/com/gr4vy/sdk/SecuritySource.java:
id: 1b6add6b9b50
last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd
Expand Down Expand Up @@ -4803,8 +4803,8 @@ trackedFiles:
pristine_git_object: bb1940cee39bcde976601785d2991fd7ae36fa5d
src/main/java/com/gr4vy/sdk/models/components/WorldpayVapOptions.java:
id: fd4315a85e8e
last_write_checksum: sha1:d5a8057b20be805a7c3174569ddf589afb229eee
pristine_git_object: c78aecd1ea9bd84d3200ce9b2a34e001d7148384
last_write_checksum: sha1:d1216e5061dfdbdf4aeedc294168bcb4531e0203
pristine_git_object: 0f319940690c7be53b35c95bcb14b9438c19ac37
src/main/java/com/gr4vy/sdk/models/components/WpayEverdaypayOptions.java:
id: 13ecd069b4e4
last_write_checksum: sha1:dc781c5c412a6fb7971f685a4cb4cf9a40013fd9
Expand Down Expand Up @@ -12342,6 +12342,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.transactions.create()`: \n * `request.transactionCreate.connectionOptions.worldpayvapCard.orderId` **Added**\n* `gr4vy.transactions.update()`: \n * `request.transactionUpdate.connectionOptions.worldpayvapCard.orderId` **Added**\n* `gr4vy.paymentLinks.create()`: \n * `request.paymentLinkCreate.connectionOptions.worldpayvapCard.orderId` **Added**\n"
generatedFiles:
- .gitattributes
- USAGE.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 2.18.6
version: 2.18.7
additionalDependencies:
- testImplementation:org.junit.jupiter:junit-jupiter:5.10.0
- implementation:com.auth0:java-jwt:4.5.0
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.791.1
speakeasyVersion: 1.791.4
sources:
Gr4vy:
sourceNamespace: openapi
Expand All @@ -9,8 +9,8 @@ sources:
- 1.0.0
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:ef959934e5e761c1780fc2e176fcdf1b13703fcffa51b4cf386a8c7aef6c962c
sourceBlobDigest: sha256:17310501feec7376e462294379190236333429c73b9be9d2b8a33e56f7f10d3a
sourceRevisionDigest: sha256:cec9c81335334dc49584c32a54b978e4d1c2ee9f921e1e313cb788f525e0aaeb
sourceBlobDigest: sha256:5f745fc48b404f82dabc6be76579e2d7f078238da276684226cb495c157c61ff
tags:
- latest
- 1.0.0
Expand All @@ -25,10 +25,10 @@ targets:
java:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:ef959934e5e761c1780fc2e176fcdf1b13703fcffa51b4cf386a8c7aef6c962c
sourceBlobDigest: sha256:17310501feec7376e462294379190236333429c73b9be9d2b8a33e56f7f10d3a
sourceRevisionDigest: sha256:cec9c81335334dc49584c32a54b978e4d1c2ee9f921e1e313cb788f525e0aaeb
sourceBlobDigest: sha256:5f745fc48b404f82dabc6be76579e2d7f078238da276684226cb495c157c61ff
codeSamplesNamespace: openapi-java-code-samples
codeSamplesRevisionDigest: sha256:f02f8b7a0dfdea9500cdf21cc68a1b6f8d094e02a35a95274c82abd1fd829e14
codeSamplesRevisionDigest: sha256:bd76c3dadce7918782f171b07f7dd8784e4fe7fc5e573732f02f58c1b2f54fb9
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.gr4vy:sdk:2.18.6'
implementation 'com.gr4vy:sdk:2.18.7'
```

Maven:
```xml
<dependency>
<groupId>com.gr4vy</groupId>
<artifactId>sdk</artifactId>
<version>2.18.6</version>
<version>2.18.7</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2088,4 +2088,14 @@ Based on:
### Generated
- [java v2.18.6] .
### Releases
- [Maven Central v2.18.6] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.18.6 - .
- [Maven Central v2.18.6] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.18.6 - .

## 2026-08-05 14:45:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.791.4 (2.926.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v2.18.7] .
### Releases
- [Maven Central v2.18.7] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.18.7 - .
7 changes: 4 additions & 3 deletions docs/models/components/WorldpayVapOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `reportGroup` | *JsonNullable\<String>* | :heavy_minus_sign: | Overrides the default report group to pass to the Worldpay VAP API. |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| `reportGroup` | *JsonNullable\<String>* | :heavy_minus_sign: | Overrides the default report group to pass to the Worldpay VAP API. | |
| `orderId` | *JsonNullable\<String>* | :heavy_minus_sign: | Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID. | order-123 |
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
groupId=com.gr4vy
artifactId=sdk
version=2.18.6
version=2.18.7
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
4 changes: 2 additions & 2 deletions src/main/java/com/gr4vy/sdk/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.6";
public static final String GEN_VERSION = "2.926.2";
public static final String SDK_VERSION = "2.18.7";
public static final String GEN_VERSION = "2.926.8";
private static final String BASE_PACKAGE = "com.gr4vy.sdk";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,25 @@ public class WorldpayVapOptions {
@JsonProperty("reportGroup")
private JsonNullable<String> reportGroup;

/**
* Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID.
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("orderId")
private JsonNullable<String> orderId;

@JsonCreator
public WorldpayVapOptions(
@JsonProperty("reportGroup") JsonNullable<String> reportGroup) {
@JsonProperty("reportGroup") JsonNullable<String> reportGroup,
@JsonProperty("orderId") JsonNullable<String> orderId) {
Utils.checkNotNull(reportGroup, "reportGroup");
Utils.checkNotNull(orderId, "orderId");
this.reportGroup = reportGroup;
this.orderId = orderId;
}

public WorldpayVapOptions() {
this(JsonNullable.undefined());
this(JsonNullable.undefined(), JsonNullable.undefined());
}

/**
Expand All @@ -41,6 +51,14 @@ public JsonNullable<String> reportGroup() {
return reportGroup;
}

/**
* Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID.
*/
@JsonIgnore
public JsonNullable<String> orderId() {
return orderId;
}

public static Builder builder() {
return new Builder();
}
Expand All @@ -64,6 +82,24 @@ public WorldpayVapOptions withReportGroup(JsonNullable<String> reportGroup) {
return this;
}

/**
* Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID.
*/
public WorldpayVapOptions withOrderId(String orderId) {
Utils.checkNotNull(orderId, "orderId");
this.orderId = JsonNullable.of(orderId);
return this;
}

/**
* Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID.
*/
public WorldpayVapOptions withOrderId(JsonNullable<String> orderId) {
Utils.checkNotNull(orderId, "orderId");
this.orderId = orderId;
return this;
}

@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
Expand All @@ -74,26 +110,30 @@ public boolean equals(java.lang.Object o) {
}
WorldpayVapOptions other = (WorldpayVapOptions) o;
return
Utils.enhancedDeepEquals(this.reportGroup, other.reportGroup);
Utils.enhancedDeepEquals(this.reportGroup, other.reportGroup) &&
Utils.enhancedDeepEquals(this.orderId, other.orderId);
}

@Override
public int hashCode() {
return Utils.enhancedHash(
reportGroup);
reportGroup, orderId);
}

@Override
public String toString() {
return Utils.toString(WorldpayVapOptions.class,
"reportGroup", reportGroup);
"reportGroup", reportGroup,
"orderId", orderId);
}

@SuppressWarnings("UnusedReturnValue")
public final static class Builder {

private JsonNullable<String> reportGroup = JsonNullable.undefined();

private JsonNullable<String> orderId = JsonNullable.undefined();

private Builder() {
// force use of static builder() method
}
Expand All @@ -117,10 +157,29 @@ public Builder reportGroup(JsonNullable<String> reportGroup) {
return this;
}


/**
* Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID.
*/
public Builder orderId(String orderId) {
Utils.checkNotNull(orderId, "orderId");
this.orderId = JsonNullable.of(orderId);
return this;
}

/**
* Overrides the `orderId` passed to the Worldpay VAP API, which defaults to the Gr4vy transaction ID.
*/
public Builder orderId(JsonNullable<String> orderId) {
Utils.checkNotNull(orderId, "orderId");
this.orderId = orderId;
return this;
}

public WorldpayVapOptions build() {

return new WorldpayVapOptions(
reportGroup);
reportGroup, orderId);
}

}
Expand Down
Loading