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

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

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

     private MT708Creator mt708Creator;

    public Tag21Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.mt708Creator= (MT708Creator) absMTCreator;
    }

    public  void creator()
    {
        String tag21Value = mt708Creator.getReceiverReference();
        mt708Creator.set("21", tag21Value);
    }
}
