Package com.vonage.client.subaccounts
Class CreateSubaccountRequest
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.subaccounts.CreateSubaccountRequest
- All Implemented Interfaces:
Jsonable
-
Nested Class Summary
Nested Classes -
Method Summary
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
Name of the subaccount.- Returns:
- The subaccount name.
-
getUsePrimaryAccountBalance
Whether to use the primary account's balance.- Returns:
trueif the balance is shared with the primary account ornullif unspecified (the default).
-
getSecret
Subaccount API secret.- Returns:
- The secret to associate with this API key.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-