Skip to content

Commit

Permalink
Merge pull request #1 from DeltaNicola/updateUser
Browse files Browse the repository at this point in the history
Modifica P.IVA e C.F. dell'utente
  • Loading branch information
ArmandoCaprio authored Sep 8, 2022
2 parents 4f8fccf + c981027 commit 7884021
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,22 @@ public function editUserActiveStatus( $userId, bool $activeStatus ) {
}


/**
* Modifica P.Iva e C.F. dell'utente
* creando un utente nuovo
* disattivando l'utente precedente
*
* @param $userId
* @param UserInfo $user
* @return User
*/
public function editBilling ( $userId, Types\UserInfo $user ) {
return new Types\User(
$this->curl('PATCH', '/user/edit_billing/' . $userId, $user)
);
}


/**
* Ritorna la lista degli id dei documenti inviati
* @param int $userId
Expand Down

0 comments on commit 7884021

Please sign in to comment.