From 94cdace84df7ba81a8d19ef2242c906b0755eb4c Mon Sep 17 00:00:00 2001 From: gopi17701 <41270090+gopi17701@users.noreply.github.com> Date: Wed, 18 Jul 2018 16:09:54 -0400 Subject: [PATCH] Add files via upload --- .../requests/InvoicePaymentRequest.java | 69 +++++++++++++++++++ .../com/astute/requests/PODetailRequest.java | 38 +++------- 2 files changed, 78 insertions(+), 29 deletions(-) create mode 100644 AstuteSystem/src/main/java/com/astute/requests/InvoicePaymentRequest.java diff --git a/AstuteSystem/src/main/java/com/astute/requests/InvoicePaymentRequest.java b/AstuteSystem/src/main/java/com/astute/requests/InvoicePaymentRequest.java new file mode 100644 index 0000000..89eaa7a --- /dev/null +++ b/AstuteSystem/src/main/java/com/astute/requests/InvoicePaymentRequest.java @@ -0,0 +1,69 @@ +package com.astute.requests; + +import java.sql.Date; + +public class InvoicePaymentRequest { + String invoiceNum; + int invoicePaymentId; + int paymentTypeId; + String paymentType; + Date paymentDate; + Double invoiceAmount; + + public InvoicePaymentRequest(String invoiceNum, int invoicePaymentId, int paymentTypeId, String paymentType, Date paymentDate, Double invoiceAmount) { + this.invoiceNum = invoiceNum; + this.invoicePaymentId = invoicePaymentId; + this.paymentTypeId = paymentTypeId; + this.paymentType = paymentType; + this.paymentDate = paymentDate; + this.invoiceAmount = invoiceAmount; + } + + public String getInvoiceNum() { + return invoiceNum; + } + + public void setInvoiceNum(String invoiceNum) { + this.invoiceNum = invoiceNum; + } + + public int getInvoicePaymentId() { + return invoicePaymentId; + } + + public void setInvoicePaymentId(int invoicePaymentId) { + this.invoicePaymentId = invoicePaymentId; + } + + public int getPaymentTypeId() { + return paymentTypeId; + } + + public void setPaymentTypeId(int paymentTypeId) { + this.paymentTypeId = paymentTypeId; + } + + public String getPaymentType() { + return paymentType; + } + + public void setPaymentType(String paymentType) { + this.paymentType = paymentType; + } + + public Date getPaymentDate() { + return paymentDate; + } + + public void setPaymentDate(Date paymentDate) { + this.paymentDate = paymentDate; + } + + public Double getInvoiceAmount() { + return invoiceAmount; + } + + public void setInvoiceAmount(Double invoiceAmount) { + this.invoiceAmount = invoiceAmount; + } +} diff --git a/AstuteSystem/src/main/java/com/astute/requests/PODetailRequest.java b/AstuteSystem/src/main/java/com/astute/requests/PODetailRequest.java index 06bfc67..49a17e9 100644 --- a/AstuteSystem/src/main/java/com/astute/requests/PODetailRequest.java +++ b/AstuteSystem/src/main/java/com/astute/requests/PODetailRequest.java @@ -3,16 +3,19 @@ package com.astute.requests; import java.sql.Date; public class PODetailRequest { - String PONum; + String poNum; int lineItemNo; + String serviceDesc; + int feeTypeId; + Double qty; + int serviceTypeId; - public String getPONum() { - - return PONum; + public String getPoNum() { + return poNum; } - public void setPONum(String PONum) { - this.PONum = PONum; + public void setPoNum(String poNum) { + this.poNum = poNum; } public int getLineItemNo() { @@ -54,27 +57,4 @@ public class PODetailRequest { public void setServiceTypeId(int serviceTypeId) { this.serviceTypeId = serviceTypeId; } - - public String getSchedule() { - return schedule; - } - - public void setSchedule(String schedule) { - this.schedule = schedule; - } - - public Date getDeliverBy() { - return deliverBy; - } - - public void setDeliverBy(Date deliverBy) { - this.deliverBy = deliverBy; - } - - String serviceDesc; - int feeTypeId; - Double qty; - int serviceTypeId; - String schedule; - Date deliverBy; }