Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api-v0.1.5-1 #366

Merged
merged 1 commit into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class AddCartOptionAnswerDto {
@NotNull
private Long optionId;

@Schema(description = "옵션 그룹에 대한 응답/ T/F면 예,아니오 ,서술형이면 서술응답", defaultValue = "")
@Schema(description = "옵션 그룹에 대한 응답/ T/F면 예,아니오 ,서술형이면 서술응답", defaultValue = "")
@NotBlank
private String answer;
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class CartResponse {
private final Boolean isNeedPayment;

@Schema(description = "티켓의 타입. 승인 , 선착순 두가지입니다.")
private final TicketType ticketType;
private final TicketType approveType;

public static CartResponse of(
List<CartItemResponse> cartItemResponses, Cart cart, TicketItem item) {
Expand All @@ -45,7 +45,7 @@ public static CartResponse of(
.title(cart.getCartName())
.isNeedPayment(cart.isNeedPaid())
.totalQuantity(cart.getTotalQuantity())
.ticketType(item.getType())
.approveType(item.getType())
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class CreateOrderResponse {
private final OrderMethod orderMethod;

@Schema(description = "티켓의 타입. 승인 , 선착순 두가지입니다.")
private final TicketType ticketType;
private final TicketType approveType;

@Schema(description = "티켓의 지불 타입. 두둥티켓, 무료 , 유료 세가지입니다.")
private final TicketPayType ticketPayType;
Expand All @@ -54,7 +54,7 @@ public static CreateOrderResponse from(Order order, TicketItem item, Profile pro
.amount(order.getTotalPaymentPrice())
.orderMethod(order.getOrderMethod())
.isNeedPayment(order.isNeedPaid())
.ticketType(item.getType())
.approveType(item.getType())
.ticketPayType(item.getPayType())
.accountNumber(item.getAccountNumber())
.build();
Expand Down