org.virtuslab.edi.unedifact.d96a.CUSDEC.SegmentGroup19 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.CUSDEC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.ALCAllowanceOrCharge;
import org.virtuslab.edi.unedifact.d96a.common.RTERateDetails;
import org.virtuslab.edi.unedifact.d96a.common.MOAMonetaryAmount;
import org.virtuslab.edi.unedifact.d96a.common.PCDPercentageDetails;
import org.virtuslab.edi.unedifact.d96a.common.QTYQuantity;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup19 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private ALCAllowanceOrCharge aLCAllowanceOrCharge;
private RTERateDetails rTERateDetails;
private MOAMonetaryAmount mOAMonetaryAmount;
private PCDPercentageDetails pCDPercentageDetails;
private QTYQuantity qTYQuantity;
private SegmentGroup20 segmentGroup20;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(aLCAllowanceOrCharge != null) {
nodeWriter.write("ALC");
nodeWriter.write(delimiters.getField());
aLCAllowanceOrCharge.write(nodeWriter, delimiters);
}
if(rTERateDetails != null) {
nodeWriter.write("RTE");
nodeWriter.write(delimiters.getField());
rTERateDetails.write(nodeWriter, delimiters);
}
if(mOAMonetaryAmount != null) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmount.write(nodeWriter, delimiters);
}
if(pCDPercentageDetails != null) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetails.write(nodeWriter, delimiters);
}
if(qTYQuantity != null) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantity.write(nodeWriter, delimiters);
}
if(segmentGroup20 != null) {
segmentGroup20.write(nodeWriter, delimiters);
}
}
public ALCAllowanceOrCharge getALCAllowanceOrCharge() {
return aLCAllowanceOrCharge;
}
public SegmentGroup19 setALCAllowanceOrCharge(ALCAllowanceOrCharge aLCAllowanceOrCharge) {
this.aLCAllowanceOrCharge = aLCAllowanceOrCharge; return this;
}
public RTERateDetails getRTERateDetails() {
return rTERateDetails;
}
public SegmentGroup19 setRTERateDetails(RTERateDetails rTERateDetails) {
this.rTERateDetails = rTERateDetails; return this;
}
public MOAMonetaryAmount getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup19 setMOAMonetaryAmount(MOAMonetaryAmount mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public PCDPercentageDetails getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup19 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public QTYQuantity getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup19 setQTYQuantity(QTYQuantity qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public SegmentGroup20 getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup19 setSegmentGroup20(SegmentGroup20 segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy