Action

abstract class Action : ModelObject

An Action is an object from the response of the /payments API call that indicates what needs to be done to complete the payment. Each type of Action contains different properties, so we use polymorphism to parse which type of Action we are dealing with.

Action.SERIALIZER can be used to serialize and deserialize the subclasses of Action without having to know the exact type of the subclass.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var paymentData: String?
Link copied to clipboard
abstract var paymentMethodType: String?
Link copied to clipboard
abstract var type: String?

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)