The customerRetrieve method gets a customer object for viewing, updating, or
deleting.

@param string $id Must be an existing customer id.
@return object $customer if success, boolean false if failure or not found.
778045
public function customerRetrieve($id) {
		Stripe::setApiKey($this->key);
		$customer = false;

		try {
			$customer = Stripe_Customer::retrieve($id);
		} catch (Exception $e) {
			return false;
		}
		return $customer;
	}
1332538
public function restore($id)
    {
        $model = $this->findTrashed($id);
        if ($model) {
            $model->restore();
        }
        return $model;
    }
1015361
public function get($id)
    {
        if (isset($this->objects[$id])) {
            return $this->objects[$id];
        } else {
            return false;
        }
    }
600049
public function get($id)
    {
        $request = $this->paystackHttpClient->get(
            $this->transformUrl(Resource::CUSTOMERS_URL, $id)
        );

        return $this->processResourceRequestResponse($request);
    }
405555
protected function getUserByRecaller($id)
	{
		$this->viaRemember = ! is_null($user = $this->provider->retrieveByID($id));

		return $user;
	}
442467
function delete($id)
    {
        $this->requestDecorator->setId($id);
        $result = $this->client->delete($this->requestDecorator->makeResource(), $this->requestDecorator->makeHeaders());
        $this->refresh();
        return $result;
    }
291863
public function retrieveCustomer($customer_id)
    {
        list($response, $statusCode, $httpHeader) = $this->retrieveCustomerWithHttpInfo ($customer_id);
        return $response; 
    }
1296140
public function get($id)
    {
        $request = new Request('customizations');
        $request->setIdParam(urlencode($id));

        $response = $this->client->get($request);

        $this->assertSuccessResponse($response);

        return $response->getData();
    }
1202234
public function show($id)
    {
        $correspondence = $this->client->get(
            sprintf('buckets/%d/client/correspondences/%d.json', $this->bucket, $id)
        );

        return new ClientCorrespondence($this->response($correspondence));
    }
66406
public function update($id)
    {
        /** @var FormRequest $request */
        $request = app($this->getUpdateRequestClass());
        $record  = $this->modelRepository->findOrFail($id);

        $data = $request->only($this->getRelevantFormFieldKeys());

        /** @var FormDataStorerInterface $storer */
        $storer = app(FormDataStorerInterface::class);
        $storer->setModelInformation($this->getModelInformation());

        if ( ! $storer->store($record, $data)) {
            // @codeCoverageIgnoreStart
            return redirect()->back()
                ->withInput()
                ->withErrors([
                    static::GENERAL_ERRORS_KEY => [ $this->getGeneralStoreFailureError() ],
                ]);
            // @codeCoverageIgnoreEnd
        }

        $this->storeActiveTab($request->input(static::ACTIVE_TAB_PANE_KEY));

        cms_flash(
            cms_trans(
                'models.store.success-message-edit',
                [ 'record' => $this->getSimpleRecordReference($id, $record) ]
            ),
            FlashLevel::SUCCESS
        );

        event( new Events\ModelUpdatedInCms($record) );

        if ($request->input(static::SAVE_AND_CLOSE_KEY)) {
            return redirect()->route("{$this->routePrefix}.index");
        }

        return redirect()->route("{$this->routePrefix}.edit", [ $record->getKey() ]);
    }
1207050
protected function getCustomer($id)
    {
        $customer = $this->customerManager->findOneBy(['id' => $id]);

        if (null === $customer) {
            throw new NotFoundHttpException(sprintf('Customer (%d) not found', $id));
        }

        return $customer;
    }
442641
public function restoreFromTrash($id)
    {
        $user = AppUser::onlyTrashed()->where('id', $id);

        if (!$user->count()) {
            return response()->json(null, 404);
        }

        if (!$user->restore()) {
            return response()->json(null, 500); // @codeCoverageIgnore
        }

        return response()->json(null, 204);
    }
687419
public function getCustomer($customerId)
    {
        //retrieve customer, set customer attributes
        $customerModel = $this->customerResource->get($customerId);
        if ($customerModel instanceof \Exception) {
            throw $customerModel;
        }

        $this->_setAttributes($customerModel);
        $this->setDeletable(true);

        return $this;
    }
804971
public function get($id) {
		// if there's no parent and we don't have one, it's not found
		if($this->parent === null && !array_key_exists($id, $this->instances)) {
			// try to make it
			try {
				return $this->instantiate($id);
			} catch(\Exception $e) {
				// throw RefNotFound if we couldn't build one
				throw new RefNotFound($id);
			}
		}

		// return either ours or our parent's
		return array_key_exists($id, $this->instances) ? $this->instances[$id] : $this->parent->get($id);
	}
1059425
public function findOrFail($id)
    {
        if ($this->refresh) {
            $this->forget($id);
        }
        return $this->cache->remember($this->keyPrefix . $id, $this->minutesToCache, function () use ($id) {
            return $this->decorated->findOrFail($id);
        });
    }
76980
public function get($customerId, $optParams = array()) {
      $params = array('customerId' => $customerId);
      $params = array_merge($params, $optParams);
      $data = $this->__call('get', array($params));
      if ($this->useObjects()) {
        return new Customer($data);
      } else {
        return $data;
      }
    }
679539
static function fetch( $id )
    {
        $cond = array( 'id' => $id );
        $return = eZPersistentObject::fetchObject( self::definition(), null, $cond );
        return $return;
    }