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

com.simpay.payment.client.model.operation.PayMoneyRequest Maven / Gradle / Ivy

package com.simpay.payment.client.model.operation;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import java.math.BigDecimal;
import java.util.UUID;
import lombok.*;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "Money payment request Model")
public class PayMoneyRequest {
  @Schema(description = "Borrower reference")
  @NotNull(message = "The borrower reference is required")
  private UUID userReference;

  @Schema(description = "Money request paid amount")
  @NotNull(message = "The paid amount is required")
  @Positive(message = "The paid amount most be a positive number")
  private BigDecimal paidAmount;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy