BasePaymentDataCallbacks

public abstract class BasePaymentDataCallbacks extends Object

Abstract base class containing the payment data callbacks to be implemented by the callers of PaymentsClient.loadPaymentData(PaymentDataRequest).

Public Constructor Summary

Protected Method Summary

void
onPaymentAuthorized(PaymentData request, OnCompleteListener<PaymentAuthorizationResult> onCompleteListener)
The method that handles the payment authorize callback.
void
onPaymentDataChanged(IntermediatePaymentData request, OnCompleteListener<PaymentDataRequestUpdate> onCompleteListener)
The method that handles the payment update callback.

Inherited Method Summary

Public Constructors

public BasePaymentDataCallbacks ()

Protected Methods

protected void onPaymentAuthorized (PaymentData request, OnCompleteListener<PaymentAuthorizationResult> onCompleteListener)

The method that handles the payment authorize callback. This will be implemented by the merchant.

protected void onPaymentDataChanged (IntermediatePaymentData request, OnCompleteListener<PaymentDataRequestUpdate> onCompleteListener)

The method that handles the payment update callback. This will be implemented by the merchant.