Package io.sendon.model
Class PointDetails
- java.lang.Object
-
- io.sendon.model.PointDetails
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-25T16:56:04.124507+09:00[Asia/Seoul]", comments="Generator version: 7.7.0") public class PointDetails extends Object
PointDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPointDetails.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHANNEL_IDstatic StringSERIALIZED_NAME_COST_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_POINT_IDstatic StringSERIALIZED_NAME_POINTSstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description PointDetails()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_POINTS
public static final String SERIALIZED_NAME_POINTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COST_ID
public static final String SERIALIZED_NAME_COST_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POINT_ID
public static final String SERIALIZED_NAME_POINT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHANNEL_ID
public static final String SERIALIZED_NAME_CHANNEL_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
points
public PointDetails points(BigDecimal points)
-
getPoints
@Nonnull public BigDecimal getPoints()
포인트 금액- Returns:
- points
-
setPoints
public void setPoints(BigDecimal points)
-
costId
public PointDetails costId(BigDecimal costId)
-
getCostId
@Nullable public BigDecimal getCostId()
단가 ID- Returns:
- costId
-
setCostId
public void setCostId(BigDecimal costId)
-
pointId
public PointDetails pointId(BigDecimal pointId)
-
getPointId
@Nonnull public BigDecimal getPointId()
포인트 ID- Returns:
- pointId
-
setPointId
public void setPointId(BigDecimal pointId)
-
channelId
public PointDetails channelId(BigDecimal channelId)
-
getChannelId
@Nullable public BigDecimal getChannelId()
채널 ID- Returns:
- channelId
-
setChannelId
public void setChannelId(BigDecimal channelId)
-
userId
public PointDetails userId(BigDecimal userId)
-
getUserId
@Nonnull public BigDecimal getUserId()
사용자 ID- Returns:
- userId
-
setUserId
public void setUserId(BigDecimal userId)
-
createdAt
public PointDetails createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
생성 일자- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public PointDetails updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
갱신 일자- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to PointDetails
-
fromJson
public static PointDetails fromJson(String jsonString) throws IOException
Create an instance of PointDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PointDetails
- Throws:
IOException- if the JSON string is invalid with respect to PointDetails
-
toJson
public String toJson()
Convert an instance of PointDetails to an JSON string- Returns:
- JSON string
-
-