All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.payu.auth.client.model.operation.UpdateUserPhoneNumber Maven / Gradle / Ivy

There is a newer version: 0.0.15
Show newest version
package com.payu.auth.client.model.operation;

import static com.payu.auth.client.constant.Validation.PHONE_NUMBER_PATTERN;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "Update User phone number Model operation")
public class UpdateUserPhoneNumber {
  @Schema(description = "Phone number")
  @NotNull(message = "Phone number is require")
  @NotBlank(message = "Phone number is require")
  @Pattern(regexp = PHONE_NUMBER_PATTERN, message = "Invalid phone number format")
  private String phoneNumber;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy