public class Header extends Object implements Serializable, EDIWritable
Constructor and Description |
---|
Header() |
Modifier and Type | Method and Description |
---|---|
CustomerDetails |
getCustomerDetails() |
Date |
getDate() |
BigDecimal |
getNetAmount() |
String |
getOrderId() |
Integer |
getStatusCode() |
BigDecimal |
getTax() |
BigDecimal |
getTotalAmount() |
Header |
setCustomerDetails(CustomerDetails customerDetails) |
Header |
setDate(Date date) |
Header |
setNetAmount(BigDecimal netAmount) |
Header |
setOrderId(String orderId) |
Header |
setStatusCode(Integer statusCode) |
Header |
setTax(BigDecimal tax) |
Header |
setTotalAmount(BigDecimal totalAmount) |
void |
write(Writer writer,
Delimiters delimiters)
Write the bean to the specified
Writer instance. |
public void write(Writer writer, Delimiters delimiters) throws IOException
EDIWritable
Writer
instance.write
in interface EDIWritable
writer
- The target writer.delimiters
- The delimiters.IOException
- Error writing bean.public String getOrderId()
public Integer getStatusCode()
public BigDecimal getNetAmount()
public Header setNetAmount(BigDecimal netAmount)
public BigDecimal getTotalAmount()
public Header setTotalAmount(BigDecimal totalAmount)
public BigDecimal getTax()
public Header setTax(BigDecimal tax)
public Date getDate()
public CustomerDetails getCustomerDetails()
public Header setCustomerDetails(CustomerDetails customerDetails)
Copyright © 2020. All rights reserved.