class Gillbus class ReturnCause extend Fields include UpdateAttrs # The return condition ID field :id # Approx. return amount in sale currency field :approximate_amount, :money # The return reason’s description. field :cause parser do def money(val) Monetize.parse(val, parent.sale_cur_code) end end end end