-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from Orange-Co/feature/payment
Feature/payment
- Loading branch information
Showing
6 changed files
with
74 additions
and
20 deletions.
There are no files selected for viewing
Submodule DDANZI_Server_yml
updated
from 7b9bdc to 0686e1
15 changes: 15 additions & 0 deletions
15
src/main/java/co/orange/ddanzi/dto/payment/PortOneTokenRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package co.orange.ddanzi.dto.payment; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Builder | ||
@Getter | ||
public class PortOneTokenRequestDto { | ||
@JsonProperty("imp_key") | ||
private String impKey; // 필드 이름을 camelCase로 수정 | ||
|
||
@JsonProperty("imp_secret") | ||
private String impSecret; | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/co/orange/ddanzi/dto/payment/PortOneTokenResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package co.orange.ddanzi.dto.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PortOneTokenResponseDto { | ||
private int code; | ||
private String message; | ||
private Response response; | ||
|
||
@Getter | ||
@Builder | ||
public static class Response { | ||
private String access_token; | ||
private long now; | ||
private long expired_at; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters