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

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

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

     private MT775Creator mt775Creator;

    public Tag20Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.mt775Creator= (MT775Creator) absMTCreator;
    }

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