src/Service/Customer/CustomerService.php
public function addCredits($customerId, $amount)
    {
        $requestData = new AddCredits\RequestData($customerId, $amount);
        $request = new AddCredits\Request($requestData);

        return $this->sendRequest($request, AddCredits\ApiResponse::class);
    }
public function addCredits($customerId, $amount)
    {
        $requestData = new AddCredits\RequestData($customerId, $amount);
        $request = new AddCredits\Request($requestData);

        return $this->sendRequest($request, AddCredits\ApiResponse::class);
    }
public function addCredits ( $ customerId , $ amount ) { $ requestData = new AddCredits \ RequestData ( $ customerId , $ amount ) ; $ request = new AddCredits \ Request ( $ requestData ) ; return $ this -> sendRequest ( $ request , AddCredits \ ApiResponse :: class ) ; }
Add credits to a customer.

@param integer $customerId The customer ID.
@param float $amount The amount of credit to add.
@return AddCredits\ApiResponse
Add credits to a customer .