public function offsetSet($offset, $value)
{
if ('line_subtotal' === $offset) {
$offset = 'subtotal';
} elseif ('line_subtotal_tax' === $offset) {
$offset = 'subtotal_tax';
} elseif ('line_total' === $offset) {
$offset = 'total';
} elseif ('line_tax' === $offset) {
$offset = 'total_tax';
} elseif ('line_tax_data' === $offset) {
$offset = 'taxes';
}
parent::offsetSet($offset, $value);
}