Package model
Class AdditionalPurchaseDataOrderDate
java.lang.Object
model.AdditionalPurchaseDataOrderDate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class AdditionalPurchaseDataOrderDate
extends Object
AdditionalPurchaseDataOrderDate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of AdditionalPurchaseDataOrderDate given an JSON stringgetDay()Day of purchase (between 1 and 31)getMonth()Month of purchase (between 1 and 12)getYear()Year of purchase (4-digit)inthashCode()voidvoidvoidtoJson()Convert an instance of AdditionalPurchaseDataOrderDate to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DAY
- See Also:
-
SERIALIZED_NAME_MONTH
- See Also:
-
SERIALIZED_NAME_YEAR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdditionalPurchaseDataOrderDate
public AdditionalPurchaseDataOrderDate()
-
-
Method Details
-
day
-
getDay
Day of purchase (between 1 and 31)- Returns:
- day
-
setDay
-
month
-
getMonth
Month of purchase (between 1 and 12)- Returns:
- month
-
setMonth
-
year
-
getYear
Year of purchase (4-digit)- Returns:
- year
-
setYear
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to AdditionalPurchaseDataOrderDate
-
fromJson
Create an instance of AdditionalPurchaseDataOrderDate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalPurchaseDataOrderDate
- Throws:
IOException- if the JSON string is invalid with respect to AdditionalPurchaseDataOrderDate
-
toJson
Convert an instance of AdditionalPurchaseDataOrderDate to an JSON string- Returns:
- JSON string
-