Added a method to return the amount to checkout #6364