DropInServiceContract

Functions

Link copied to clipboard
abstract fun onAdditionalDetails(actionComponentData: ActionComponentData)

In this method you should make a network call to the /payments/details endpoint of the Checkout API through your server.

Link copied to clipboard
open fun onBalanceCheck(paymentComponentState: PaymentComponentState<*>)

Only applicable for partial payments flow.

Link copied to clipboard
open fun onOrderCancel(order: Order, shouldUpdatePaymentMethods: Boolean)

Only applicable for partial payments flow.

Link copied to clipboard
open fun onOrderRequest()

Only applicable for partial payments flow.

Link copied to clipboard
abstract fun onSubmit(state: PaymentComponentState<*>)

In this method you should make a network call to the /payments endpoint of the Checkout API through your server.