src/Client.php
/**
     * Updates a customer
     *
     * @param Model\Customer $customer The customer
     * @return Response\GetCustomersResponse The customer
     *
     * @throws QuotaExceededException If the maximum number of calls per second exceeded
     * @throws InvalidIdException If the customers id is invalid
     * @throws Exception If the response cannot be parsed
     */
Updates a customer
@param Model\Customer $customer The customer
@return Response\GetCustomersResponse The customer

@throws QuotaExceededException If the maximum number of calls per second exceeded
@throws InvalidIdException If the customers id is invalid
@throws Exception If the response cannot be parsed
Updates a customer @param Model \ Customer $customer The customer @return Response \ GetCustomersResponse The customer @throws QuotaExceededException If the maximum number of calls per second exceeded @throws InvalidIdException If the customers id is invalid @throws Exception If the response cannot be parsed
public function updateCustomer(Model\Customer $customer)
    {
        if (!is_integer($customer->id) || $customer->id < 1) {
            throw new InvalidIdException();
        }
        return $this->requestPUT(
            'customers/' . $customer->id,
            $this->jom->serialize($customer),
            Response\GetCustomerResponse::class
        );
    }
public function updateCustomer ( Model \ Customer $ customer ) { if ( ! is_integer ( $ customer -> id ) || $ customer -> id < 1 ) { throw new InvalidIdException ( ) ; } return $ this -> requestPUT ( 'customers/' . $ customer -> id , $ this -> jom -> serialize ( $ customer ) , Response \ GetCustomerResponse :: class ) ; }
Updates a customer
 @param Model\Customer $customer The customer
 @return Response\GetCustomersResponse The customer
Updates a customer @param Model \ Customer $customer The customer @return Response \ GetCustomersResponse The customer