All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oxerr.okcoin.fix.fix44.AccountInfoResponse Maven / Gradle / Ivy

package org.oxerr.okcoin.fix.fix44;

import org.oxerr.okcoin.fix.field.AccReqID;
import org.oxerr.okcoin.fix.field.Balance;
import org.oxerr.okcoin.fix.field.FreeBtc;
import org.oxerr.okcoin.fix.field.FreeLtc;
import org.oxerr.okcoin.fix.field.FreeQtCcy;
import org.oxerr.okcoin.fix.field.FrozenBtc;
import org.oxerr.okcoin.fix.field.FrozenLtc;
import org.oxerr.okcoin.fix.field.FrozenQtCcy;

import quickfix.FieldNotFound;
import quickfix.field.Account;
import quickfix.field.Currency;
import quickfix.field.MsgType;
import quickfix.fix44.Message;

/**
 * The response message of account info.
 */
public class AccountInfoResponse extends Message {

	private static final long serialVersionUID = 20141123L;

	public static final String MSGTYPE = "Z1001";

	public AccountInfoResponse() {
		getHeader().setField(new MsgType(MSGTYPE));
	}

	public void set(Account value) {
		setField(value);
	}

	public Account get(Account value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public Account getAccount() throws FieldNotFound {
		Account value = new Account();
		getField(value);
		return value;
	}

	public boolean isSet(Account field) {
		return isSetField(field);
	}

	public boolean isSetAccount() {
		return isSetField(Account.FIELD);
	}

	public void set(AccReqID value) {
		setField(value);
	}

	public AccReqID get(AccReqID value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public AccReqID getAccReqID() throws FieldNotFound {
		AccReqID value = new AccReqID();
		getField(value);
		return value;
	}

	public boolean isSet(AccReqID field) {
		return isSetField(field);
	}

	public boolean isSetAccReqID() {
		return isSetField(AccReqID.FIELD);
	}

	public void set(Currency value) {
		setField(value);
	}

	public Currency get(Currency value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public Currency getCurrency() throws FieldNotFound {
		Currency value = new Currency();
		getField(value);
		return value;
	}

	public boolean isSet(Currency field) {
		return isSetField(field);
	}

	public boolean isSetCurrency() {
		return isSetField(Currency.FIELD);
	}

	public void set(Balance value) {
		setField(value);
	}

	public Balance get(Balance value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public Balance getBalance() throws FieldNotFound {
		Balance value = new Balance();
		getField(value);
		return value;
	}

	public boolean isSet(Balance field) {
		return isSetField(field);
	}

	public boolean isSetBalance() {
		return isSetField(Balance.FIELD);
	}

	public void set(FreeBtc value) {
		setField(value);
	}

	public FreeBtc get(FreeBtc value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public FreeBtc getFreeBtc() throws FieldNotFound {
		FreeBtc value = new FreeBtc();
		getField(value);
		return value;
	}

	public boolean isSet(FreeBtc field) {
		return isSetField(field);
	}

	public boolean isSetFreeBtc() {
		return isSetField(FreeBtc.FIELD);
	}

	public void set(FreeLtc value) {
		setField(value);
	}

	public FreeLtc get(FreeLtc value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public FreeLtc getFreeLtc() throws FieldNotFound {
		FreeLtc value = new FreeLtc();
		getField(value);
		return value;
	}

	public boolean isSet(FreeLtc field) {
		return isSetField(field);
	}

	public boolean isSetFreeLtc() {
		return isSetField(FreeLtc.FIELD);
	}

	public void set(FreeQtCcy value) {
		setField(value);
	}

	public FreeQtCcy get(FreeQtCcy value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public FreeQtCcy getFreeQtCcy() throws FieldNotFound {
		FreeQtCcy value = new FreeQtCcy();
		getField(value);
		return value;
	}

	public boolean isSet(FreeQtCcy field) {
		return isSetField(field);
	}

	public boolean isSetFreeQtCcy() {
		return isSetField(FreeQtCcy.FIELD);
	}

	public void set(FrozenBtc value) {
		setField(value);
	}

	public FrozenBtc get(FrozenBtc value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public FrozenBtc getFrozenBtc() throws FieldNotFound {
		FrozenBtc value = new FrozenBtc();
		getField(value);
		return value;
	}

	public boolean isSet(FrozenBtc field) {
		return isSetField(field);
	}

	public boolean isSetFrozenBtc() {
		return isSetField(FrozenBtc.FIELD);
	}

	public void set(FrozenLtc value) {
		setField(value);
	}

	public FrozenLtc get(FrozenLtc value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public FrozenLtc getFrozenLtc() throws FieldNotFound {
		FrozenLtc value = new FrozenLtc();
		getField(value);
		return value;
	}

	public boolean isSet(FrozenLtc field) {
		return isSetField(field);
	}

	public boolean isSetFrozenLtc() {
		return isSetField(FrozenLtc.FIELD);
	}

	public void set(FrozenQtCcy value) {
		setField(value);
	}

	public FrozenQtCcy get(FrozenQtCcy value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public FrozenQtCcy getFrozenQtCcy() throws FieldNotFound {
		FrozenQtCcy value = new FrozenQtCcy();
		getField(value);
		return value;
	}

	public boolean isSet(FrozenQtCcy field) {
		return isSetField(field);
	}

	public boolean isSetFrozenQtCcy() {
		return isSetField(FrozenQtCcy.FIELD);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy