public abstract class CheckoutSessionActivity extends AppCompatActivity implements CheckoutSessionProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTRA_PAYMENT_REFERENCE |
Constructor and Description |
---|
CheckoutSessionActivity() |
Modifier and Type | Method and Description |
---|---|
protected LogoApi |
getLogoApi() |
PaymentHandler |
getPaymentHandler() |
PaymentReference |
getPaymentReference() |
protected PaymentSession |
getPaymentSession() |
protected void |
handleCheckoutException(CheckoutException checkoutException) |
protected void |
handlePaymentComplete(PaymentResult paymentResult) |
void |
onAuthenticationDetailsRequired(AuthenticationDetails authenticationDetails) |
protected void |
onCreate(Bundle savedInstanceState) |
public static final java.lang.String EXTRA_PAYMENT_REFERENCE
public PaymentReference getPaymentReference()
getPaymentReference
in interface CheckoutSessionProvider
public PaymentHandler getPaymentHandler()
getPaymentHandler
in interface CheckoutSessionProvider
protected void onCreate(Bundle savedInstanceState)
protected LogoApi getLogoApi()
protected PaymentSession getPaymentSession()
protected void handlePaymentComplete(PaymentResult paymentResult)
protected void handleCheckoutException(CheckoutException checkoutException)
public void onAuthenticationDetailsRequired(AuthenticationDetails authenticationDetails)