Same configuration object, same handlers. The difference is what you mount:
const { AdyenCheckout, Card, Ideal } = window.AdyenWeb;
const checkout = await AdyenCheckout({ });
new Card(checkout).mount('#card-container');
new Ideal(checkout).mount('#ideal-container');
You build the method selector and decide which component to show. Everything from onSubmit onward is unchanged.
Remember that this list is yours to maintain. Enabling a method in Part 6 makes it available, but it will not appear in your checkout until you mount a component for it.