Class PaymentResponse

java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.PaymentResponse

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

Payment configuration containing handlers.

  • Constructor Details

    • PaymentResponse

      public PaymentResponse()
  • Method Details

    • getHandlers

      public List<PaymentHandlerResponse> getHandlers()
      Processing configurations that define how payment instruments can be collected. Each handler specifies a tokenization or payment collection strategy. (Required)
    • setHandlers

      public void setHandlers(List<PaymentHandlerResponse> handlers)
      Processing configurations that define how payment instruments can be collected. Each handler specifies a tokenization or payment collection strategy. (Required)
    • withHandlers

      public PaymentResponse withHandlers(List<PaymentHandlerResponse> handlers)
    • getSelectedInstrumentId

      public String getSelectedInstrumentId()
      The id of the currently selected payment instrument from the instruments array. Set by the agent when submitting payment, and echoed back by the merchant in finalized state.
    • setSelectedInstrumentId

      public void setSelectedInstrumentId(String selectedInstrumentId)
      The id of the currently selected payment instrument from the instruments array. Set by the agent when submitting payment, and echoed back by the merchant in finalized state.
    • withSelectedInstrumentId

      public PaymentResponse withSelectedInstrumentId(String selectedInstrumentId)
    • getInstruments

      public List<Object> getInstruments()
      The payment instruments available for this payment. Each instrument is associated with a specific handler via the handler_id field. Handlers can extend the base payment_instrument schema to add handler-specific fields.
    • setInstruments

      public void setInstruments(List<Object> instruments)
      The payment instruments available for this payment. Each instrument is associated with a specific handler via the handler_id field. Handlers can extend the base payment_instrument schema to add handler-specific fields.
    • withInstruments

      public PaymentResponse withInstruments(List<Object> instruments)
    • getAdditionalProperties

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

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

      public PaymentResponse 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