Skip to content

Commit bca8a14

Browse files
AdyenAutomationBotpoojah-adyen
authored andcommitted
[payment] Automated update from Adyen/adyen-openapi@bee086f
1 parent 19e4bb8 commit bca8a14

3 files changed

Lines changed: 159 additions & 7 deletions

File tree

sdk-generation-log/payment.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"service": "payment",
33
"project": "java",
4-
"generatedAt": "2026-05-14T14:22:05Z",
5-
"openapiCommitSha": "cbc5406a2df1f24d50e40742f18342f7ca7f21fc",
6-
"automationCommitSha": "6f06b47d0661f0891defe6b85461d2c367fbd284",
7-
"libraryCommitSha": "5790580db2f8a931a68baba2bff9760b8aed2067"
4+
"generatedAt": "2026-08-19T14:40:09Z",
5+
"openapiCommitSha": "bee086f2cd666ac7cb5b5ba2813a8b5dc943c2d2",
6+
"automationCommitSha": "09e65f31d70416e30f8464ec7cf29e94eda443fc",
7+
"libraryCommitSha": "dfdb26c68877141b3e73243a776a6a6595478bcd"
88
}

src/main/java/com/adyen/model/payment/AdditionalDataCommon.java

Lines changed: 98 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_POSTAL_CODE,
4646
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_STATE,
4747
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_STREET,
48-
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_TAX_ID
48+
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_TAX_ID,
49+
AdditionalDataCommon.JSON_PROPERTY_TRANSACTION_LINK_ID
4950
})
5051
public class AdditionalDataCommon {
5152
public static final String JSON_PROPERTY_REQUESTED_TEST_ACQUIRER_RESPONSE_CODE =
@@ -224,6 +225,12 @@ public static IndustryUsageEnum fromValue(String value) {
224225
/** Mark when the attribute has been explicitly set. */
225226
private boolean isSetSubMerchantTaxId = false;
226227

228+
public static final String JSON_PROPERTY_TRANSACTION_LINK_ID = "transactionLinkId";
229+
private String transactionLinkId;
230+
231+
/** Mark when the attribute has been explicitly set. */
232+
private boolean isSetTransactionLinkId = false;
233+
227234
/**
228235
* Sets whether attributes with null values should be explicitly included in the JSON payload.
229236
* Default is false.
@@ -1395,6 +1402,86 @@ public void setSubMerchantTaxId(String subMerchantTaxId) {
13951402
isSetSubMerchantTaxId = true; // mark as set
13961403
}
13971404

1405+
/**
1406+
* Allows you to link the transaction to the original or previous one in a
1407+
* subscription/card-on-file chain For Mastercard payments. This field is required for token-based
1408+
* transactions where Adyen does not tokenize the card. Transaction identifier from Mastercard.
1409+
* Submit the original transaction ID of the contract in your payment request if you are not
1410+
* tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for
1411+
* subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and
1412+
* `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure
1413+
* that the transaction is classified as MIT.
1414+
*
1415+
* @param transactionLinkId Allows you to link the transaction to the original or previous one in
1416+
* a subscription/card-on-file chain For Mastercard payments. This field is required for
1417+
* token-based transactions where Adyen does not tokenize the card. Transaction identifier
1418+
* from Mastercard. Submit the original transaction ID of the contract in your payment request
1419+
* if you are not tokenizing card details with Adyen and are making a merchant-initiated
1420+
* transaction (MIT) for subsequent charges. Make sure you are sending
1421+
* `shopperInteraction` **ContAuth** and `recurringProcessingModel`
1422+
* **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified
1423+
* as MIT.
1424+
* @return the current {@code AdditionalDataCommon} instance, allowing for method chaining
1425+
*/
1426+
public AdditionalDataCommon transactionLinkId(String transactionLinkId) {
1427+
this.transactionLinkId = transactionLinkId;
1428+
isSetTransactionLinkId = true; // mark as set
1429+
return this;
1430+
}
1431+
1432+
/**
1433+
* Allows you to link the transaction to the original or previous one in a
1434+
* subscription/card-on-file chain For Mastercard payments. This field is required for token-based
1435+
* transactions where Adyen does not tokenize the card. Transaction identifier from Mastercard.
1436+
* Submit the original transaction ID of the contract in your payment request if you are not
1437+
* tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for
1438+
* subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and
1439+
* `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure
1440+
* that the transaction is classified as MIT.
1441+
*
1442+
* @return transactionLinkId Allows you to link the transaction to the original or previous one in
1443+
* a subscription/card-on-file chain For Mastercard payments. This field is required for
1444+
* token-based transactions where Adyen does not tokenize the card. Transaction identifier
1445+
* from Mastercard. Submit the original transaction ID of the contract in your payment request
1446+
* if you are not tokenizing card details with Adyen and are making a merchant-initiated
1447+
* transaction (MIT) for subsequent charges. Make sure you are sending
1448+
* `shopperInteraction` **ContAuth** and `recurringProcessingModel`
1449+
* **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified
1450+
* as MIT.
1451+
*/
1452+
@JsonProperty(JSON_PROPERTY_TRANSACTION_LINK_ID)
1453+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1454+
public String getTransactionLinkId() {
1455+
return transactionLinkId;
1456+
}
1457+
1458+
/**
1459+
* Allows you to link the transaction to the original or previous one in a
1460+
* subscription/card-on-file chain For Mastercard payments. This field is required for token-based
1461+
* transactions where Adyen does not tokenize the card. Transaction identifier from Mastercard.
1462+
* Submit the original transaction ID of the contract in your payment request if you are not
1463+
* tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for
1464+
* subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and
1465+
* `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure
1466+
* that the transaction is classified as MIT.
1467+
*
1468+
* @param transactionLinkId Allows you to link the transaction to the original or previous one in
1469+
* a subscription/card-on-file chain For Mastercard payments. This field is required for
1470+
* token-based transactions where Adyen does not tokenize the card. Transaction identifier
1471+
* from Mastercard. Submit the original transaction ID of the contract in your payment request
1472+
* if you are not tokenizing card details with Adyen and are making a merchant-initiated
1473+
* transaction (MIT) for subsequent charges. Make sure you are sending
1474+
* `shopperInteraction` **ContAuth** and `recurringProcessingModel`
1475+
* **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified
1476+
* as MIT.
1477+
*/
1478+
@JsonProperty(JSON_PROPERTY_TRANSACTION_LINK_ID)
1479+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1480+
public void setTransactionLinkId(String transactionLinkId) {
1481+
this.transactionLinkId = transactionLinkId;
1482+
isSetTransactionLinkId = true; // mark as set
1483+
}
1484+
13981485
/**
13991486
* Configures whether null values are explicitly serialized in the JSON payload. Default is false.
14001487
*/
@@ -1478,7 +1565,9 @@ public boolean equals(Object o) {
14781565
&& Objects.equals(this.subMerchantStreet, additionalDataCommon.subMerchantStreet)
14791566
&& Objects.equals(this.isSetSubMerchantStreet, additionalDataCommon.isSetSubMerchantStreet)
14801567
&& Objects.equals(this.subMerchantTaxId, additionalDataCommon.subMerchantTaxId)
1481-
&& Objects.equals(this.isSetSubMerchantTaxId, additionalDataCommon.isSetSubMerchantTaxId);
1568+
&& Objects.equals(this.isSetSubMerchantTaxId, additionalDataCommon.isSetSubMerchantTaxId)
1569+
&& Objects.equals(this.transactionLinkId, additionalDataCommon.transactionLinkId)
1570+
&& Objects.equals(this.isSetTransactionLinkId, additionalDataCommon.isSetTransactionLinkId);
14821571
}
14831572

14841573
@Override
@@ -1525,7 +1614,9 @@ public int hashCode() {
15251614
subMerchantStreet,
15261615
isSetSubMerchantStreet,
15271616
subMerchantTaxId,
1528-
isSetSubMerchantTaxId);
1617+
isSetSubMerchantTaxId,
1618+
transactionLinkId,
1619+
isSetTransactionLinkId);
15291620
}
15301621

