src/Resource/Orders.php
public function setAddition($value)
    {
        if (!isset($this->data->amount->subtotals)) {
            $this->data->amount->subtotals = new stdClass();
        }
        $this->data->amount->subtotals->addition = (float) $value;

        return $this;
    }
public function setAddition($value)
    {
        if (!isset($this->data->amount->subtotals)) {
            $this->data->amount->subtotals = new stdClass();
        }
        $this->data->amount->subtotals->addition = (float) $value;

        return $this;
    }
public function setAddition ( $ value ) { if ( ! isset ( $ this -> data -> amount -> subtotals ) ) { $ this -> data -> amount -> subtotals = new stdClass ( ) ; } $ this -> data -> amount -> subtotals -> addition = ( float ) $ value ; return $ this ; }
Set additional value to the item will be added to the value of the items.

@param int|float $value additional value to the item.

@return $this
Set additional value to the item will be added to the value of the items .