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

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

/**
 * @author gechengyang
 * @date 2023/2/18
 */
public class Tag20Creator extends AbsTagCreate {

     private MT935Creator mt935Creator;

    public Tag20Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.mt935Creator= (MT935Creator) absMTCreator;
    }

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