카드 매입 승인 경로 Spring Boot 3 전환 (ACX-E2E-1785394564819)
Some checks are pending
Verify / source-contract (push) Waiting to run
Some checks are pending
Verify / source-contract (push) Waiting to run
This commit is contained in:
parent
f006ec0d0c
commit
8b8e860a75
1 changed files with 34 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
||||||
|
package com.acquirex.approval;
|
||||||
|
|
||||||
|
import jakarta.validation.constraints.NotBlank;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import jakarta.validation.constraints.Positive;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class CardAcquisitionApprovalRequest {
|
||||||
|
@NotBlank(message = "가맹점 ID는 필수입니다")
|
||||||
|
private String merchantId;
|
||||||
|
|
||||||
|
@NotBlank(message = "카드사 코드는 필수입니다")
|
||||||
|
private String cardCompanyCode;
|
||||||
|
|
||||||
|
@NotNull(message = "거래 금액은 필수입니다")
|
||||||
|
@Positive(message = "거래 금액은 양수여야 합니다")
|
||||||
|
private BigDecimal transactionAmount;
|
||||||
|
|
||||||
|
@NotBlank(message = "거래 유형은 필수입니다")
|
||||||
|
private String transactionType;
|
||||||
|
|
||||||
|
private String merchantName;
|
||||||
|
private LocalDateTime requestDateTime;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue