<?php

namespace Eurostop\Loyalty;

class CustomerCustom extends CodedRetrievedDataItemOfCustomerDtoKJ8WzcEXCustom
{

    /**
     * @var ArrayOfCustomerAccount $CustomerAccounts
     */
    protected $CustomerAccounts = null;

    /**
     * @var ArrayOfCustomerAddress $CustomerAddresses
     */
    protected $CustomerAddresses = null;

    /**
     * @var ArrayOfCustomerAttribute $CustomerAttributes
     */
    protected $CustomerAttributes = null;

    /**
     * @var string $ExternalId
     */
    protected $ExternalId = null;

    
    public function __construct()
    {
      parent::__construct();
    }

    /**
     * @return ArrayOfCustomerAccount
     */
    public function getCustomerAccounts()
    {
      return $this->CustomerAccounts;
    }

    /**
     * @param ArrayOfCustomerAccount $CustomerAccounts
     * @return \Eurostop\Loyalty\Customer
     */
    public function setCustomerAccounts($CustomerAccounts)
    {
      $this->CustomerAccounts = $CustomerAccounts;
      return $this;
    }

    /**
     * @return ArrayOfCustomerAddress
     */
    public function getCustomerAddresses()
    {
      return $this->CustomerAddresses;
    }

    /**
     * @param ArrayOfCustomerAddress $CustomerAddresses
     * @return \Eurostop\Loyalty\Customer
     */
    public function setCustomerAddresses($CustomerAddresses)
    {
      $this->CustomerAddresses = $CustomerAddresses;
      return $this;
    }

    /**
     * @return ArrayOfCustomerAttribute
     */
    public function getCustomerAttributes()
    {
      return $this->CustomerAttributes;
    }

    /**
     * @param ArrayOfCustomerAttribute $CustomerAttributes
     * @return \Eurostop\Loyalty\Customer
     */
    public function setCustomerAttributes($CustomerAttributes)
    {
      $this->CustomerAttributes = $CustomerAttributes;
      return $this;
    }

    /**
     * @return string
     */
    public function getExternalId()
    {
      return $this->ExternalId;
    }

    /**
     * @param string $ExternalId
     * @return \Eurostop\Loyalty\Customer
     */
    public function setExternalId($ExternalId)
    {
      $this->ExternalId = $ExternalId;
      return $this;
    }

}
