package com.brilliance.isc.swift.objmtconvert.model.mt4xx.tag.tag420;

import com.brilliance.isc.swift.objmtconvert.model.AbsMTCreator;
import com.brilliance.isc.swift.objmtconvert.model.AbsTagCreate;
import com.brilliance.isc.swift.objmtconvert.model.mt4xx.MT420Creator;

/**
 * @author zh
 * @create 2023-02-27-17:27
 */
public class Tag30Creator extends AbsTagCreate {
    private MT420Creator mt420Creator;

    public Tag30Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.mt420Creator= (MT420Creator) absMTCreator;
    }

    public  void creator()
    {
        String tag30Value = mt420Creator.getDateOfCollectionInstruction();
        mt420Creator.set("30", tag30Value);
    }
}
