Package model

Class CreateVerificationRequest

java.lang.Object
model.CreateVerificationRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]") public class CreateVerificationRequest extends Object
CreateVerificationRequest
  • Field Details

  • Constructor Details

    • CreateVerificationRequest

      public CreateVerificationRequest()
  • Method Details

    • tags

    • putTagsItem

      public CreateVerificationRequest putTagsItem(String key, String tagsItem)
    • getTags

      @Nullable public Map<String,String> getTags()
      Key value pair for annotating custom meta data (e.g. order numbers).
      Returns:
      tags
    • setTags

      public void setTags(Map<String,String> tags)
    • identity

      public CreateVerificationRequest identity(String identity)
    • getIdentity

      @Nullable public String getIdentity()
      ID of the `Identity` resource associated with the `Merchant`.
      Returns:
      identity
    • setIdentity

      public void setIdentity(String identity)
    • instrument

      public CreateVerificationRequest instrument(String instrument)
    • getInstrument

      @Nullable public String getInstrument()
      The `Payment Instrument` that'll be used to settle the `Merchant's` funds.
      Returns:
      instrument
    • setInstrument

      public void setInstrument(String instrument)
    • merchant

      public CreateVerificationRequest merchant(String merchant)
    • getMerchant

      @Nullable public String getMerchant()
      The ID of the `Merchant`.
      Returns:
      merchant
    • setMerchant

      public void setMerchant(String merchant)
    • processor

      public CreateVerificationRequest processor(String processor)
    • getProcessor

      @Nullable public String getProcessor()
      Name of the `Verification` processor.
      Returns:
      processor
    • setProcessor

      public void setProcessor(String processor)
    • 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 CreateVerificationRequest
    • fromJson

      public static CreateVerificationRequest fromJson(String jsonString) throws IOException
      Create an instance of CreateVerificationRequest given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of CreateVerificationRequest
      Throws:
      IOException - if the JSON string is invalid with respect to CreateVerificationRequest
    • toJson

      public String toJson()
      Convert an instance of CreateVerificationRequest to an JSON string
      Returns:
      JSON string