package com.brilliance.isc.swift.objmtconvert.model.mt2xx.tag.tag204;

import com.brilliance.isc.swift.objmtconvert.model.AbsMTCreator;
import com.brilliance.isc.swift.objmtconvert.model.AbsTagCreate;
import com.brilliance.isc.swift.objmtconvert.model.mt2xx.mt2XXAbsCreator.MT204AbsCreator;

/**
 * @Description：
 * @Author：夏猛
 * @CreateTime：2023/2/27 10:43
 **/
public class TagB20Creator extends AbsTagCreate {

    private MT204AbsCreator MT204AbsCreator;

    public TagB20Creator(AbsMTCreator absMTCreator)
    {
        super(absMTCreator);
        this.MT204AbsCreator = (MT204AbsCreator) absMTCreator;
    }

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