public static function create($quantity, $productCode, $description, $amount, $vat, $currency = "EUR") {
        $item = new LineItem;
        $item->quantity = $quantity;
        $item->productCode = $productCode;
        $item->description = $description;
        $item->amount = $amount;
        $item->vat = $vat;
        $item->currency = $currency;
        return $item;
    }
public static function create($quantity, $productCode, $description, $amount, $vat, $currency = "EUR") {
        $item = new LineItem;
        $item->quantity = $quantity;
        $item->productCode = $productCode;
        $item->description = $description;
        $item->amount = $amount;
        $item->vat = $vat;
        $item->currency = $currency;
        return $item;
    }
public static function create ( $ quantity , $ productCode , $ description , $ amount , $ vat , $ currency = "EUR" ) { $ item = new LineItem ; $ item -> quantity = $ quantity ; $ item -> productCode = $ productCode ; $ item -> description = $ description ; $ item -> amount = $ amount ; $ item -> vat = $ vat ; $ item -> currency = $ currency ; return $ item ; }
LineItem creator.
@param int $quantity
@param string $productCode
@param string $description
@param Amount $amount
@param int $vat
@param string $currency
@return LineItem
LineItem creator .