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
  • Field Details

  • Constructor Details

    • ApplePaySession

      public ApplePaySession()
  • Method Details

    • id

      public ApplePaySession id(String id)
    • getId

      @Nullable public String getId()
      The ID of the `apple_pay_session` resource.
      Returns:
      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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      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