Square is acquiring Afterpay in Australia's largest takeover ever.