swift_action.js 589 Bytes
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
import types from '../../types';


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

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}}
}