com.simpay.payment.client.model.operation.MoneyRequestUpdateStatus Maven / Gradle / Ivy
package com.simpay.payment.client.model.operation;
import com.simpay.payment.client.enums.MoneyRequestStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import java.math.BigDecimal;
import lombok.*;
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "Money request Model")
public class MoneyRequestUpdateStatus {
@Schema(description = "Money request reference")
@NotNull(message = "The money request reference is required")
private String reference;
@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;
@Schema(description = "Money request status")
@NotNull(message = "The money request status is required")
private MoneyRequestStatus requestStatus;
@Schema(description = "Reject reason")
private String rejectReason;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy