SessionsGiftCardComponentCallback

Implement this callback to interact with a GiftCardComponent initialized with a session.

Inheritors

Functions

Link copied to clipboard
abstract fun onAction(action: Action)
Link copied to clipboard
open fun onAdditionalDetails(actionComponentData: ActionComponentData): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onBalanceCheck(paymentComponentState: PaymentComponentState<*>): Boolean

Only applicable for partial payments flow.

Link copied to clipboard
abstract fun onError(componentError: ComponentError)
Link copied to clipboard
abstract fun onFinished(result: SessionPaymentResult)
Link copied to clipboard
open fun onLoading(isLoading: Boolean)
Link copied to clipboard
Link copied to clipboard

Only applicable for partial payments flow.

Link copied to clipboard

Indicates that a partial payment has been done. This means an order for this payment has been created and part of the amount is still remaining to be paid. This callback provides you with the necessary objects to be able to create a new session to complete the payment for the remaining amount.

Link copied to clipboard
open fun onPermissionRequest(requiredPermission: String, permissionCallback: PermissionHandlerCallback)
Link copied to clipboard
Link copied to clipboard