public function AddSubAccountCredits($credits, $notes, $creditType = \ElasticEmailEnums\CreditType::Email, $subAccountEmail = null, $publicAccountID = null) {
        return $this->sendRequest('account/addsubaccountcredits', array(
                    'credits' => $credits,
                    'notes' => $notes,
                    'creditType' => $creditType,
                    'subAccountEmail' => $subAccountEmail,
                    'publicAccountID' => $publicAccountID
        ));
    }
public function AddSubAccountCredits($credits, $notes, $creditType = \ElasticEmailEnums\CreditType::Email, $subAccountEmail = null, $publicAccountID = null) {
        return $this->sendRequest('account/addsubaccountcredits', array(
                    'credits' => $credits,
                    'notes' => $notes,
                    'creditType' => $creditType,
                    'subAccountEmail' => $subAccountEmail,
                    'publicAccountID' => $publicAccountID
        ));
    }
public function AddSubAccountCredits ( $ credits , $ notes , $ creditType = \ ElasticEmailEnums \ CreditType :: Email , $ subAccountEmail = null , $ publicAccountID = null ) { return $ this -> sendRequest ( 'account/addsubaccountcredits' , array ( 'credits' => $ credits , 'notes' => $ notes , 'creditType' => $ creditType , 'subAccountEmail' => $ subAccountEmail , 'publicAccountID' => $ publicAccountID ) ) ; }
Add email, template or litmus credits to a sub-account
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param int $credits Amount of credits to add
@param string $notes Specific notes about the transaction
@param \ElasticEmailEnums\CreditType $creditType Type of credits to add (Email or Litmus)
@param string $subAccountEmail Email address of sub-account
@param string $publicAccountID Public key of sub-account to add credits to. Use subAccountEmail or publicAccountID not both.
Add email template or litmus credits to a sub - account