package com.brilliance.isc.swift.objmtconvert.model.mt7xx.tag.tag761;

import com.brilliance.isc.swift.objmtconvert.model.AbsMTCreator;
import com.brilliance.isc.swift.objmtconvert.model.AbsTagCreate;
import com.brilliance.isc.swift.objmtconvert.model.mt7xx.MT761Creator;

/**
 * @author wuzhe
 * @date 2023/2/27
 */
public class Tag20Creator extends AbsTagCreate {

     private MT761Creator mt761Creator;

    public Tag20Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.mt761Creator= (MT761Creator) absMTCreator;
    }

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