Deprecate the old getPayment and setPayment methods.