05-10-25
This commit is contained in:
@@ -90,7 +90,7 @@ public class MasterDataController {
|
||||
}
|
||||
|
||||
/** 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(
|
||||
@Validated @RequestBody BillerDetailRequest 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
|
||||
* 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(
|
||||
@Validated @RequestBody BillerDetailRequest 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
|
||||
* 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) {
|
||||
return ResponseEntity.ok(masterDataService.fetchPlanCategorie(requestModel));
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ public abstract class BaseClass {
|
||||
@NotBlank(message = "Request ID cannot be null or blank")
|
||||
private String reqId;
|
||||
|
||||
private String txnId;
|
||||
//private String txnId;
|
||||
|
||||
private DeviceDetail deviceDetial;
|
||||
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
package com.billpaymentservice.bbps.dto.request;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
public class TransactionStatusRequest extends BaseClass{
|
||||
@Getter
|
||||
@Setter
|
||||
public class TransactionStatusRequest extends BaseClass {
|
||||
@NotNull
|
||||
private String txnId; // UUID of transaction
|
||||
private String txnId; // UUID of transaction
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user