From 821c3b5c349af664e68ff4652dffc9f23f85e247 Mon Sep 17 00:00:00 2001 From: Sandhya Bhatia Date: Thu, 8 Oct 2026 14:36:32 -0600 Subject: [PATCH 1/2] feat: add account_type field to ProductSearch for Rev 6 account_type filtering | MC-16677 --- .../model/mdx/model/products/ProductSearch.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java b/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java index 622dbfee..ad970ff5 100644 --- a/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java +++ b/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java @@ -9,6 +9,11 @@ public class ProductSearch { private String type; + // Non-standard naming (matches the `account_type` query parameter literally) because Spring's + // default data binding for this controller method does not apply snake_case/camelCase + // conversion. See TransactionSearchRequest.start_date for precedent. + private String account_type; + public final String getType() { return type; } @@ -17,4 +22,12 @@ public final void setType(String type) { this.type = type; } + public final String getAccount_type() { + return account_type; + } + + public final void setAccount_type(String account_type) { + this.account_type = account_type; + } + } From 4b4ce570064059145fb59f32be8589f7270effb8 Mon Sep 17 00:00:00 2001 From: Sandhya Bhatia Date: Thu, 8 Oct 2026 15:43:33 -0600 Subject: [PATCH 2/2] style: remove explanatory comment from ProductSearch --- .../com/mx/path/model/mdx/model/products/ProductSearch.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java b/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java index ad970ff5..9a064bf1 100644 --- a/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java +++ b/mdx-models/src/main/java/com/mx/path/model/mdx/model/products/ProductSearch.java @@ -8,10 +8,6 @@ public class ProductSearch { private String type; - - // Non-standard naming (matches the `account_type` query parameter literally) because Spring's - // default data binding for this controller method does not apply snake_case/camelCase - // conversion. See TransactionSearchRequest.start_date for precedent. private String account_type; public final String getType() {