|
87 | 87 | ResponseAdditionalDataCommon.JSON_PROPERTY_TOKENIZATION_SHOPPER_REFERENCE, |
88 | 88 | ResponseAdditionalDataCommon.JSON_PROPERTY_TOKENIZATION_STORE_OPERATION_TYPE, |
89 | 89 | ResponseAdditionalDataCommon.JSON_PROPERTY_TOKENIZATION_STORED_PAYMENT_METHOD_ID, |
| 90 | + ResponseAdditionalDataCommon.JSON_PROPERTY_TRANSACTION_LINK_ID, |
90 | 91 | ResponseAdditionalDataCommon.JSON_PROPERTY_VISA_TRANSACTION_ID, |
91 | 92 | ResponseAdditionalDataCommon.JSON_PROPERTY_XID |
92 | 93 | }) |
@@ -662,6 +663,12 @@ public static TokenizationStoreOperationTypeEnum fromValue(String value) { |
662 | 663 | /** Mark when the attribute has been explicitly set. */ |
663 | 664 | private boolean isSetTokenizationStoredPaymentMethodId = false; |
664 | 665 |
|
| 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 | + |
665 | 672 | public static final String JSON_PROPERTY_VISA_TRANSACTION_ID = "visaTransactionId"; |
666 | 673 | private String visaTransactionId; |
667 | 674 |
|
@@ -3279,6 +3286,47 @@ public void setTokenizationStoredPaymentMethodId(String tokenizationStoredPaymen |
3279 | 3286 | isSetTokenizationStoredPaymentMethodId = true; // mark as set |
3280 | 3287 | } |
3281 | 3288 |
|
| 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 | + |
3282 | 3330 | /** |
3283 | 3331 | * The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact |
3284 | 3332 | * Support Team to enable this field. |
@@ -3610,6 +3658,9 @@ public boolean equals(Object o) { |
3610 | 3658 | && Objects.equals( |
3611 | 3659 | this.isSetTokenizationStoredPaymentMethodId, |
3612 | 3660 | responseAdditionalDataCommon.isSetTokenizationStoredPaymentMethodId) |
| 3661 | + && Objects.equals(this.transactionLinkId, responseAdditionalDataCommon.transactionLinkId) |
| 3662 | + && Objects.equals( |
| 3663 | + this.isSetTransactionLinkId, responseAdditionalDataCommon.isSetTransactionLinkId) |
3613 | 3664 | && Objects.equals(this.visaTransactionId, responseAdditionalDataCommon.visaTransactionId) |
3614 | 3665 | && Objects.equals( |
3615 | 3666 | this.isSetVisaTransactionId, responseAdditionalDataCommon.isSetVisaTransactionId) |
@@ -3744,6 +3795,8 @@ public int hashCode() { |
3744 | 3795 | isSetTokenizationStoreOperationType, |
3745 | 3796 | tokenizationStoredPaymentMethodId, |
3746 | 3797 | isSetTokenizationStoredPaymentMethodId, |
| 3798 | + transactionLinkId, |
| 3799 | + isSetTransactionLinkId, |
3747 | 3800 | visaTransactionId, |
3748 | 3801 | isSetVisaTransactionId, |
3749 | 3802 | xid, |
@@ -3860,6 +3913,7 @@ public String toString() { |
3860 | 3913 | sb.append(" tokenizationStoredPaymentMethodId: ") |
3861 | 3914 | .append(toIndentedString(tokenizationStoredPaymentMethodId)) |
3862 | 3915 | .append("\n"); |
| 3916 | + sb.append(" transactionLinkId: ").append(toIndentedString(transactionLinkId)).append("\n"); |
3863 | 3917 | sb.append(" visaTransactionId: ").append(toIndentedString(visaTransactionId)).append("\n"); |
3864 | 3918 | sb.append(" xid: ").append(toIndentedString(xid)).append("\n"); |
3865 | 3919 | sb.append("}"); |
@@ -4088,6 +4142,9 @@ public Map<String, Object> getExplicitNulls() { |
4088 | 4142 | JSON_PROPERTY_TOKENIZATION_STORED_PAYMENT_METHOD_ID, |
4089 | 4143 | this.tokenizationStoredPaymentMethodId); |
4090 | 4144 | } |
| 4145 | + if (isSetTransactionLinkId) { |
| 4146 | + addIfNull(nulls, JSON_PROPERTY_TRANSACTION_LINK_ID, this.transactionLinkId); |
| 4147 | + } |
4091 | 4148 | if (isSetVisaTransactionId) { |
4092 | 4149 | addIfNull(nulls, JSON_PROPERTY_VISA_TRANSACTION_ID, this.visaTransactionId); |
4093 | 4150 | } |
|
0 commit comments