Skip to content

Commit

Permalink
Corrette le rotte e le nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaNicola committed Sep 8, 2022
1 parent 01200bc commit c981027
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,19 @@ public function editUserActiveStatus( $userId, bool $activeStatus ) {
);
}

public function patchUserData ( $userId, Types\UserInfo $user ) {

/**
* 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/patch/' . $userId, $user);
$this->curl('PATCH', '/user/edit_billing/' . $userId, $user)
);
}

Expand Down

0 comments on commit c981027

Please sign in to comment.