import types from '../../types';


export function updateTreeValue()
{
    return {type:types.SWIFT_UPDATE_TREE_VALUE}
}

export function updateGenTyp(gen_typ_info)
{
    return {type:types.SWIFT_UPDATE_GEN_TYP,payload:{gen_typ_info}}
}
export function updateRcvBic(rcv_bic_info)
{
    return {type:types.SWIFT_UPDATE_RCV_BIC,payload:{rcv_bic_info}}
}
export function updateSndBic(snd_bic_info)
{
    return {type:types.SWIFT_UPDATE_SND_BIC,payload:{snd_bic_info}}
}
export function initSwiftMessageTree(tree)
{
    return {type:types.SWIFT_INIT_TREE_VALUE,payload:{tree}}
}

export function updateSwiftMessage(swift_message)
{
    return {type:types.SWIFT_UPDATE_SWIFT_MESSAGE,payload:{swift_message}}
}