AccountFunds.java :  » App » betonthemove » org » betonthemove » platform » Android Open Source

Android Open Source » App » betonthemove 
betonthemove » org » betonthemove » platform » AccountFunds.java
/*
 * Copyright 2009 Gary Brown
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *
 * Change History:
 * 7 Mar 2009 : Initial version created by gary
 */
package org.betonthemove.platform;

/**
 * This interface provides details of the account funds with the
 * betting platform.
 *
 */
public interface AccountFunds {

  /**
   * This method returns the amount that is currently available
   * to bet.
   * 
   * @return The amount that can be bet
   */
  public double getAvailableBalance();
  
  /**
   * This method returns the total amount associated with the
   * account, not taking into consideration any outstanding
   * balance that has been committed to outstanding bets.
   * 
   * @return The total amount
   */
  public double getBalance();
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.