const card = componentsManager.findComponent('card');
findComponent(componentType)
This method looks up a previously created PaymentUIComponent by its type.
Method Parameters
componentType required string, can be any of:
cardcardholderNamecardNumbercardExpirycardCvccardPostalCodeapplePaygooglePaypaypal
Returns
- An instance of an
PaymentUIComponentwith a matching type, or null, when noPaymentUIComponentwith a matching type has been created.