Package model
Class ApplePaySession
java.lang.Object
model.ApplePaySession
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ApplePaySession
extends Object
ApplePaySession
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic ApplePaySessionCreate an instance of ApplePaySession given an JSON stringTimestamp of when the object was created.getId()The ID of the `apple_pay_session` resource.getLinks()Get linksDetails about the `apple_pay_session` that was created.Timestamp of when the object was last updated.inthashCode()links(DisputeEvidenceLinks links) sessionDetails(String sessionDetails) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetLinks(DisputeEvidenceLinks links) voidsetSessionDetails(String sessionDetails) voidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of ApplePaySession to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_SESSION_DETAILS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ApplePaySession
public ApplePaySession()
-
-
Method Details
-
id
-
getId
The ID of the `apple_pay_session` resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
sessionDetails
-
getSessionDetails
Details about the `apple_pay_session` that was created.- Returns:
- sessionDetails
-
setSessionDetails
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
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 ApplePaySession
-
fromJson
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
Convert an instance of ApplePaySession to an JSON string- Returns:
- JSON string
-