public function asArray() {

		$a = array();

		$a['premiseId'] = +$this->premiseId;
		$a['cashRegisterId'] = $this->cashRegisterId;
		$a['totalPrice'] = self::formatPriceValue($this->totalPrice);

		if ($this->delegatedVatId) {
			$a['delegatedVatId'] = $this->delegatedVatId;
		}
		if ($this->priceZeroVat) {
			$a['priceZeroVat'] = self::formatPriceValue($this->priceZeroVat);
		}                
		if ($this->priceStandardVat) {
			$a['priceStandardVat'] = self::formatPriceValue($this->priceStandardVat);
		}
		if ($this->vatStandard) {
			$a['vatStandard'] = self::formatPriceValue($this->vatStandard);
		}
		if ($this->priceFirstReducedVat) {
			$a['priceFirstReducedVat'] = self::formatPriceValue($this->priceFirstReducedVat);
		}
		if ($this->vatFirstReduced) {
			$a['vatFirstReduced'] = self::formatPriceValue($this->vatFirstReduced);
		}
		if ($this->priceSecondReducedVat) {
			$a['priceSecondReducedVat'] = self::formatPriceValue($this->priceSecondReducedVat);
		}
		if ($this->vatSecondReduced) {
			$a['vatSecondReduced'] = self::formatPriceValue($this->vatSecondReduced);
		}
		if ($this->priceTravelService) {
			$a['priceTravelService'] = self::formatPriceValue($this->priceTravelService);
		}
		if ($this->priceUsedGoodsStandardVat) {
			$a['priceUsedGoodsStandardVat'] = self::formatPriceValue($this->priceUsedGoodsStandardVat);
		}
		if ($this->priceUsedGoodsFirstReduced) {
			$a['priceUsedGoodsFirstReduced'] = self::formatPriceValue($this->priceUsedGoodsFirstReduced);
		}
		if ($this->priceUsedGoodsSecondReduced) {
			$a['priceUsedGoodsSecondReduced'] = self::formatPriceValue($this->priceUsedGoodsSecondReduced);
		}
		if ($this->priceSubsequentSettlement) {
			$a['priceSubsequentSettlement'] = self::formatPriceValue($this->priceSubsequentSettlement);
		}
		if ($this->priceUsedSubsequentSettlement) {
			$a['priceUsedSubsequentSettlement'] = self::formatPriceValue($this->priceUsedSubsequentSettlement);
		}

		return $a;
	}