[api] Allow especially overriden attribute setters for line items

Fixes #2916
Revert "[api] Remove LineItemDecorator"

This reverts commit aff30f52f3dad3f8aca9ed838575542a30c9a1e6.

Turns out that this is required if we are going to use :as => :api. Whodathunk?