NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

package bbsr.highradius.training.model.invoice;

import java.util.Date;

public class InvoiceDetails {

private Integer pkInvoiceId;
private Integer fkAccountId;
private String invoiceNumber;
private String companyCode;
private String fiscalYear;
private String itemNumber;
private Integer fkInvoiceType;
private Integer fkPostingKey;
private Integer fkCustomerId;
private Double invoiceTotalAmount;
private Double invoiceDueAmount;
private Date invoiceCreatedDate;
private Date dueDate;
private Integer discount1Percentage;
private Integer discount2Percentage;
private Integer discount3Percentage;
private String debitCreditIndicator;
private Integer isOpen;
private String approvalStatus;

//For mapping
private String customerName; //from customer details table
private String description; //from posting key table
private String invoiceType; //from invoice type table

//Objects of other db pojos
private CustomerDetails customerDetails;
private PostingKeyDetails postingKeyDetails;
private InvoiceTypeDetails invoiceTypeDetails;

// //constructor
// public InvoiceDetails(Integer pkInvoiceId, Integer fkAccountId, String invoiceNumber, String companyCode,
// String fiscalYear, String itemNumber, Integer fkInvoiceType, Integer fkPostingKey, Integer fkCustomerId,
// Double invoiceTotalAmount, Double invoiceDueAmount, Date invoiceCreatedDate, Date dueDate,
// Integer discount1Percentage, Integer discount2Percentage, Integer discount3Percentage,
// String debitCreditIndicator, Integer isOpen, String approvalStatus, String customerName, String description,
// String invoiceType) {
// super();
// this.pkInvoiceId = pkInvoiceId;
// this.fkAccountId = fkAccountId;
// this.invoiceNumber = invoiceNumber;
// this.companyCode = companyCode;
// this.fiscalYear = fiscalYear;
// this.itemNumber = itemNumber;
// this.fkInvoiceType = fkInvoiceType;
// this.fkPostingKey = fkPostingKey;
// this.fkCustomerId = fkCustomerId;
// this.invoiceTotalAmount = invoiceTotalAmount;
// this.invoiceDueAmount = invoiceDueAmount;
// this.invoiceCreatedDate = invoiceCreatedDate;
// this.dueDate = dueDate;
// this.discount1Percentage = discount1Percentage;
// this.discount2Percentage = discount2Percentage;
// this.discount3Percentage = discount3Percentage;
// this.debitCreditIndicator = debitCreditIndicator;
// this.isOpen = isOpen;
// this.approvalStatus = approvalStatus;
// this.customerName = customerName;
// this.description = description;
// this.invoiceType = invoiceType;
// }
public Integer getPkInvoiceId() {
return pkInvoiceId;
}
public void setPkInvoiceId(Integer pkInvoiceId) {
this.pkInvoiceId = pkInvoiceId;
}
public Integer getFkAccountId() {
return fkAccountId;
}
public void setFkAccountId(Integer fkAccountId) {
this.fkAccountId = fkAccountId;
}
public String getInvoiceNumber() {
return invoiceNumber;
}
public void setInvoiceNumber(String invoiceNumber) {
this.invoiceNumber = invoiceNumber;
}
public String getCompanyCode() {
return companyCode;
}
public void setCompanyCode(String companyCode) {
this.companyCode = companyCode;
}
public String getFiscalYear() {
return fiscalYear;
}
public void setFiscalYear(String fiscalYear) {
this.fiscalYear = fiscalYear;
}
public String getItemNumber() {
return itemNumber;
}
public void setItemNumber(String itemNumber) {
this.itemNumber = itemNumber;
}
public Integer getFkInvoiceType() {
return fkInvoiceType;
}
public void setFkInvoiceType(Integer fkInvoiceType) {
this.fkInvoiceType = fkInvoiceType;
}
public Integer getFkPostingKey() {
return fkPostingKey;
}
public void setFkPostingKey(Integer fkPostingKey) {
this.fkPostingKey = fkPostingKey;
}
public Integer getFkCustomerId() {
return fkCustomerId;
}
public void setFkCustomerId(Integer fkCustomerId) {
this.fkCustomerId = fkCustomerId;
}
public Double getInvoiceTotalAmount() {
return invoiceTotalAmount;
}
public void setInvoiceTotalAmount(Double invoiceTotalAmount) {
this.invoiceTotalAmount = invoiceTotalAmount;
}
public Double getInvoiceDueAmount() {
return invoiceDueAmount;
}
public void setInvoiceDueAmount(Double invoiceDueAmount) {
this.invoiceDueAmount = invoiceDueAmount;
}
public Date getInvoiceCreatedDate() {
return invoiceCreatedDate;
}
public void setInvoiceCreatedDate(Date invoiceCreatedDate) {
this.invoiceCreatedDate = invoiceCreatedDate;
}
public Date getDueDate() {
return dueDate;
}
public void setDueDate(Date dueDate) {
this.dueDate = dueDate;
}
public Integer getDiscount1Percentage() {
return discount1Percentage;
}
public void setDiscount1Percentage(Integer discount1Percentage) {
this.discount1Percentage = discount1Percentage;
}
public Integer getDiscount2Percentage() {
return discount2Percentage;
}
public void setDiscount2Percentage(Integer discount2Percentage) {
this.discount2Percentage = discount2Percentage;
}
public Integer getDiscount3Percentage() {
return discount3Percentage;
}
public void setDiscount3Percentage(Integer discount3Percentage) {
this.discount3Percentage = discount3Percentage;
}
public String getDebitCreditIndicator() {
return debitCreditIndicator;
}
public void setDebitCreditIndicator(String debitCreditIndicator) {
this.debitCreditIndicator = debitCreditIndicator;
}
public Integer getIsOpen() {
return isOpen;
}
public void setIsOpen(Integer isOpen) {
this.isOpen = isOpen;
}
public String getApprovalStatus() {
return approvalStatus;
}
public void setApprovalStatus(String approvalStatus) {
this.approvalStatus = approvalStatus;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getInvoiceType() {
return invoiceType;
}
public void setInvoiceType(String invoiceType) {
this.invoiceType = invoiceType;
}
public CustomerDetails getCustomerDetails() {
return customerDetails;
}
public void setCustomerDetails(CustomerDetails customerDetails) {
this.customerDetails = customerDetails;
this.customerName = customerDetails.getCustomerName();
}
public PostingKeyDetails getPostingKeyDetails() {
return postingKeyDetails;
}
public void setPostingKeyDetails(PostingKeyDetails postingKeyDetails) {
this.postingKeyDetails = postingKeyDetails;
this.description = postingKeyDetails.getDescription();
}
public InvoiceTypeDetails getInvoiceTypeDetails() {
return invoiceTypeDetails;
}
public void setInvoiceTypeDetails(InvoiceTypeDetails invoiceTypeDetails) {
this.invoiceTypeDetails = invoiceTypeDetails;
this.invoiceType = invoiceTypeDetails.getInvoiceType();
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.