Class PaymentUpdateRequest

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

@Generated("jsonschema2pojo") public class PaymentUpdateRequest extends Object
Payment Update Request

Payment configuration containing handlers.

  • Constructor Details

    • PaymentUpdateRequest

      public PaymentUpdateRequest()
  • Method Details

    • 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 PaymentUpdateRequest 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 PaymentUpdateRequest withInstruments(List<Object> instruments)
    • getAdditionalProperties

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

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

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