Skip to content

Commit 79b1b4e

Browse files
[checkout] Automated update from Adyen/adyen-openapi@bee086f
1 parent bca8a14 commit 79b1b4e

12 files changed

Lines changed: 1412 additions & 13 deletions

sdk-generation-log/checkout.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"service": "checkout",
33
"project": "java",
4-
"generatedAt": "2026-07-22T11:25:22Z",
5-
"openapiCommitSha": "c6f0131e5551226fd523852ff6f5ad1df6c72ee2",
6-
"automationCommitSha": "0c108bd8050cf480d2710b78b770afdfbdd89397",
7-
"libraryCommitSha": "913f166177824e57c26c5f0543b46144219ca6af"
4+
"generatedAt": "2026-08-21T13:01:48Z",
5+
"openapiCommitSha": "bee086f2cd666ac7cb5b5ba2813a8b5dc943c2d2",
6+
"automationCommitSha": "558d1dba9655b0e6616d54ed90419a69d51c335f",
7+
"libraryCommitSha": "bca8a14bd8bfd031e109bbf12684150f37b17a2b"
88
}

src/main/java/com/adyen/model/checkout/AffirmDetails.java

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
/** AffirmDetails */
2727
@JsonPropertyOrder({
2828
AffirmDetails.JSON_PROPERTY_CHECKOUT_ATTEMPT_ID,
29+
AffirmDetails.JSON_PROPERTY_FINANCING_PROGRAM,
2930
AffirmDetails.JSON_PROPERTY_SDK_DATA,
3031
AffirmDetails.JSON_PROPERTY_TYPE
3132
})
@@ -36,6 +37,12 @@ public class AffirmDetails {
3637
/** Mark when the attribute has been explicitly set. */
3738
private boolean isSetCheckoutAttemptId = false;
3839

40+
public static final String JSON_PROPERTY_FINANCING_PROGRAM = "financingProgram";
41+
private String financingProgram;
42+
43+
/** Mark when the attribute has been explicitly set. */
44+
private boolean isSetFinancingProgram = false;
45+
3946
public static final String JSON_PROPERTY_SDK_DATA = "sdkData";
4047
private String sdkData;
4148

@@ -130,6 +137,41 @@ public void setCheckoutAttemptId(String checkoutAttemptId) {
130137
isSetCheckoutAttemptId = true; // mark as set
131138
}
132139

140+
/**
141+
* The Affirm financing program to apply to this transaction.
142+
*
143+
* @param financingProgram The Affirm financing program to apply to this transaction.
144+
* @return the current {@code AffirmDetails} instance, allowing for method chaining
145+
*/
146+
public AffirmDetails financingProgram(String financingProgram) {
147+
this.financingProgram = financingProgram;
148+
isSetFinancingProgram = true; // mark as set
149+
return this;
150+
}
151+
152+
/**
153+
* The Affirm financing program to apply to this transaction.
154+
*
155+
* @return financingProgram The Affirm financing program to apply to this transaction.
156+
*/
157+
@JsonProperty(JSON_PROPERTY_FINANCING_PROGRAM)
158+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
159+
public String getFinancingProgram() {
160+
return financingProgram;
161+
}
162+
163+
/**
164+
* The Affirm financing program to apply to this transaction.
165+
*
166+
* @param financingProgram The Affirm financing program to apply to this transaction.
167+
*/
168+
@JsonProperty(JSON_PROPERTY_FINANCING_PROGRAM)
169+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
170+
public void setFinancingProgram(String financingProgram) {
171+
this.financingProgram = financingProgram;
172+
isSetFinancingProgram = true; // mark as set
173+
}
174+
133175
/**
134176
* Base64-encoded JSON object containing SDK related parameters required by the SDK
135177
*
@@ -233,6 +275,8 @@ public boolean equals(Object o) {
233275
AffirmDetails affirmDetails = (AffirmDetails) o;
234276
return Objects.equals(this.checkoutAttemptId, affirmDetails.checkoutAttemptId)
235277
&& Objects.equals(this.isSetCheckoutAttemptId, affirmDetails.isSetCheckoutAttemptId)
278+
&& Objects.equals(this.financingProgram, affirmDetails.financingProgram)
279+
&& Objects.equals(this.isSetFinancingProgram, affirmDetails.isSetFinancingProgram)
236280
&& Objects.equals(this.sdkData, affirmDetails.sdkData)
237281
&& Objects.equals(this.isSetSdkData, affirmDetails.isSetSdkData)
238282
&& Objects.equals(this.type, affirmDetails.type)
@@ -242,14 +286,22 @@ public boolean equals(Object o) {
242286
@Override
243287
public int hashCode() {
244288
return Objects.hash(
245-
checkoutAttemptId, isSetCheckoutAttemptId, sdkData, isSetSdkData, type, isSetType);
289+
checkoutAttemptId,
290+
isSetCheckoutAttemptId,
291+
financingProgram,
292+
isSetFinancingProgram,
293+
sdkData,
294+
isSetSdkData,
295+
type,
296+
isSetType);
246297
}
247298

248299
@Override
249300
public String toString() {
250301
StringBuilder sb = new StringBuilder();
251302
sb.append("class AffirmDetails {\n");
252303
sb.append(" checkoutAttemptId: ").append(toIndentedString(checkoutAttemptId)).append("\n");
304+
sb.append(" financingProgram: ").append(toIndentedString(financingProgram)).append("\n");
253305
sb.append(" sdkData: ").append(toIndentedString(sdkData)).append("\n");
254306
sb.append(" type: ").append(toIndentedString(type)).append("\n");
255307
sb.append("}");
@@ -279,6 +331,9 @@ public Map<String, Object> getExplicitNulls() {
279331
if (isSetCheckoutAttemptId) {
280332
addIfNull(nulls, JSON_PROPERTY_CHECKOUT_ATTEMPT_ID, this.checkoutAttemptId);
281333
}
334+
if (isSetFinancingProgram) {
335+
addIfNull(nulls, JSON_PROPERTY_FINANCING_PROGRAM, this.financingProgram);
336+
}
282337
if (isSetSdkData) {
283338
addIfNull(nulls, JSON_PROPERTY_SDK_DATA, this.sdkData);
284339
}

src/main/java/com/adyen/model/checkout/CheckoutPaymentMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2146,7 +2146,7 @@ public CheckoutPaymentMethod(ZipDetails o) {
21462146
mappings.put("gcash", StoredPaymentMethodDetails.class);
21472147
mappings.put("giftcard", CardDetails.class);
21482148
mappings.put("googlepay", GooglePayDetails.class);
2149-
mappings.put("gopay_wallet", PaymentDetails.class);
2149+
mappings.put("gopay_wallet", StoredPaymentMethodDetails.class);
21502150
mappings.put("grabpay_ID", StoredPaymentMethodDetails.class);
21512151
mappings.put("grabpay_MY", StoredPaymentMethodDetails.class);
21522152
mappings.put("grabpay_PH", StoredPaymentMethodDetails.class);

0 commit comments

Comments
 (0)