### Question:
RestrictingPlanContract extends BaseContract { public RemoteCall<TransactionResponse> createRestrictingPlan(String account, List<RestrictingPlan> restrictingPlanList) { Function function = createRestrictingPlanFunction(account, restrictingPlanList); return executeRemoteCallTransaction(function); } private  RestrictingPlanContract(String contractAddress, Web3j web3j); private  RestrictingPlanContract(String contractAddress, long chainId, Web3j web3j, Credentials credentials); private  RestrictingPlanContract(String contractAddress, Web3j web3j, TransactionManager transactionManager); static RestrictingPlanContract load(Web3j web3j, long chainId); static RestrictingPlanContract load(Web3j web3j, TransactionManager transactionManager, long chainId); static RestrictingPlanContract load(Web3j web3j, Credentials credentials, long chainId); RemoteCall<TransactionResponse> createRestrictingPlan(String account, List<RestrictingPlan> restrictingPlanList); RemoteCall<TransactionResponse> createRestrictingPlan(String account, List<RestrictingPlan> restrictingPlanList, GasProvider gasProvider); GasProvider getCreateRestrictingPlan(String account, List<RestrictingPlan> restrictingPlanList); RemoteCall<PlatonSendTransaction> createRestrictingPlanReturnTransaction(String account, List<RestrictingPlan> restrictingPlanList); RemoteCall<PlatonSendTransaction> createRestrictingPlanReturnTransaction(String account, List<RestrictingPlan> restrictingPlanList, GasProvider gasProvider); RemoteCall<CallResponse<RestrictingItem>> getRestrictingInfo(String account);  }### Answer:
@Test public void createRestrictingPlan() { List<RestrictingPlan> restrictingPlans = new ArrayList<>(); restrictingPlans.add(new RestrictingPlan(BigInteger.valueOf(100), new BigInteger("1000000000000000000"))); restrictingPlans.add(new RestrictingPlan(BigInteger.valueOf(200), new BigInteger("200000000000000000"))); try { PlatonSendTransaction platonSendTransaction = restrictingPlanContract.createRestrictingPlanReturnTransaction(deleteCredentials.getAddress(chainId), restrictingPlans).send(); BaseResponse baseResponse = restrictingPlanContract.getTransactionResponse(platonSendTransaction).send(); System.out.println(baseResponse.toString()); } catch (Exception e) { e.printStackTrace(); } }