public void UpdateCustomer(CustomerPayPalPlus customerPayPalPlus)
        {
            if (customerPayPalPlus == null)
            {
                throw new ArgumentNullException("customerPayPalPlus");
            }

            _customerPayPalPlusRepository.Update(customerPayPalPlus);
        }
        private void AtualizarRememberedCard(PaymentListenerResponse paymentListenerResponse)
        {
            var customer = _customerService.GetCustomerById(_workContext.CurrentCustomer.Id);

            var customerPayPalPlus = _payPalPlusCustomerService.GetCustomerPayPalPlus(customer);

            if (customerPayPalPlus == null)
            {
                customerPayPalPlus = new CustomerPayPalPlus();
            }

            customerPayPalPlus.RememberedCards = paymentListenerResponse.ResultListener.RememberedCards;
            customerPayPalPlus.CustomerId      = _workContext.CurrentCustomer.Id;

            if (customerPayPalPlus.Id > 0)
            {
                _payPalPlusCustomerService.UpdateCustomer(customerPayPalPlus);
            }
            else
            {
                _payPalPlusCustomerService.InsertCustomer(customerPayPalPlus);
            }
        }