BitcoinInvoice calls class method better