Class PaymentCreateRequest

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

@Generated("jsonschema2pojo") public class PaymentCreateRequest extends Object
Payment Create Request

Payment configuration containing handlers.

  • Constructor Details

    • PaymentCreateRequest

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

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

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

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