Class PaymentMethodDetails
-
- All Implemented Interfaces:
-
android.os.Parcelable
public abstract class PaymentMethodDetails extends ModelObjectThis class is a top level abstraction for data objects that can be serialized to the paymentMethod parameter inside the request body of the /payments API call.
PaymentMethodDetails.SERIALIZER can be used to serialize and deserialize the subclasses of PaymentMethodDetails without having to know the exact type of the subclass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPaymentMethodDetails.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static StringTYPEpublic final static StringCHECKOUT_ATTEMPT_IDpublic final static ModelObject.Serializer<PaymentMethodDetails>SERIALIZERprivate Stringtypeprivate StringcheckoutAttemptIdpublic final static PaymentMethodDetails.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description PaymentMethodDetails()
-
Method Summary
Modifier and Type Method Description abstract StringgetType()abstract UnitsetType(String type)abstract StringgetCheckoutAttemptId()abstract UnitsetCheckoutAttemptId(String checkoutAttemptId)-
Methods inherited from class com.adyen.checkout.core.internal.data.model.ModelObject
describeContents -
Methods inherited from class android.os.Parcelable
writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCheckoutAttemptId
abstract String getCheckoutAttemptId()
-
setCheckoutAttemptId
abstract Unit setCheckoutAttemptId(String checkoutAttemptId)
-
-
-
-