<?php
namespace SecurionPay\Request;

class CustomerUpdateRequest extends AbstractRequest
{

    public function getCustomerId()
    {
        return $this->get('customerId');
    }

    public function customerId($customerId)
    {
        return $this->set('customerId', $customerId);
    }

    public function getEmail()
    {
        return $this->get('email');
    }

    public function email($email)
    {
        return $this->set('email', $email);
    }

    public function getDescription()
    {
        return $this->get('description');
    }

    public function description($description)
    {
        return $this->set('description', $description);
    }

    public function getDefaultCardId()
    {
        return $this->get('defaultCardId');
    }

    public function defaultCardId($defaultCardId)
    {
        return $this->set('defaultCardId', $defaultCardId);
    }

    public function getDefaultPaymentMethodId()
    {
        return $this->get('defaultPaymentMethodId');
    }

    public function defaultPaymentMethodId($defaultPaymentMethodId)
    {
        return $this->set('defaultPaymentMethodId', $defaultPaymentMethodId);
    }

    /**
     * @return \SecurionPay\Request\CardRequest
     */
    public function getCard()
    {
        return $this->getObject('card', '\SecurionPay\Request\CardRequest');
    }

    public function card($card)
    {
        return $this->set('card', $card);
    }

    public function getMetadata()
    {
        return $this->get('metadata');
    }

    public function metadata($metadata)
    {
        return $this->set('metadata', $metadata);
    }
}
