Class PaymentMethodsApiResponse
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PaymentMethodsApiResponse extends ModelObjectObject that parses and holds the response data from the /paymentMethods endpoint. Use PaymentMethodsApiResponse.SERIALIZER to deserialize this class from your JSON response.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ModelObject.Serializer<PaymentMethodsApiResponse>SERIALIZERprivate List<StoredPaymentMethod>storedPaymentMethodsprivate List<PaymentMethod>paymentMethods
-
Constructor Summary
Constructors Constructor Description PaymentMethodsApiResponse(List<StoredPaymentMethod> storedPaymentMethods, List<PaymentMethod> paymentMethods)
-
Method Summary
Modifier and Type Method Description final List<StoredPaymentMethod>getStoredPaymentMethods()final UnitsetStoredPaymentMethods(List<StoredPaymentMethod> storedPaymentMethods)final List<PaymentMethod>getPaymentMethods()final UnitsetPaymentMethods(List<PaymentMethod> paymentMethods)-
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
-
-
Constructor Detail
-
PaymentMethodsApiResponse
PaymentMethodsApiResponse(List<StoredPaymentMethod> storedPaymentMethods, List<PaymentMethod> paymentMethods)
-
-
Method Detail
-
getStoredPaymentMethods
final List<StoredPaymentMethod> getStoredPaymentMethods()
-
setStoredPaymentMethods
final Unit setStoredPaymentMethods(List<StoredPaymentMethod> storedPaymentMethods)
-
getPaymentMethods
final List<PaymentMethod> getPaymentMethods()
-
setPaymentMethods
final Unit setPaymentMethods(List<PaymentMethod> paymentMethods)
-
-
-
-