Class PaymentCreateRequest
java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.PaymentCreateRequest
Payment Create Request
Payment configuration containing handlers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe payment instruments available for this payment.The id of the currently selected payment instrument from the instruments array.inthashCode()voidsetAdditionalProperty(String name, Object value) 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) withInstruments(List<Object> instruments) withSelectedInstrumentId(String selectedInstrumentId)
-
Constructor Details
-
PaymentCreateRequest
public PaymentCreateRequest()
-
-
Method Details
-
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
-