public static function update(
        string $name = null,
        string $publicNickName = null,
        string $avatarUuid = null,
        Address $addressMain = null,
        Address $addressPostal = null,
        string $language = null,
        string $region = null,
        string $country = null,
        array $ubo = null,
        string $chamberOfCommerceNumber = null,
        string $legalForm = null,
        string $status = null,
        string $subStatus = null,
        int $sessionTimeout = null,
        Amount $dailyLimitWithoutConfirmationLogin = null,
        array $notificationFilters = null,
        array $customHeaders = []
    ): BunqResponseInt {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->put(
            vsprintf(
                self::ENDPOINT_URL_UPDATE,
                [static::determineUserId()]
            ),
            [
                self::FIELD_NAME => $name,
                self::FIELD_PUBLIC_NICK_NAME => $publicNickName,
                self::FIELD_AVATAR_UUID => $avatarUuid,
                self::FIELD_ADDRESS_MAIN => $addressMain,
                self::FIELD_ADDRESS_POSTAL => $addressPostal,
                self::FIELD_LANGUAGE => $language,
                self::FIELD_REGION => $region,
                self::FIELD_COUNTRY => $country,
                self::FIELD_UBO => $ubo,
                self::FIELD_CHAMBER_OF_COMMERCE_NUMBER => $chamberOfCommerceNumber,
                self::FIELD_LEGAL_FORM => $legalForm,
                self::FIELD_STATUS => $status,
                self::FIELD_SUB_STATUS => $subStatus,
                self::FIELD_SESSION_TIMEOUT => $sessionTimeout,
                self::FIELD_DAILY_LIMIT_WITHOUT_CONFIRMATION_LOGIN => $dailyLimitWithoutConfirmationLogin,
                self::FIELD_NOTIFICATION_FILTERS => $notificationFilters,
            ],
            $customHeaders
        );

        return BunqResponseInt::castFromBunqResponse(
            static::processForId($responseRaw)
        );
    }
public static function update(
        string $name = null,
        string $publicNickName = null,
        string $avatarUuid = null,
        Address $addressMain = null,
        Address $addressPostal = null,
        string $language = null,
        string $region = null,
        string $country = null,
        array $ubo = null,
        string $chamberOfCommerceNumber = null,
        string $legalForm = null,
        string $status = null,
        string $subStatus = null,
        int $sessionTimeout = null,
        Amount $dailyLimitWithoutConfirmationLogin = null,
        array $notificationFilters = null,
        array $customHeaders = []
    ): BunqResponseInt {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->put(
            vsprintf(
                self::ENDPOINT_URL_UPDATE,
                [static::determineUserId()]
            ),
            [
                self::FIELD_NAME => $name,
                self::FIELD_PUBLIC_NICK_NAME => $publicNickName,
                self::FIELD_AVATAR_UUID => $avatarUuid,
                self::FIELD_ADDRESS_MAIN => $addressMain,
                self::FIELD_ADDRESS_POSTAL => $addressPostal,
                self::FIELD_LANGUAGE => $language,
                self::FIELD_REGION => $region,
                self::FIELD_COUNTRY => $country,
                self::FIELD_UBO => $ubo,
                self::FIELD_CHAMBER_OF_COMMERCE_NUMBER => $chamberOfCommerceNumber,
                self::FIELD_LEGAL_FORM => $legalForm,
                self::FIELD_STATUS => $status,
                self::FIELD_SUB_STATUS => $subStatus,
                self::FIELD_SESSION_TIMEOUT => $sessionTimeout,
                self::FIELD_DAILY_LIMIT_WITHOUT_CONFIRMATION_LOGIN => $dailyLimitWithoutConfirmationLogin,
                self::FIELD_NOTIFICATION_FILTERS => $notificationFilters,
            ],
            $customHeaders
        );

        return BunqResponseInt::castFromBunqResponse(
            static::processForId($responseRaw)
        );
    }
public static function update ( string $ name = null , string $ publicNickName = null , string $ avatarUuid = null , Address $ addressMain = null , Address $ addressPostal = null , string $ language = null , string $ region = null , string $ country = null , array $ ubo = null , string $ chamberOfCommerceNumber = null , string $ legalForm = null , string $ status = null , string $ subStatus = null , int $ sessionTimeout = null , Amount $ dailyLimitWithoutConfirmationLogin = null , array $ notificationFilters = null , array $ customHeaders = [ ] ) : BunqResponseInt { $ apiClient = new ApiClient ( static :: getApiContext ( ) ) ; $ responseRaw = $ apiClient -> put ( vsprintf ( self :: ENDPOINT_URL_UPDATE , [ static :: determineUserId ( ) ] ) , [ self :: FIELD_NAME => $ name , self :: FIELD_PUBLIC_NICK_NAME => $ publicNickName , self :: FIELD_AVATAR_UUID => $ avatarUuid , self :: FIELD_ADDRESS_MAIN => $ addressMain , self :: FIELD_ADDRESS_POSTAL => $ addressPostal , self :: FIELD_LANGUAGE => $ language , self :: FIELD_REGION => $ region , self :: FIELD_COUNTRY => $ country , self :: FIELD_UBO => $ ubo , self :: FIELD_CHAMBER_OF_COMMERCE_NUMBER => $ chamberOfCommerceNumber , self :: FIELD_LEGAL_FORM => $ legalForm , self :: FIELD_STATUS => $ status , self :: FIELD_SUB_STATUS => $ subStatus , self :: FIELD_SESSION_TIMEOUT => $ sessionTimeout , self :: FIELD_DAILY_LIMIT_WITHOUT_CONFIRMATION_LOGIN => $ dailyLimitWithoutConfirmationLogin , self :: FIELD_NOTIFICATION_FILTERS => $ notificationFilters , ] , $ customHeaders ) ; return BunqResponseInt :: castFromBunqResponse ( static :: processForId ( $ responseRaw ) ) ; }
Modify a specific company's data.

@param int $userCompanyId
@param string|null $name                               The company name.
@param string|null $publicNickName                     The company's nick name.
@param string|null $avatarUuid                         The public UUID of the company's avatar.
@param Address|null $addressMain                       The user's main address.
@param Address|null $addressPostal                     The company's postal address.
@param string|null $language                           The person's preferred language. Formatted
as a ISO 639-1 language code plus a ISO 3166-1 alpha-2
country code, seperated by an underscore.
@param string|null $region                             The person's preferred region. Formatted as a
ISO 639-1 language code plus a ISO 3166-1 alpha-2 country
code, seperated by an underscore.
@param string|null $country                            The country where the company is registered.
@param Ubo[]|null $ubo                                 The names and birth dates of the company's
ultimate beneficiary owners. Minimum zero, maximum four.
@param string|null $chamberOfCommerceNumber            The company's chamber of
commerce number.
@param string|null $legalForm                          The company's legal form.
@param string|null $status                             The user status. Can be: ACTIVE, SIGNUP,
RECOVERY.
@param string|null $subStatus                          The user sub-status. Can be: NONE,
FACE_RESET, APPROVAL, APPROVAL_DIRECTOR, APPROVAL_PARENT,
APPROVAL_SUPPORT, COUNTER_IBAN, IDEAL or SUBMIT.
@param int|null $sessionTimeout                        The setting for the session timeout of
the company in seconds.
@param Amount|null $dailyLimitWithoutConfirmationLogin The amount the
company can pay in the session without asking for
credentials.
@param NotificationFilter[]|null $notificationFilters  The types of
notifications that will result in a push notification or
URL callback for this UserCompany.
@param string[] $customHeaders

@return BunqResponseInt
Modify a specific company s data .