| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/callback/sofort/library/helper/ |
Upload File : |
<?php
/**
*
* Data object that encapsulates article's data
* $Date: 2012-09-05 14:27:56 +0200 (Mi, 05 Sep 2012) $
* $ID$
*
*/
class PnagArticle {
public $itemId = '';
public $productNumber = '';
public $productType = '';
public $title = '';
public $description = '';
public $quantity = '';
public $unitPrice = '';
public $tax = '';
/**
* Constructor
* @param $itemId int
* @param $productNumber string
* @param $productType string
* @param $title string
* @param $description string
* @param $quantity int
* @param $unitPrice float
* @param $tax float
*/
public function __construct($itemId, $productNumber, $productType, $title, $description, $quantity, $unitPrice, $tax) {
$this->itemId = $itemId;
$this->productNumber = $productNumber;
$this->productType = $productType;
$this->title = $title;
$this->description = $description;
$this->quantity = $quantity;
$this->unitPrice = $unitPrice;
$this->tax = $tax;
}
/**
*
* Getter for item id
*/
public function getItemId () {
return $this->itemId;
}
/**
*
* Getter for quantity
*/
public function getQuantity() {
return $this->quantity;
}
/**
*
* Setter for quantity
* @param int $quantity
*/
public function setQuantity($quantity) {
$this->quantity = $quantity;
}
/**
*
* Getter for unit price
*/
public function getUnitPrice() {
return $this->unitPrice;
}
/**
*
* Setter for unit price
* @param float $unitPrice
*/
public function setUnitPrice($unitPrice) {
$this->unitPrice = $unitPrice;
}
/**
*
* Getter for title
*/
public function getTitle() {
return $this->title;
}
/**
*
* Getter for tax
*/
public function getTax() {
return $this->tax;
}
/**
*
* Setter for tax
* @param float $value
*/
public function setTax($value) {
$this->tax = $value;
}
/**
*
* Setter for product number
* @param string $productNumber
*/
public function setProductNumber($productNumber) {
$this->productNumber = $productNumber;
}
/**
*
* Getter for product number
*/
public function getProductNumber() {
return $this->productNumber;
}
/**
*
* Setter for description
* @param string $description
*/
public function setDescription($description) {
$this->description = $description;
}
/**
*
* Getter for description
*/
public function getDescription() {
return $this->description;
}
}
?>