This method gets the previously created Payment Element instance, if it exists.
getPaymentElement() returns one of the following:
getPaymentElement()
null
var element = checkout.getPaymentElement();