Header.java :  » App » betonthemove » org » betonthemove » platform » betfair » Android Open Source

Android Open Source » App » betonthemove 
betonthemove » org » betonthemove » platform » betfair » Header.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:
 * 14 Mar 2009 : Initial version created by gary
 */
package org.betonthemove.platform.betfair;

public class Header {

  public void setErrorCode(String code) {
    errorCode = code;
  }
  
  public String getErrorCode() {
    return(errorCode);
  }
  
  public void setMinorErrorCode(String code) {
    minorErrorCode = code;
  }
  
  public String getMinorErrorCode() {
    return(minorErrorCode);
  }
  
  public void setSessionToken(String token) {
    sessionToken = token;
  }
  
  public String getSessionToken() {
    return(sessionToken);
  }
  
  public void setTimestamp(String ts) {
    timestamp = ts;
  }
  
  public String getTimestamp() {
    return(timestamp);
  }
  
  private String errorCode=null;
  private String minorErrorCode=null;
  private String sessionToken=null;
  private String timestamp=null;
}
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.