<?php

namespace App\Soap\Request;

class WCustomer
{
  /**
   * @var string
   */
  protected $Zstore;

  /**
   * @var string
   */
  protected $CustNr;

  /**
   * @var string
   */
  protected $Ztitle;

  /**
   * @var string
   */
  protected $Zname;

  protected $Zstreet;

  protected $Zstreet2;

  protected $Zpcode;

  protected $Zcity;

  protected $Zcountry;

  protected $Zvat;

  protected $Zsearch;

  protected $Ztelf1;

  protected $Ztelf2;

  protected $Zemail;

  protected $Zcclass;

  public function __construct($customerData)
  {
    $this->Zstore = '1010';
    $this->CustNr = $customerData['shopify_id'];
    $this->Ztitle = $customerData['customer_type'];
    $this->Zname = $customerData['customer_name'];
    $this->Zstreet = $customerData['customer_street'];
    $this->Zstreet2 = $customerData['customer_street2'];
    $this->Zpcode = $customerData['customer_zipcode'];
    $this->Zcity = $customerData['customer_city'];
    $this->Zcountry = $customerData['customer_country'];
    $this->Zvat = $customerData['customer_vat'];
    $this->Zsearch = $customerData['customer_mobile_phone'];
    $this->Ztelf1 = $customerData['customer_phone1'];
    $this->Ztelf2 = $customerData['customer_phone2'];
    $this->Zemail = $customerData['customer_email'];
    $this->Zcclass = $customerData['customer_allow_com'];
  }

  /**
   * Get the value of Zstore
   *
   * @return  string
   */
  public function getZstore()
  {
    return $this->Zstore;
  }

  /**
   * Get the value of CustNr
   *
   * @return  string
   */
  public function getCustNr()
  {
    return $this->CustNr;
  }

  /**
   * Get the value of Ztitle
   *
   * @return  string
   */
  public function getZtitle()
  {
    return $this->Ztitle;
  }

  /**
   * Get the value of Zname
   *
   * @return  string
   */
  public function getZname()
  {
    return $this->Zname;
  }

  /**
   * Get the value of Zstreet
   */
  public function getZstreet()
  {
    return $this->Zstreet;
  }

  /**
   * Get the value of Zstreet2
   */
  public function getZstreet2()
  {
    return $this->Zstreet2;
  }

  /**
   * Get the value of Zpcode
   */
  public function getZpcode()
  {
    return $this->Zpcode;
  }

  /**
   * Get the value of Zcity
   */
  public function getZcity()
  {
    return $this->Zcity;
  }

  /**
   * Get the value of Zcountry
   */
  public function getZcountry()
  {
    return $this->Zcountry;
  }

  /**
   * Get the value of Zvat
   */
  public function getZvat()
  {
    return $this->Zvat;
  }

  /**
   * Get the value of Zsearch
   */
  public function getZsearch()
  {
    return $this->Zsearch;
  }

  /**
   * Get the value of Ztelf1
   */
  public function getZtelf1()
  {
    return $this->Ztelf1;
  }

  /**
   * Get the value of Ztelf2
   */
  public function getZtelf2()
  {
    return $this->Ztelf2;
  }

  /**
   * Get the value of Zemail
   */
  public function getZemail()
  {
    return $this->Zemail;
  }

  /**
   * Get the value of Zcclass
   */
  public function getZcclass()
  {
    return $this->Zcclass;
  }
}