15311622
@Override
@@ -1561,6 +1652,7 @@ public String toString() {
15611652
sb.append(" subMerchantState: ").append(toIndentedString(subMerchantState)).append("\n");
15621653
sb.append(" subMerchantStreet: ").append(toIndentedString(subMerchantStreet)).append("\n");
15631654
sb.append(" subMerchantTaxId: ").append(toIndentedString(subMerchantTaxId)).append("\n");
1655+
sb.append(" transactionLinkId: ").append(toIndentedString(transactionLinkId)).append("\n");
15641656
sb.append("}");
15651657
return sb.toString();
15661658
}
@@ -1654,6 +1746,9 @@ public Map<String, Object> getExplicitNulls() {
16541746
if (isSetSubMerchantTaxId) {
16551747
addIfNull(nulls, JSON_PROPERTY_SUB_MERCHANT_TAX_ID, this.subMerchantTaxId);
16561748
}
1749+
if (isSetTransactionLinkId) {
1750+
addIfNull(nulls, JSON_PROPERTY_TRANSACTION_LINK_ID, this.transactionLinkId);
1751+
}
16571752

16581753
return nulls;
16591754
}

src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
ResponseAdditionalDataCommon.JSON_PROPERTY_TOKENIZATION_SHOPPER_REFERENCE,
8888
ResponseAdditionalDataCommon.JSON_PROPERTY_TOKENIZATION_STORE_OPERATION_TYPE,
8989
ResponseAdditionalDataCommon.JSON_PROPERTY_TOKENIZATION_STORED_PAYMENT_METHOD_ID,
90+
ResponseAdditionalDataCommon.JSON_PROPERTY_TRANSACTION_LINK_ID,
9091
ResponseAdditionalDataCommon.JSON_PROPERTY_VISA_TRANSACTION_ID,
9192
ResponseAdditionalDataCommon.JSON_PROPERTY_XID
9293
})
@@ -662,6 +663,12 @@ public static TokenizationStoreOperationTypeEnum fromValue(String value) {
662663
/** Mark when the attribute has been explicitly set. */
663664
private boolean isSetTokenizationStoredPaymentMethodId = false;
664665

666+
public static final String JSON_PROPERTY_TRANSACTION_LINK_ID = "transactionLinkId";
667+
private String transactionLinkId;
668+
669+
/** Mark when the attribute has been explicitly set. */
670+
private boolean isSetTransactionLinkId = false;
671+
665672
public static final String JSON_PROPERTY_VISA_TRANSACTION_ID = "visaTransactionId";
666673
private String visaTransactionId;
667674

@@ -3279,6 +3286,47 @@ public void setTokenizationStoredPaymentMethodId(String tokenizationStoredPaymen
32793286
isSetTokenizationStoredPaymentMethodId = true; // mark as set
32803287
}
32813288

3289+
/**
3290+
* Returned in the response for Mastercard payments. This contains the Mastercard Transaction Link
3291+
* Identifier (TLID).
3292+
*
3293+
* @param transactionLinkId Returned in the response for Mastercard payments. This contains the
3294+
* Mastercard Transaction Link Identifier (TLID).
3295+
* @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining
3296+
*/
3297+
public ResponseAdditionalDataCommon transactionLinkId(String transactionLinkId) {
3298+
this.transactionLinkId = transactionLinkId;
3299+
isSetTransactionLinkId = true; // mark as set
3300+
return this;
3301+
}
3302+
3303+
/**
3304+
* Returned in the response for Mastercard payments. This contains the Mastercard Transaction Link
3305+
* Identifier (TLID).
3306+
*
3307+
* @return transactionLinkId Returned in the response for Mastercard payments. This contains the
3308+
* Mastercard Transaction Link Identifier (TLID).
3309+
*/
3310+
@JsonProperty(JSON_PROPERTY_TRANSACTION_LINK_ID)
3311+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
3312+
public String getTransactionLinkId() {
3313+
return transactionLinkId;
3314+
}
3315+
3316+
/**
3317+
* Returned in the response for Mastercard payments. This contains the Mastercard Transaction Link
3318+
* Identifier (TLID).
3319+
*
3320+
* @param transactionLinkId Returned in the response for Mastercard payments. This contains the
3321+
* Mastercard Transaction Link Identifier (TLID).
3322+
*/
3323+
@JsonProperty(JSON_PROPERTY_TRANSACTION_LINK_ID)
3324+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
3325+
public void setTransactionLinkId(String transactionLinkId) {
3326+
this.transactionLinkId = transactionLinkId;
3327+
isSetTransactionLinkId = true; // mark as set
3328+
}
3329+
32823330
/**
32833331
* The &#x60;visaTransactionId&#x60;, has a fixed length of 15 numeric characters. &gt; Contact
32843332
* Support Team to enable this field.
@@ -3610,6 +3658,9 @@ public boolean equals(Object o) {
36103658
&& Objects.equals(
36113659
this.isSetTokenizationStoredPaymentMethodId,
36123660
responseAdditionalDataCommon.isSetTokenizationStoredPaymentMethodId)
3661+
&& Objects.equals(this.transactionLinkId, responseAdditionalDataCommon.transactionLinkId)
3662+
&& Objects.equals(
3663+
this.isSetTransactionLinkId, responseAdditionalDataCommon.isSetTransactionLinkId)
36133664
&& Objects.equals(this.visaTransactionId, responseAdditionalDataCommon.visaTransactionId)
36143665
&& Objects.equals(
36153666
this.isSetVisaTransactionId, responseAdditionalDataCommon.isSetVisaTransactionId)
@@ -3744,6 +3795,8 @@ public int hashCode() {
37443795
isSetTokenizationStoreOperationType,
37453796
tokenizationStoredPaymentMethodId,
37463797
isSetTokenizationStoredPaymentMethodId,
3798+
transactionLinkId,
3799+
isSetTransactionLinkId,
37473800
visaTransactionId,
37483801
isSetVisaTransactionId,
37493802
xid,
@@ -3860,6 +3913,7 @@ public String toString() {
38603913
sb.append(" tokenizationStoredPaymentMethodId: ")
38613914
.append(toIndentedString(tokenizationStoredPaymentMethodId))
38623915
.append("\n");
3916+
sb.append(" transactionLinkId: ").append(toIndentedString(transactionLinkId)).append("\n");
38633917
sb.append(" visaTransactionId: ").append(toIndentedString(visaTransactionId)).append("\n");
38643918
sb.append(" xid: ").append(toIndentedString(xid)).append("\n");
38653919
sb.append("}");
@@ -4088,6 +4142,9 @@ public Map<String, Object> getExplicitNulls() {
40884142
JSON_PROPERTY_TOKENIZATION_STORED_PAYMENT_METHOD_ID,
40894143
this.tokenizationStoredPaymentMethodId);
40904144
}
4145+
if (isSetTransactionLinkId) {
4146+
addIfNull(nulls, JSON_PROPERTY_TRANSACTION_LINK_ID, this.transactionLinkId);
4147+
}
40914148
if (isSetVisaTransactionId) {
40924149
addIfNull(nulls, JSON_PROPERTY_VISA_TRANSACTION_ID, this.visaTransactionId);
40934150
}

0 commit comments

Comments
 (0)