/**
  * Generates the item availability SOAP object
  *
  * @return PlentySoapObject_ItemAvailability
  */
 protected function getObjectAvailabiliy()
 {
     //
     $Object_ItemAvailability = new PlentySoapObject_ItemAvailability();
     $Object_ItemAvailability->AvailableUntil = null;
     // int
     $Object_ItemAvailability->Inactive = (int) (!$this->SHOPWARE_Article->getActive());
     // int
     $Object_ItemAvailability->IntervalSalesOrderQuantity = $this->SHOPWARE_Article->getMainDetail()->getPurchaseSteps();
     // int
     $Object_ItemAvailability->MaximumSalesOrderQuantity = $this->SHOPWARE_Article->getMainDetail()->getMaxPurchase();
     $Object_ItemAvailability->MinimumSalesOrderQuantity = $this->SHOPWARE_Article->getMainDetail()->getMinPurchase();
     $Object_ItemAvailability->WebAPI = 1;
     // int
     $Object_ItemAvailability->Webshop = 1;
     // int
     return $Object_ItemAvailability;
 }
 /**
  * {@inheritDoc}
  */
 public function getActive()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', array());
     return parent::getActive();
 }