Class UpdateSubaccountRequest

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.subaccounts.UpdateSubaccountRequest
All Implemented Interfaces:
Jsonable

  • Method Details

    • getName

      public String getName()
      (OPTIONAL) Name of the subaccount.
      Returns:
      The updated subaccount name, or null if not set (the default).
    • getUsePrimaryAccountBalance

      (OPTIONAL) Whether to use the primary account's balance.
      Returns:
      true if the balance is shared with the primary account or null if not set (the default).
    • getSuspended

      (OPTIONAL) Whether to suspend this subaccount.
      Returns:
      Whether this subaccount should be suspended, or null if not set (the default).
    • builder

      public static UpdateSubaccountRequest.Builder builder(String subaccountApiKey)
      Entry point for constructing an instance of this class.
      Parameters:
      subaccountApiKey - (REQUIRED) The subaccount's API key.
      Returns:
      A new Builder.