private static void createSubAccountBySettingClient ( ) { try { SubaccountCreateResponse subaccount = Subaccount . creator ( "Test 2" ) . enabled ( true ) . client ( client ) . create ( ) ; System . out . println ( subaccount ) ; } catch ( PlivoRestException | IOException e ) { e . printStackTrace ( ) ; } }
create subaccount with different client settings