Financial accounting

A company sells a device and a one-year service plan for one combined price. If both items are distinct promises to the customer, what is the central accounting task?