org.virtuslab.edi.unedifact.d96a.IFCSUM.SegmentGroup25 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.CPIChargePaymentInstructions;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.RFFReference;
import org.virtuslab.edi.unedifact.d96a.common.CUXCurrencies;
import org.virtuslab.edi.unedifact.d96a.common.LOCPlaceLocationIdentification;
import org.virtuslab.edi.unedifact.d96a.common.MOAMonetaryAmount;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup25 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CPIChargePaymentInstructions cPIChargePaymentInstructions;
private List rFFReference;
private CUXCurrencies cUXCurrencies;
private List lOCPlaceLocationIdentification;
private List mOAMonetaryAmount;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cPIChargePaymentInstructions != null) {
nodeWriter.write("CPI");
nodeWriter.write(delimiters.getField());
cPIChargePaymentInstructions.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(cUXCurrencies != null) {
nodeWriter.write("CUX");
nodeWriter.write(delimiters.getField());
cUXCurrencies.write(nodeWriter, delimiters);
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
}
public CPIChargePaymentInstructions getCPIChargePaymentInstructions() {
return cPIChargePaymentInstructions;
}
public SegmentGroup25 setCPIChargePaymentInstructions(CPIChargePaymentInstructions cPIChargePaymentInstructions) {
this.cPIChargePaymentInstructions = cPIChargePaymentInstructions; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup25 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public CUXCurrencies getCUXCurrencies() {
return cUXCurrencies;
}
public SegmentGroup25 setCUXCurrencies(CUXCurrencies cUXCurrencies) {
this.cUXCurrencies = cUXCurrencies; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup25 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup25 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy