Class PaymentResponse
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.PaymentResponse
Payment Response
Payment configuration containing handlers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanProcessing configurations that define how payment instruments can be collected.The payment instruments available for this payment.The id of the currently selected payment instrument from the instruments array.inthashCode()voidsetAdditionalProperty(String name, Object value) voidsetHandlers(List<PaymentHandlerResponse> handlers) Processing configurations that define how payment instruments can be collected.voidsetInstruments(List<Object> instruments) The payment instruments available for this payment.voidsetSelectedInstrumentId(String selectedInstrumentId) The id of the currently selected payment instrument from the instruments array.toString()withAdditionalProperty(String name, Object value) withHandlers(List<PaymentHandlerResponse> handlers) withInstruments(List<Object> instruments) withSelectedInstrumentId(String selectedInstrumentId)
-
Constructor Details
-
PaymentResponse
public PaymentResponse()
-
-
Method Details
-
getHandlers
Processing configurations that define how payment instruments can be collected. Each handler specifies a tokenization or payment collection strategy. (Required) -
setHandlers
Processing configurations that define how payment instruments can be collected. Each handler specifies a tokenization or payment collection strategy. (Required) -
withHandlers
-
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
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
-
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
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
-
getAdditionalProperties
-
setAdditionalProperty
-
withAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-