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 StringSDK_DATApublic final static ModelObject.Serializer<PaymentMethodDetails>SERIALIZERprivate Stringtypeprivate StringcheckoutAttemptIdprivate StringsdkDatapublic 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(@Deprecated(message = "This property is deprecated. Use the SERIALIZER to send the payment data to your backend.") String checkoutAttemptId)abstract StringgetSdkData()abstract UnitsetSdkData(String sdkData)-
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(@Deprecated(message = "This property is deprecated. Use the SERIALIZER to send the payment data to your backend.") String checkoutAttemptId)
-
getSdkData
abstract String getSdkData()
-
setSdkData
abstract Unit setSdkData(String sdkData)
-
-
-
-