Package com.vonage.client.subaccounts
Class UpdateSubaccountRequest
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.subaccounts.UpdateSubaccountRequest
- All Implemented Interfaces:
Jsonable
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionEntry point for constructing an instance of this class.getName()(OPTIONAL) Name of the subaccount.(OPTIONAL) Whether to suspend this subaccount.(OPTIONAL) Whether to use the primary account's balance.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getName
(OPTIONAL) Name of the subaccount.- Returns:
- The updated subaccount name, or
nullif not set (the default).
-
getUsePrimaryAccountBalance
(OPTIONAL) Whether to use the primary account's balance.- Returns:
trueif the balance is shared with the primary account ornullif not set (the default).
-
getSuspended
(OPTIONAL) Whether to suspend this subaccount.- Returns:
- Whether this subaccount should be suspended, or
nullif not set (the default).
-
builder
Entry point for constructing an instance of this class.- Parameters:
subaccountApiKey- (REQUIRED) The subaccount's API key.- Returns:
- A new Builder.
-