<?php

namespace Webkul\WooCommerceBundle\Entity;

/**
 * CredentialConfig
 */
class CredentialConfig
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $shopUrl;

    /**
     * @var string
     */
    private $consumerKey;

    /**
     * @var string
     */
    private $consumerSecret;

    /**
     * @var string
     */
    private $extraResources;

    /**
     * @var boolean
     */
    private $defaultSet = 0;

    /**
     * @var boolean
     */
    private $active = 0;


    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set shopUrl
     *
     * @param string $shopUrl
     *
     * @return CredentialConfig
     */
    public function setShopUrl($shopUrl)
    {
        $this->shopUrl = $shopUrl;

        return $this;
    }

    /**
     * Get shopUrl
     *
     * @return string
     */
    public function getShopUrl()
    {
        return $this->shopUrl;
    }

    /**
     * Set consumerKey
     *
     * @param string $consumerKey
     *
     * @return CredentialConfig
     */
    public function setConsumerKey($consumerKey)
    {
        $this->consumerKey = $consumerKey;

        return $this;
    }

    /**
     * Get consumerKey
     *
     * @return string
     */
    public function getConsumerKey()
    {
        return $this->consumerKey;
    }
    
    /**
     * Set consumerSecret
     *
     * @param string $consumerSecret
     *
     * @return CredentialConfig
     */
    public function setConsumerSecret($consumerSecret)
    {
        $this->consumerSecret = $consumerSecret;

        return $this;
    }

    /**
     * Get consumerSecret
     *
     * @return string
     */
    public function getConsumerSecret()
    {
        return $this->consumerSecret;
    }
   
    /**
     * Set userName
     *
     * @param string $extraResources
     *
     * @return CredentialMapping
     */
    public function setextraResources($extraResources)
    {
        $this->extraResources = $extraResources;

        return $this;
    }

    /**
     * Get extraResources
     *
     * @return string
     */
    public function getextraResources()
    {
        return $this->extraResources;
    }

    /**
     * Set defaultSet
     *
     * @param boolean $defaultSet
     *
     * @return CredentialConfig
     */
    public function setDefaultSet($defaultSet)
    {
        $this->defaultSet = $defaultSet;

        return $this;
    }

    /**
     * Get defaultSet
     *
     * @return boolean
     */
    public function getDefaultSet()
    {
        return $this->defaultSet;
    }

    /**
     * Set active
     *
     * @param boolean $active
     *
     * @return CredentialConfig
     */
    public function setActive($active)
    {
        $this->active = $active;

        return $this;
    }

    /**
     * Get active
     *
     * @return boolean
     */
    public function getActive()
    {
        return $this->active;
    }
}
