package com.brilliance.isc.swift.objmtconvert.model.mt9xx.tag.tag970;

import com.brilliance.isc.swift.objmtconvert.model.AbsMTCreator;
import com.brilliance.isc.swift.objmtconvert.model.AbsTagCreate;
import com.brilliance.isc.swift.objmtconvert.model.mt9xx.MT970Creator;

/**
 * @author hedonghao
 * @date 2023/2/24
 */
public class Tag20Creator extends AbsTagCreate {

    private MT970Creator mt970Creator;

    public Tag20Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.mt970Creator= (MT970Creator) absMTCreator;
    }

    public  void creator()
    {
        String tag20Value=mt970Creator.getTranReferenceNum();
        mt970Creator.set("20",tag20Value);
    }
}
