This commit is contained in:
Mohd-Arham
2025-11-05 10:16:59 +05:30
parent 6b867521e3
commit fd0fbb33dc
3 changed files with 10 additions and 6 deletions
@@ -90,7 +90,7 @@ public class MasterDataController {
} }
/** POST Customer Param Groups API Fetch Category Wise from BBPS URL **/ /** POST Customer Param Groups API Fetch Category Wise from BBPS URL **/
@PostMapping(value = "/customerParamGroups", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) @PostMapping(value = "/customerParamGroupsByBillerId", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<ResponseModel> getCustomerParamGroup( public ResponseEntity<ResponseModel> getCustomerParamGroup(
@Validated @RequestBody BillerDetailRequest requestModel) { @Validated @RequestBody BillerDetailRequest requestModel) {
return ResponseEntity.ok(masterDataService.fetchCustomerParamGroup(requestModel)); return ResponseEntity.ok(masterDataService.fetchCustomerParamGroup(requestModel));
@@ -100,7 +100,7 @@ public class MasterDataController {
* POST Fetch All AMount Options By Biller Id API Fetch Category Wise from BBPS * POST Fetch All AMount Options By Biller Id API Fetch Category Wise from BBPS
* URL * URL
**/ **/
@PostMapping(value = "/fetchAllAmountOptionsByBillerId", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) @PostMapping(value = "/fetchAmountOptionsByBillerId", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<ResponseModel> fetchAllMasterAmountOptionsByBillerId( public ResponseEntity<ResponseModel> fetchAllMasterAmountOptionsByBillerId(
@Validated @RequestBody BillerDetailRequest requestModel) { @Validated @RequestBody BillerDetailRequest requestModel) {
return ResponseEntity.ok(masterDataService.fetchAllMasterAmountOption(requestModel)); return ResponseEntity.ok(masterDataService.fetchAllMasterAmountOption(requestModel));
@@ -110,7 +110,7 @@ public class MasterDataController {
* POST Fetch All AMount Options By Biller Id API Fetch Category Wise from BBPS * POST Fetch All AMount Options By Biller Id API Fetch Category Wise from BBPS
* URL * URL
**/ **/
@PostMapping(value = "/fetchAllPlanCategories", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) @PostMapping(value = "/fetchAllPlanCategoriesByBillerId", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<ResponseModel> fetchPlanCategories(@Validated @RequestBody BillerDetailRequest requestModel) { public ResponseEntity<ResponseModel> fetchPlanCategories(@Validated @RequestBody BillerDetailRequest requestModel) {
return ResponseEntity.ok(masterDataService.fetchPlanCategorie(requestModel)); return ResponseEntity.ok(masterDataService.fetchPlanCategorie(requestModel));
} }
@@ -25,7 +25,7 @@ public abstract class BaseClass {
@NotBlank(message = "Request ID cannot be null or blank") @NotBlank(message = "Request ID cannot be null or blank")
private String reqId; private String reqId;
private String txnId; //private String txnId;
private DeviceDetail deviceDetial; private DeviceDetail deviceDetial;
@@ -1,9 +1,13 @@
package com.billpaymentservice.bbps.dto.request; package com.billpaymentservice.bbps.dto.request;
import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
public class TransactionStatusRequest extends BaseClass{ @Getter
@Setter
public class TransactionStatusRequest extends BaseClass {
@NotNull @NotNull
private String txnId; // UUID of transaction private String txnId; // UUID of transaction
} }