Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53641d97ea |
@@ -45,12 +45,6 @@
|
|||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>io.github.resilience4j</groupId>
|
|
||||||
<artifactId>resilience4j-spring-boot3</artifactId>
|
|
||||||
<version>2.2.0</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||||
@@ -186,7 +180,18 @@
|
|||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Redis (Spring Data Redis + Lettuce) -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Bucket4j core for local token-bucket smoothing -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.vladimir-bukhtoyarov</groupId>
|
||||||
|
<artifactId>bucket4j-core</artifactId>
|
||||||
|
<version>7.6.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,68 @@
|
|||||||
|
package com.billpaymentservice.bbps.config;
|
||||||
|
|
||||||
|
import java.time.Duration;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
|
import org.springframework.context.annotation.Bean;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
import org.springframework.data.redis.connection.RedisStandaloneConfiguration;
|
||||||
|
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
|
||||||
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
||||||
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||||
|
import org.springframework.core.Ordered;
|
||||||
|
|
||||||
|
import com.billpaymentservice.bbps.filter.RateLimitingFilter;
|
||||||
|
import com.billpaymentservice.bbps.ratelimit.LocalBucketManager;
|
||||||
|
|
||||||
|
@Configuration
|
||||||
|
public class RateLimiterConfig {
|
||||||
|
|
||||||
|
private static final Logger LOGGER = LoggerFactory.getLogger(RateLimiterConfig.class);
|
||||||
|
|
||||||
|
@Value("${spring.redis.host:localhost}")
|
||||||
|
private String redisHost;
|
||||||
|
|
||||||
|
@Value("${spring.redis.port:6379}")
|
||||||
|
private int redisPort;
|
||||||
|
|
||||||
|
// allow comma-separated patterns, default to /api/* and /masterData/* for backward compatibility
|
||||||
|
@Value("${rate.limiter.url-pattern:/api/*,/masterData/*}")
|
||||||
|
private String urlPattern;
|
||||||
|
|
||||||
|
@Bean
|
||||||
|
public LettuceConnectionFactory redisConnectionFactory() {
|
||||||
|
RedisStandaloneConfiguration cfg = new RedisStandaloneConfiguration(redisHost, redisPort);
|
||||||
|
LettuceConnectionFactory factory = new LettuceConnectionFactory(cfg);
|
||||||
|
// optional tuning
|
||||||
|
factory.setValidateConnection(true);
|
||||||
|
return factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Bean
|
||||||
|
public StringRedisTemplate stringRedisTemplate(LettuceConnectionFactory connectionFactory) {
|
||||||
|
StringRedisTemplate tpl = new StringRedisTemplate(connectionFactory);
|
||||||
|
tpl.setEnableTransactionSupport(false);
|
||||||
|
return tpl;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Bean
|
||||||
|
public FilterRegistrationBean<RateLimitingFilter> rateLimiterFilterRegistration(StringRedisTemplate stringRedisTemplate, LocalBucketManager localBucketManager) {
|
||||||
|
RateLimitingFilter filter = new RateLimitingFilter(stringRedisTemplate, localBucketManager);
|
||||||
|
FilterRegistrationBean<RateLimitingFilter> reg = new FilterRegistrationBean<>();
|
||||||
|
reg.setFilter(filter);
|
||||||
|
|
||||||
|
// support comma-separated patterns in property (e.g. "/api/*,/masterData/*")
|
||||||
|
String[] patterns = urlPattern.split("\\s*,\\s*");
|
||||||
|
reg.addUrlPatterns(patterns);
|
||||||
|
|
||||||
|
LOGGER.info("Registering RateLimitingFilter for patterns={}", Arrays.toString(patterns));
|
||||||
|
|
||||||
|
reg.setName("rateLimitingFilter");
|
||||||
|
// set the filter to highest precedence so it runs before other servlet filters (e.g., security chain)
|
||||||
|
reg.setOrder(Ordered.HIGHEST_PRECEDENCE);
|
||||||
|
return reg;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -44,7 +44,7 @@ public class SecurityConfig {
|
|||||||
"/webjars/**",
|
"/webjars/**",
|
||||||
"/error")
|
"/error")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.requestMatchers("/payment/callback/startPayment","/complaints/checkTicketStatus")
|
.requestMatchers("/payment/callback/startPayment")
|
||||||
.permitAll().requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
|
.permitAll().requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
|
||||||
.anyRequest().authenticated())
|
.anyRequest().authenticated())
|
||||||
.exceptionHandling(ex -> ex.authenticationEntryPoint(jwtAuthenticationEntryPoint))
|
.exceptionHandling(ex -> ex.authenticationEntryPoint(jwtAuthenticationEntryPoint))
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ public class PaymentController {
|
|||||||
@ApiDocCommonResponses
|
@ApiDocCommonResponses
|
||||||
public ResponseEntity<ResponseModel> requestBillFetch(
|
public ResponseEntity<ResponseModel> requestBillFetch(
|
||||||
@RequestBody BillPaymentRequest billPaymentRequest) {
|
@RequestBody BillPaymentRequest billPaymentRequest) {
|
||||||
|
|
||||||
ResponseModel response = paymentService.initiatePayment(billPaymentRequest);
|
ResponseModel response = paymentService.initiatePayment(billPaymentRequest);
|
||||||
return ResponseEntity.ok(response);
|
return ResponseEntity.ok(response);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -14,7 +12,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AdditionalInfo {
|
public class AdditionalInfo {
|
||||||
|
|
||||||
private UUID planAdditionalInfoId;
|
private UUID planAdditionalInfoId;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -11,7 +9,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AdditionalInfoBillDTO {
|
public class AdditionalInfoBillDTO {
|
||||||
private String additionalInfoId;
|
private String additionalInfoId;
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AdditionalInfoBillValidateDTO {
|
public class AdditionalInfoBillValidateDTO {
|
||||||
String name;
|
String name;
|
||||||
String value;
|
String value;
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AdditionalInfoDTO {
|
public class AdditionalInfoDTO {
|
||||||
@NotBlank(message = "Param Config ID cannot be blank")
|
@NotBlank(message = "Param Config ID cannot be blank")
|
||||||
private String paramConfigId;
|
private String paramConfigId;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -9,7 +7,6 @@ import lombok.Setter;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AgentFundTransfer {
|
public class AgentFundTransfer {
|
||||||
@NotBlank private String fundTxnReferenceId;
|
@NotBlank private String fundTxnReferenceId;
|
||||||
@NotBlank private String fundTxnRemarks;
|
@NotBlank private String fundTxnRemarks;
|
||||||
|
|||||||
@@ -1,17 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class AmountOptionDTO{
|
public class AmountOptionDTO{
|
||||||
private String amountOptionId; // Matches "amountOptionId" from JSON
|
private String amountOptionId; // Matches "amountOptionId" from JSON
|
||||||
private List<String> amountBreakupSets; // Reference to BillerResponseParams (only ID, not full entity)
|
private List<String> amountBreakupSets; // Reference to BillerResponseParams (only ID, not full entity)
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillAdditionalInfoDTO {
|
public class BillAdditionalInfoDTO {
|
||||||
|
|
||||||
private String additionalInfoId;
|
private String additionalInfoId;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillCustomerParamsDTO {
|
public class BillCustomerParamsDTO {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillerAdditonalInfoDTO {
|
public class BillerAdditonalInfoDTO {
|
||||||
private String paramConfigId;
|
private String paramConfigId;
|
||||||
private String paramName;
|
private String paramName;
|
||||||
|
|||||||
@@ -2,18 +2,17 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.billpaymentservice.bbps.entites.AdditionalInfoBillValidate;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
@ToString
|
|
||||||
public class BillerDTO {
|
public class BillerDTO {
|
||||||
|
|
||||||
@NotBlank(message = "Biller ID is mandatory")
|
@NotBlank(message = "Biller ID is mandatory")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -11,7 +9,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillerIconDTO {
|
public class BillerIconDTO {
|
||||||
|
|
||||||
private String icon_data; // Base64 or image data
|
private String icon_data; // Base64 or image data
|
||||||
|
|||||||
@@ -3,12 +3,10 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
@ToString
|
|
||||||
public class BillerPlanResponseParamsDTO {
|
public class BillerPlanResponseParamsDTO {
|
||||||
private String billerPlanResponseId;
|
private String billerPlanResponseId;
|
||||||
private String paramsJson;
|
private String paramsJson;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillerResponseBill {
|
public class BillerResponseBill {
|
||||||
private String billId;
|
private String billId;
|
||||||
private String amount;
|
private String amount;
|
||||||
|
|||||||
@@ -2,16 +2,11 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillerResponseParamsDTO {
|
public class BillerResponseParamsDTO {
|
||||||
|
|
||||||
private String billerResponseId;
|
private String billerResponseId;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ChannelDTO {
|
public class ChannelDTO {
|
||||||
|
|
||||||
private UUID channelId; // Machine-generated Unique ID assigned internally
|
private UUID channelId; // Machine-generated Unique ID assigned internally
|
||||||
|
|||||||
@@ -2,14 +2,11 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CheckClientBillerResponseDTO {
|
public class CheckClientBillerResponseDTO {
|
||||||
|
|
||||||
private String billId;
|
private String billId;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CloseComplaintDTO {
|
public class CloseComplaintDTO {
|
||||||
|
|
||||||
private String complaintId;
|
private String complaintId;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ComplaintHistoryDTO {
|
public class ComplaintHistoryDTO {
|
||||||
|
|
||||||
private String historyId;
|
private String historyId;
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ComplaintResponseDto {
|
|
||||||
|
|
||||||
private String ticketId;
|
|
||||||
private String ticketType;
|
|
||||||
private String txnNpciId;
|
|
||||||
private String status;
|
|
||||||
private String userId;
|
|
||||||
private String ticketDesp;
|
|
||||||
private String ticketDesr;
|
|
||||||
|
|
||||||
private List<ComplaintStatusDto> complaintStatusList;
|
|
||||||
private List<ComplaintHistoryDTO> historyList;
|
|
||||||
private List<ComplaintStatusDetailsDto> statusDetailsList;
|
|
||||||
private List<ViewAllComplaintDto> viewAllList;
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ComplaintStatusDetailsDto {
|
|
||||||
|
|
||||||
private String ticketStatus;
|
|
||||||
private String ticketType;
|
|
||||||
private String txnAmount;
|
|
||||||
private String billerName;
|
|
||||||
private String ticketId;
|
|
||||||
private String totalTxnAmount;
|
|
||||||
private String billCategory;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ComplaintStatusDto {
|
|
||||||
|
|
||||||
private String ticketId;
|
|
||||||
private String npciTicketStatus;
|
|
||||||
private String ticketDespo;
|
|
||||||
private String createdTime;
|
|
||||||
private String npciTicketType;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -8,7 +7,6 @@ import lombok.Setter;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ContactMaster {
|
public class ContactMaster {
|
||||||
private String mobNo;
|
private String mobNo;
|
||||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -15,7 +13,6 @@ import lombok.ToString;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CustomParamDTO {
|
public class CustomParamDTO {
|
||||||
private String customParamName;
|
private String customParamName;
|
||||||
private String dataType;
|
private String dataType;
|
||||||
|
|||||||
@@ -1,18 +1,13 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CustomerParamDTO {
|
public class CustomerParamDTO {
|
||||||
private String paramConfigId;
|
private String paramConfigId;
|
||||||
@NotBlank(message = "Parameter name is required")
|
@NotBlank(message = "Parameter name is required")
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
@@ -10,7 +8,6 @@ import lombok.ToString;
|
|||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CustomerParamGroupsDTO {
|
public class CustomerParamGroupsDTO {
|
||||||
private List<GroupDTO> groups;
|
private List<GroupDTO> groups;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CustomerParamsRequest {
|
public class CustomerParamsRequest {
|
||||||
private List<Tag> tags;
|
private List<Tag> tags;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -12,7 +10,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class Detail {
|
public class Detail {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class DeviceBlockTag {
|
public class DeviceBlockTag {
|
||||||
private String name;
|
private String name;
|
||||||
private String tagId;
|
private String tagId;
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.ToString;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class DeviceDetail {
|
public class DeviceDetail {
|
||||||
|
|
||||||
private List<Detail> detail;
|
private List<Detail> detail;
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class DispositionsDTO {
|
public class DispositionsDTO {
|
||||||
private String dispositionId;
|
private String dispositionId;
|
||||||
private String dispositionDescr;
|
private String dispositionDescr;
|
||||||
|
|||||||
@@ -1,16 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Setter
|
@Setter
|
||||||
@Getter
|
@Getter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class FaqDetailsResponse {
|
public class FaqDetailsResponse {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,8 +11,6 @@ import lombok.ToString;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class GeneralResp {
|
public class GeneralResp {
|
||||||
private String statusCode;
|
private String statusCode;
|
||||||
private String status;
|
private String status;
|
||||||
|
|||||||
@@ -2,16 +2,11 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class GroupDTO {
|
public class GroupDTO {
|
||||||
|
|
||||||
private String groupId;
|
private String groupId;
|
||||||
|
|||||||
@@ -6,12 +6,10 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
@ToString
|
|
||||||
public class InterchangeFeeConfDTO {
|
public class InterchangeFeeConfDTO {
|
||||||
@NotBlank(message = "Interchange Fee Config ID cannot be blank")
|
@NotBlank(message = "Interchange Fee Config ID cannot be blank")
|
||||||
private String interChangeFeeConfId;
|
private String interChangeFeeConfId;
|
||||||
|
|||||||
@@ -6,12 +6,10 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
@ToString
|
|
||||||
public class InterchangeFeeDTO {
|
public class InterchangeFeeDTO {
|
||||||
@NotBlank(message = "Interchange Fee ID cannot be blank")
|
@NotBlank(message = "Interchange Fee ID cannot be blank")
|
||||||
private String interchangeFeeId;
|
private String interchangeFeeId;
|
||||||
|
|||||||
@@ -1,16 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class InterchangeFeeDetailDTO {
|
public class InterchangeFeeDetailDTO {
|
||||||
|
|
||||||
private String interchangeFeeDetId;
|
private String interchangeFeeDetId;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.billpaymentservice.bbps.dto.response.CategoryResponse;
|
import com.billpaymentservice.bbps.dto.response.CategoryResponse;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
@@ -17,7 +16,6 @@ import lombok.ToString;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class MasterApiResponse {
|
public class MasterApiResponse {
|
||||||
|
|
||||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -11,7 +9,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class MasterCategoryBillerResponse {
|
public class MasterCategoryBillerResponse {
|
||||||
|
|
||||||
private String billerId;
|
private String billerId;
|
||||||
|
|||||||
@@ -1,17 +1,12 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PaymentChannelDTO {
|
public class PaymentChannelDTO {
|
||||||
private String paymentChannelLimitId;
|
private String paymentChannelLimitId;
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,10 @@ import jakarta.validation.constraints.Pattern;
|
|||||||
import jakarta.validation.constraints.PositiveOrZero;
|
import jakarta.validation.constraints.PositiveOrZero;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
@ToString
|
|
||||||
public class PaymentModeDTO {
|
public class PaymentModeDTO {
|
||||||
@NotBlank(message = "Payment model limit ID cannot be blank")
|
@NotBlank(message = "Payment model limit ID cannot be blank")
|
||||||
private String paymentModelLimitId;
|
private String paymentModelLimitId;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PaymentPollBackResponse {
|
public class PaymentPollBackResponse {
|
||||||
private String txnId;
|
private String txnId;
|
||||||
private String orderId;
|
private String orderId;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PaymentStartReturnDto {
|
public class PaymentStartReturnDto {
|
||||||
private String amount;
|
private String amount;
|
||||||
private String orderNo;
|
private String orderNo;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PaymentStatusDataResponse {
|
public class PaymentStatusDataResponse {
|
||||||
private String amount;
|
private String amount;
|
||||||
private String orderNo;
|
private String orderNo;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PlanDTO {
|
public class PlanDTO {
|
||||||
|
|
||||||
private String planId;
|
private String planId;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PlanTag {
|
public class PlanTag {
|
||||||
|
|
||||||
private UUID tagId;
|
private UUID tagId;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -13,7 +11,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PlansListDTO {
|
public class PlansListDTO {
|
||||||
|
|
||||||
private List<PlanDTO> plans;
|
private List<PlanDTO> plans;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -11,7 +9,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class RemitterIdentity {
|
public class RemitterIdentity {
|
||||||
private String name;
|
private String name;
|
||||||
private String value;
|
private String value;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -11,8 +9,6 @@ import lombok.NoArgsConstructor;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@Builder
|
@Builder
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class ResponseModel<T> {
|
public class ResponseModel<T> {
|
||||||
|
|
||||||
private String message;
|
private String message;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -12,7 +10,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class Tag {
|
public class Tag {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class TicketDetailsDTO {
|
public class TicketDetailsDTO {
|
||||||
|
|
||||||
private String ticketId;
|
private String ticketId;
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class TicketDispositionsDTO {
|
public class TicketDispositionsDTO {
|
||||||
|
|
||||||
private String dispositionId;
|
private String dispositionId;
|
||||||
|
|||||||
@@ -66,12 +66,9 @@ public class TransactionDTO {
|
|||||||
private String planType;
|
private String planType;
|
||||||
|
|
||||||
// ✅ Date fields as String (for JSON compatibility)
|
// ✅ Date fields as String (for JSON compatibility)
|
||||||
@JsonProperty("creationDate")
|
private String creationDate;
|
||||||
private String creationDateBank;
|
private String modifiedDate;
|
||||||
@JsonProperty("modifiedDate")
|
|
||||||
private String modifiedDateBank;
|
private Long createdEpochDate;
|
||||||
@JsonProperty("createdEpochDate")
|
private Long modifiedEpochDate;
|
||||||
private Long createdEpochDateBank;
|
|
||||||
@JsonProperty("modifiedEpochDate")
|
|
||||||
private Long modifiedEpochDateBank;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
@@ -9,8 +7,6 @@ import lombok.ToString;
|
|||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class TransactionHistoryMasterDTO {
|
public class TransactionHistoryMasterDTO {
|
||||||
|
|
||||||
private String bankTxnId;
|
private String bankTxnId;
|
||||||
@@ -26,8 +22,8 @@ public class TransactionHistoryMasterDTO {
|
|||||||
private String billId;
|
private String billId;
|
||||||
private String userType;
|
private String userType;
|
||||||
private String userId;
|
private String userId;
|
||||||
private String txnAmount;
|
private Double txnAmount;
|
||||||
private String totalTxnAmount;
|
private Double totalTxnAmount;
|
||||||
private String billerId;
|
private String billerId;
|
||||||
private String billerCategory;
|
private String billerCategory;
|
||||||
private String billerName;
|
private String billerName;
|
||||||
@@ -37,15 +33,15 @@ public class TransactionHistoryMasterDTO {
|
|||||||
private String quickPay;
|
private String quickPay;
|
||||||
private String paymentMode;
|
private String paymentMode;
|
||||||
private String agentPaymentInformation;
|
private String agentPaymentInformation;
|
||||||
private String custConvFee;
|
private Double custConvFee;
|
||||||
private String currency;
|
private String currency;
|
||||||
private String status;
|
private String status;
|
||||||
private String requestedIp;
|
private String requestedIp;
|
||||||
private String customerMobNo;
|
private String customerMobNo;
|
||||||
private String macAddress;
|
private String macAddress;
|
||||||
private String splitPayAmount;
|
private Double splitPayAmount;
|
||||||
private String couCustConvFee;
|
private Double couCustConvFee;
|
||||||
private String settlementVerification;
|
private Boolean settlementVerification;
|
||||||
private String fundTxnType;
|
private String fundTxnType;
|
||||||
private String reason;
|
private String reason;
|
||||||
private String amountTags;
|
private String amountTags;
|
||||||
|
|||||||
+1
-4
@@ -1,20 +1,17 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class TransactionHistoryParticularDetailsDTO {
|
public class TransactionHistoryParticularDetailsDTO {
|
||||||
|
|
||||||
private String billerCategory;
|
private String billerCategory;
|
||||||
|
|
||||||
private String billerName;
|
private String billerName;
|
||||||
|
|
||||||
private String totalTxnAmount;
|
private Double totalTxnAmount;
|
||||||
|
|
||||||
private String bankTxnId;
|
private String bankTxnId;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
package com.billpaymentservice.bbps.dto;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -11,7 +9,6 @@ import lombok.NoArgsConstructor;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Builder
|
@Builder
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class UserDetailsDTO {
|
public class UserDetailsDTO {
|
||||||
|
|
||||||
private String userId;
|
private String userId;
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
package com.billpaymentservice.bbps.dto;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class ViewAllComplaintDto {
|
|
||||||
|
|
||||||
private String ticketStatus;
|
|
||||||
private String txnAmount;
|
|
||||||
private String billerName;
|
|
||||||
private String ticketId;
|
|
||||||
private String txnNpciId;
|
|
||||||
private String ticketType;
|
|
||||||
private String createdTime;
|
|
||||||
private String billCategory;
|
|
||||||
private String totalTxnAmount;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -3,16 +3,7 @@ package com.billpaymentservice.bbps.dto.auth;
|
|||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import jakarta.validation.constraints.Pattern;
|
import jakarta.validation.constraints.Pattern;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
|
|
||||||
@AllArgsConstructor
|
|
||||||
@NoArgsConstructor
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
public class LoginRequest {
|
public class LoginRequest {
|
||||||
|
|
||||||
@NotNull(message = "Mobile number cannot be null.")
|
@NotNull(message = "Mobile number cannot be null.")
|
||||||
@@ -20,5 +11,18 @@ public class LoginRequest {
|
|||||||
@Pattern(regexp = "^[0-9]{10}$", message = "Mobile number must contain only digits.")
|
@Pattern(regexp = "^[0-9]{10}$", message = "Mobile number must contain only digits.")
|
||||||
private String mobile;
|
private String mobile;
|
||||||
|
|
||||||
|
public LoginRequest() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public LoginRequest(String mobile) {
|
||||||
|
this.mobile = mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMobile() {
|
||||||
|
return mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMobile(String mobile) {
|
||||||
|
this.mobile = mobile;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,29 @@
|
|||||||
package com.billpaymentservice.bbps.dto.auth;
|
package com.billpaymentservice.bbps.dto.auth;
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@AllArgsConstructor
|
|
||||||
@NoArgsConstructor
|
|
||||||
public class OtpSendResponse {
|
public class OtpSendResponse {
|
||||||
private boolean success;
|
private boolean success;
|
||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
|
public OtpSendResponse() {}
|
||||||
|
|
||||||
|
public OtpSendResponse(boolean success, String message) {
|
||||||
|
this.success = success;
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSuccess() {
|
||||||
|
return success;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSuccess(boolean success) {
|
||||||
|
this.success = success;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMessage() {
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMessage(String message) {
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,15 +6,11 @@ import jakarta.validation.constraints.Email;
|
|||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import jakarta.validation.constraints.Pattern;
|
import jakarta.validation.constraints.Pattern;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
public class RegisterRequest extends BaseClass {
|
public class RegisterRequest extends BaseClass {
|
||||||
|
|
||||||
@NotNull(message = "Mobile number cannot be null.")
|
@NotNull(message = "Mobile number cannot be null.")
|
||||||
|
|||||||
@@ -3,15 +3,7 @@ package com.billpaymentservice.bbps.dto.auth;
|
|||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import jakarta.validation.constraints.Pattern;
|
import jakarta.validation.constraints.Pattern;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
public class VerifyOtpRequest {
|
public class VerifyOtpRequest {
|
||||||
|
|
||||||
@NotNull(message = "Mobile number cannot be null.")
|
@NotNull(message = "Mobile number cannot be null.")
|
||||||
@@ -24,5 +16,27 @@ public class VerifyOtpRequest {
|
|||||||
@Pattern(regexp = "^[0-9]{6}$", message = "OTP must contain only 6 digits.")
|
@Pattern(regexp = "^[0-9]{6}$", message = "OTP must contain only 6 digits.")
|
||||||
private String otp;
|
private String otp;
|
||||||
|
|
||||||
|
public VerifyOtpRequest() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public VerifyOtpRequest(String mobile, String otp) {
|
||||||
|
this.mobile = mobile;
|
||||||
|
this.otp = otp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMobile() {
|
||||||
|
return mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMobile(String mobile) {
|
||||||
|
this.mobile = mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOtp() {
|
||||||
|
return otp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOtp(String otp) {
|
||||||
|
this.otp = otp;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -9,7 +7,6 @@ import lombok.Setter;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AllMasterOptionsRequest extends BaseClass {
|
public class AllMasterOptionsRequest extends BaseClass {
|
||||||
|
|
||||||
private Integer pageNo = 0;
|
private Integer pageNo = 0;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class AmountBreakRequest {
|
public class AmountBreakRequest {
|
||||||
private String name;
|
private String name;
|
||||||
private double value;
|
private double value;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -12,7 +10,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillFetchByBillIdRequest extends BaseClass {
|
public class BillFetchByBillIdRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "bill id not be null")
|
@NotBlank(message = "bill id not be null")
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class BillFetchByClientIdRequest extends BaseClass{
|
public class BillFetchByClientIdRequest extends BaseClass{
|
||||||
|
|
||||||
private String clientReqId;
|
private String clientReqId;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto.request;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -11,8 +9,6 @@ import lombok.Setter;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class BillPaymentRequest extends BaseClass {
|
public class BillPaymentRequest extends BaseClass {
|
||||||
|
|
||||||
private String refId;
|
private String refId;
|
||||||
|
|||||||
-3
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class BillValidateByClientIdRequest extends BaseClass{
|
public class BillValidateByClientIdRequest extends BaseClass{
|
||||||
|
|
||||||
private String clientReqId;
|
private String clientReqId;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -10,7 +8,6 @@ import lombok.ToString;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
@ToString(callSuper = true)
|
@ToString(callSuper = true)
|
||||||
public class BillerDetailRequest extends BaseClass{
|
public class BillerDetailRequest extends BaseClass{
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CallbackRequest {
|
public class CallbackRequest {
|
||||||
@NotBlank(message = "mid is mandatory")
|
@NotBlank(message = "mid is mandatory")
|
||||||
private String mid;
|
private String mid;
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Setter
|
@Setter
|
||||||
@Getter
|
@Getter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CloseComplaintRequest extends BaseClass {
|
public class CloseComplaintRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "complaintDescr not be null")
|
@NotBlank(message = "complaintDescr not be null")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -12,7 +10,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ComplainStatusRequest extends BaseClass {
|
public class ComplainStatusRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "ticketId Id cannot be null or blank")
|
@NotBlank(message = "ticketId Id cannot be null or blank")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -9,7 +7,6 @@ import lombok.Setter;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ComplaintRequestDTO extends BaseClass {
|
public class ComplaintRequestDTO extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "Ticket description cannot be null.")
|
@NotBlank(message = "Ticket description cannot be null.")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@@ -11,8 +9,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class ContactMasterRequest extends BaseClass {
|
public class ContactMasterRequest extends BaseClass {
|
||||||
private String category;
|
private String category;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -14,7 +12,6 @@ import lombok.ToString;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CustomParamRequest extends BaseClass {
|
public class CustomParamRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "biller id not be null")
|
@NotBlank(message = "biller id not be null")
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class CustomerParamTagRequest {
|
public class CustomerParamTagRequest {
|
||||||
private String name;
|
private String name;
|
||||||
private String value;
|
private String value;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class DeviceBlockTagRequest {
|
public class DeviceBlockTagRequest {
|
||||||
private String name;
|
private String name;
|
||||||
private String value;
|
private String value;
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class DispositionRequest extends BaseClass {
|
public class DispositionRequest extends BaseClass {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import java.util.List;
|
|||||||
import com.billpaymentservice.bbps.dto.CustomerParamsRequest;
|
import com.billpaymentservice.bbps.dto.CustomerParamsRequest;
|
||||||
import com.billpaymentservice.bbps.dto.RemitterIdentity;
|
import com.billpaymentservice.bbps.dto.RemitterIdentity;
|
||||||
import com.billpaymentservice.bbps.dto.Tag;
|
import com.billpaymentservice.bbps.dto.Tag;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
@@ -19,7 +18,6 @@ import lombok.ToString;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@ToString
|
@ToString
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class FetchBillRequest extends BaseClass {
|
public class FetchBillRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "biller id not be null")
|
@NotBlank(message = "biller id not be null")
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.billpaymentservice.bbps.dto.CustomerParamsRequest;
|
import com.billpaymentservice.bbps.dto.CustomerParamsRequest;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
@@ -14,7 +13,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class FetchBillValidatestRequest extends BaseClass {
|
public class FetchBillValidatestRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "biller id not be null")
|
@NotBlank(message = "biller id not be null")
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
@@ -13,7 +12,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class GetTicketLatestStausRequest extends BaseClass {
|
public class GetTicketLatestStausRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "txnNpciId Id cannot be null or blank")
|
@NotBlank(message = "txnNpciId Id cannot be null or blank")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Pattern;
|
import jakarta.validation.constraints.Pattern;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -11,7 +9,6 @@ import lombok.Setter;
|
|||||||
@Data
|
@Data
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class LoginRequest {
|
public class LoginRequest {
|
||||||
|
|
||||||
@NotBlank(message = "Mobile number is required")
|
@NotBlank(message = "Mobile number is required")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
@@ -14,7 +12,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class MasterCategoryRequest extends BaseClass {
|
public class MasterCategoryRequest extends BaseClass {
|
||||||
|
|
||||||
private String billerName;
|
private String billerName;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
|
|
||||||
public class MasterRequest extends BaseClass {
|
public class MasterRequest extends BaseClass {
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class MerchantRequestModel {
|
public class MerchantRequestModel {
|
||||||
|
|
||||||
private String mid;
|
private String mid;
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PaymentHistoryByTxnRequest extends BaseClass {
|
public class PaymentHistoryByTxnRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "txn Id not be null")
|
@NotBlank(message = "txn Id not be null")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -9,7 +7,6 @@ import lombok.Setter;
|
|||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PaymentHistoryRequest extends BaseClass {
|
public class PaymentHistoryRequest extends BaseClass {
|
||||||
|
|
||||||
private Integer pageNo = 0;
|
private Integer pageNo = 0;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package com.billpaymentservice.bbps.dto.request;
|
|||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -14,7 +12,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
// DTO representing the user request payload described by the user
|
// DTO representing the user request payload described by the user
|
||||||
public class PaymentStartUserRequest extends BaseClass implements Serializable {
|
public class PaymentStartUserRequest extends BaseClass implements Serializable {
|
||||||
@NotBlank(message = "amount can not be null")
|
@NotBlank(message = "amount can not be null")
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
@@ -17,7 +15,6 @@ import lombok.Setter;
|
|||||||
@Setter
|
@Setter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PlanRequest extends BaseClass {
|
public class PlanRequest extends BaseClass {
|
||||||
|
|
||||||
// ✅ Mandatory: 14-character alphanumeric
|
// ✅ Mandatory: 14-character alphanumeric
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class PollBackRequest extends BaseClass {
|
public class PollBackRequest extends BaseClass {
|
||||||
|
|
||||||
@NotBlank(message = "order Id not be null")
|
@NotBlank(message = "order Id not be null")
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ReOpenComplain extends BaseClass {
|
public class ReOpenComplain extends BaseClass {
|
||||||
|
|
||||||
private String complaintDescr;
|
private String complaintDescr;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class RemitterIdentityRequest {
|
public class RemitterIdentityRequest {
|
||||||
private String name;
|
private String name;
|
||||||
private String value;
|
private String value;
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class TransactionHistory {
|
public class TransactionHistory {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class TransactionStatusRequest extends BaseClass {
|
public class TransactionStatusRequest extends BaseClass {
|
||||||
@NotNull
|
@NotNull
|
||||||
private String txnId; // UUID of transaction
|
private String txnId; // UUID of transaction
|
||||||
|
|||||||
-3
@@ -1,12 +1,9 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class TrasactionStatusByClientReqIdRequest extends BaseClass{
|
public class TrasactionStatusByClientReqIdRequest extends BaseClass{
|
||||||
|
|
||||||
private String clientReqId;
|
private String clientReqId;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class TxnStatusRequest extends BaseClass {
|
public class TxnStatusRequest extends BaseClass {
|
||||||
|
|
||||||
private String id;
|
private String id;
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ViewAllComplaintsRequest extends BaseClass{
|
public class ViewAllComplaintsRequest extends BaseClass{
|
||||||
|
|
||||||
private String statusType; // e.g. COMPLAINT_OPEN_SUCCESS
|
private String statusType; // e.g. COMPLAINT_OPEN_SUCCESS
|
||||||
|
|||||||
-3
@@ -1,14 +1,11 @@
|
|||||||
package com.billpaymentservice.bbps.dto.request;
|
package com.billpaymentservice.bbps.dto.request;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
||||||
|
|
||||||
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.Min;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
||||||
public class ViewAllComplaintsTicketsRequest extends BaseClass {
|
public class ViewAllComplaintsTicketsRequest extends BaseClass {
|
||||||
|
|
||||||
private String statusType; // e.g. COMPLAINT_OPEN_SUCCESS
|
private String statusType; // e.g. COMPLAINT_OPEN_SUCCESS
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user