# VerifyFunds.java Sample

This topic inludes the source code for the VerifyFunds.java Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/JavaControlProject/verifyFunds/

## Sample Source Code

`01 package verifyFunds; 02 03 import com.bea.control.Control; 04 05 /** 06 * This is the public interface for the VerifyFunds control. 07 * The control is implemented in VerifyFundsImpl.jcs. 08 */ 09 public interface VerifyFunds extends Control 10 { 11 /** 12 * A Callback interface to support sending messages back to the client. 13 */ 14 interface Callback 15 { 16 void onTransactionComplete(String message, boolean isBalanceAvailable, 17 boolean isInventoryAvailable); 18 } 19 20 /** 21 * @common:operation 22 */ 23 void submitPO(java.lang.String poNumberString, java.lang.String customerIDString, int itemNumber, int quantityRequested, double startingBalance); 24 }`