Class PaymentHandlerResponse

java.lang.Object
io.deeplumen.ucp.models.discovery.PaymentHandlerResponse

@Generated("jsonschema2pojo") public class PaymentHandlerResponse extends Object
Payment Handler Response

  • Constructor Details

    • PaymentHandlerResponse

      public PaymentHandlerResponse()
  • Method Details

    • getId

      public String getId()
      The unique identifier for this handler instance within the payment.handlers. Used by payment instruments to reference which handler produced them. (Required)
    • setId

      public void setId(String id)
      The unique identifier for this handler instance within the payment.handlers. Used by payment instruments to reference which handler produced them. (Required)
    • withId

      public PaymentHandlerResponse withId(String id)
    • getName

      public String getName()
      The specification name using reverse-DNS format. For example, dev.ucp.delegate_payment. (Required)
    • setName

      public void setName(String name)
      The specification name using reverse-DNS format. For example, dev.ucp.delegate_payment. (Required)
    • withName

      public PaymentHandlerResponse withName(String name)
    • getVersion

      public String getVersion()
      UCP protocol version in YYYY-MM-DD format. (Required)
    • setVersion

      public void setVersion(String version)
      UCP protocol version in YYYY-MM-DD format. (Required)
    • withVersion

      public PaymentHandlerResponse withVersion(String version)
    • getSpec

      public URI getSpec()
      A URI pointing to the technical specification or schema that defines how this handler operates. (Required)
    • setSpec

      public void setSpec(URI spec)
      A URI pointing to the technical specification or schema that defines how this handler operates. (Required)
    • withSpec

      public PaymentHandlerResponse withSpec(URI spec)
    • getConfigSchema

      public URI getConfigSchema()
      A URI pointing to a JSON Schema used to validate the structure of the config object. (Required)
    • setConfigSchema

      public void setConfigSchema(URI configSchema)
      A URI pointing to a JSON Schema used to validate the structure of the config object. (Required)
    • withConfigSchema

      public PaymentHandlerResponse withConfigSchema(URI configSchema)
    • getInstrumentSchemas

      public List<URI> getInstrumentSchemas()
      (Required)
    • setInstrumentSchemas

      public void setInstrumentSchemas(List<URI> instrumentSchemas)
      (Required)
    • withInstrumentSchemas

      public PaymentHandlerResponse withInstrumentSchemas(List<URI> instrumentSchemas)
    • getConfig

      public Config getConfig()
      A dictionary containing provider-specific configuration details, such as merchant IDs, supported networks, or gateway credentials. (Required)
    • setConfig

      public void setConfig(Config config)
      A dictionary containing provider-specific configuration details, such as merchant IDs, supported networks, or gateway credentials. (Required)
    • withConfig

      public PaymentHandlerResponse withConfig(Config config)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public PaymentHandlerResponse withAdditionalProperty(String name, Object value)
    • toString

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

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object