public abstract class CheckoutMethod extends java.lang.Object implements SimpleDiffCallback.Comparable<CheckoutMethod>
Constructor and Description |
---|
CheckoutMethod(Application application,
PaymentMethod paymentMethod) |
Modifier and Type | Method and Description |
---|---|
RequestArgs |
buildLogoRequestArgs(LogoApi logoApi) |
Application |
getApplication() |
PaymentMethod |
getPaymentMethod() |
java.lang.String |
getPrimaryText() |
java.lang.String |
getSecondaryText() |
boolean |
isSameContent(CheckoutMethod newItem) |
boolean |
isSameItem(CheckoutMethod newItem) |
abstract void |
onSelected(CheckoutHandler checkoutHandler) |
public CheckoutMethod(Application application, PaymentMethod paymentMethod)
public boolean isSameItem(CheckoutMethod newItem)
isSameItem
in interface SimpleDiffCallback.Comparable<CheckoutMethod>
public boolean isSameContent(CheckoutMethod newItem)
isSameContent
in interface SimpleDiffCallback.Comparable<CheckoutMethod>
public RequestArgs buildLogoRequestArgs(LogoApi logoApi)
public java.lang.String getPrimaryText()
public java.lang.String getSecondaryText()
public abstract void onSelected(CheckoutHandler checkoutHandler)
public final Application getApplication()
public final PaymentMethod getPaymentMethod()