PaymentComponent
A component that handles collecting user input data. It handles validating and formatting the data for the UI. A valid PaymentComponentState contains PaymentMethodDetails to help compose the request to the /payments API call.
This component can also handle additional actions.
Can be attached to AdyenComponentView to present a view to the user.