Package model
Class ApplePaySession
- java.lang.Object
-
- model.ApplePaySession
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ApplePaySession extends Object
ApplePaySession
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplePaySession.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_SESSION_DETAILSstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description ApplePaySession()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplePaySessioncreatedAt(OffsetDateTime createdAt)booleanequals(Object o)static ApplePaySessionfromJson(String jsonString)Create an instance of ApplePaySession given an JSON stringOffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetId()The ID of the `apple_pay_session` resource.DisputeEvidenceLinksgetLinks()Get linksStringgetSessionDetails()Details about the `apple_pay_session` that was created.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()ApplePaySessionid(String id)ApplePaySessionlinks(DisputeEvidenceLinks links)ApplePaySessionsessionDetails(String sessionDetails)voidsetCreatedAt(OffsetDateTime createdAt)voidsetId(String id)voidsetLinks(DisputeEvidenceLinks links)voidsetSessionDetails(String sessionDetails)voidsetUpdatedAt(OffsetDateTime updatedAt)StringtoJson()Convert an instance of ApplePaySession to an JSON stringStringtoString()ApplePaySessionupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_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
-
SERIALIZED_NAME_SESSION_DETAILS
public static final String SERIALIZED_NAME_SESSION_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ApplePaySession id(String id)
-
setId
public void setId(String id)
-
createdAt
public ApplePaySession createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public ApplePaySession updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
sessionDetails
public ApplePaySession sessionDetails(String sessionDetails)
-
getSessionDetails
@Nullable public String getSessionDetails()
Details about the `apple_pay_session` that was created.- Returns:
- sessionDetails
-
setSessionDetails
public void setSessionDetails(String sessionDetails)
-
links
public ApplePaySession links(DisputeEvidenceLinks links)
-
getLinks
@Nullable public DisputeEvidenceLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(DisputeEvidenceLinks links)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 ApplePaySession
-
fromJson
public static ApplePaySession fromJson(String jsonString) throws IOException
Create an instance of ApplePaySession given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ApplePaySession
- Throws:
IOException- if the JSON string is invalid with respect to ApplePaySession
-
toJson
public String toJson()
Convert an instance of ApplePaySession to an JSON string- Returns:
- JSON string
-
-