0001: /*
0002: * Copyright 2007 The Kuali Foundation.
0003: *
0004: * Licensed under the Educational Community License, Version 1.0 (the "License");
0005: * you may not use this file except in compliance with the License.
0006: * You may obtain a copy of the License at
0007: *
0008: * http://www.opensource.org/licenses/ecl1.php
0009: *
0010: * Unless required by applicable law or agreed to in writing, software
0011: * distributed under the License is distributed on an "AS IS" BASIS,
0012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013: * See the License for the specific language governing permissions and
0014: * limitations under the License.
0015: */
0016: /*
0017: * Created on Jul 16, 2004
0018: *
0019: */
0020: package org.kuali.module.pdp.form.customerprofile;
0021:
0022: import java.sql.Timestamp;
0023: import java.util.List;
0024:
0025: import javax.servlet.http.HttpServletRequest;
0026:
0027: import org.apache.struts.action.ActionErrors;
0028: import org.apache.struts.action.ActionForm;
0029: import org.apache.struts.action.ActionMapping;
0030: import org.apache.struts.action.ActionMessage;
0031: import org.kuali.module.pdp.bo.CustomerProfile;
0032: import org.kuali.module.pdp.bo.PdpUser;
0033: import org.kuali.module.pdp.utilities.GeneralUtilities;
0034:
0035: /**
0036: * @author delyea
0037: */
0038: public class CustomerProfileForm extends ActionForm {
0039: private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger
0040: .getLogger(CustomerProfileForm.class);
0041:
0042: private String achPaymentDescription; // ACH_PMT_DESC
0043: private String additionalCheckNoteTextLine1;
0044: private String additionalCheckNoteTextLine2;
0045: private String additionalCheckNoteTextLine3;
0046: private String additionalCheckNoteTextLine4;
0047: private String address1; // CUST_LN1_ADDR
0048: private String address2; // CUST_LN2_ADDR
0049: private String address3; // CUST_LN3_ADDR
0050: private String address4; // CUST_LN4_ADDR
0051: private Boolean adviceCreate; // ADV_CRTE_IND
0052: private String adviceHeaderText; // ADV_HDR_TXT
0053: private String adviceSubjectLine;
0054: private String adviceReturnEmailAddr;
0055: private String chartCode; // FIN_COA_CD
0056: private String checkHeaderNoteTextLine1;
0057: private String checkHeaderNoteTextLine2;
0058: private String checkHeaderNoteTextLine3;
0059: private String checkHeaderNoteTextLine4;
0060: private String city; // CUST_CTY_NM
0061: private String contactFullName; // CUST_CNTC_FULL_NM
0062: private String countryName; // CUST_CNTRY_NM
0063: private Boolean customerActive; // CUST_ACTV_IND
0064: private String customerDescription; // CUST_DESC
0065: private String defaultAccountNumber; // DFLT_ACCT_NBR
0066: private String defaultChartCode; // DFLT_COA_CD
0067: private String defaultObjectCode; // DFLT_OBJ_CD
0068: private String defaultPhysicalCampusProcessingCode; // DFLT_PHYS_CMP_PROC_CD
0069: private String defaultSubObjectCode; // DFLT_SUB_OBJ_CD
0070: private Boolean employeeCheck; // CUST_EMP_CHK_IND
0071: private String fileThresholdAmount; // FL_THRSHLD_AMT
0072: private String fileThresholdEmailAddress; // CUST_FILE_THRSHLD_EMAIL_ADDR
0073: private String id; // CUST_ID
0074: private Timestamp lastUpdate; // LST_UPDT_TS
0075: private PdpUser lastUpdateUser;
0076: private String lastUpdateUserId; // LST_UPDT_USR_ID
0077: private Boolean nraReview; // CUST_NRA_RVW_IND
0078: private String version; // VER_NBR
0079: private String orgCode; // ORG_CD
0080: private Boolean ownershipCodeRequired; // CUST_OWNR_CD_REQ_IND
0081: private Boolean payeeIdRequired; // CUST_PAYEE_ID_REQ_IND
0082: private String paymentThresholdAmount; // PMT_THRSHLD_AMT
0083: private String paymentThresholdEmailAddress; // CUST_PMT_THRSHLD_EMAIL_ADDR
0084: private String processingEmailAddr; // CUST_PRCS_EMAIL_ADDR
0085: private String psdTransactionCode; // PSD_TRN_CD
0086: private String state; // CUST_ST_CD
0087: private String subUnitCode; // SBUNT_CD
0088: private String zipCode; // CUST_ZIP_CD
0089: private Boolean accountingEditRequired; // ACCTG_EDIT_REQ_IND
0090: private String defaultSubAccountNumber;
0091: private Boolean relieveLiabilities;
0092: private List customerBanks;
0093: private CustomerBankForm[] customerBankForms;
0094:
0095: public CustomerProfileForm() {
0096: customerBankForms = new CustomerBankForm[4];
0097: for (int i = 0; i < customerBankForms.length; i++) {
0098: customerBankForms[i] = new CustomerBankForm();
0099: }
0100: }
0101:
0102: /**
0103: * @return Returns the customerBankForms.
0104: */
0105: public CustomerBankForm[] getCustomerBankForms() {
0106: return customerBankForms;
0107: }
0108:
0109: /**
0110: * @param customerBankForms The customerBankForms to set.
0111: */
0112: public void setCustomerBankForms(CustomerBankForm[] forms) {
0113: this .customerBankForms = forms;
0114: }
0115:
0116: public CustomerBankForm getCustomerBankForms(int index) {
0117: return customerBankForms[index];
0118: }
0119:
0120: public void setCustomerBankForms(int index, CustomerBankForm c) {
0121: customerBankForms[index] = c;
0122: }
0123:
0124: public void addCustomerBankRow() {
0125: CustomerBankForm[] holdBanks = this .getCustomerBankForms();
0126: this
0127: .setCustomerBankForms(new CustomerBankForm[holdBanks.length + 1]);
0128: for (int i = 0; i < holdBanks.length; i++) {
0129: customerBankForms[i] = holdBanks[i];
0130: }
0131: customerBankForms[customerBankForms.length - 1] = new CustomerBankForm();
0132: }
0133:
0134: public void setCustomerBankFormArraySize(int i) {
0135: customerBankForms = new CustomerBankForm[i];
0136: }
0137:
0138: public CustomerProfileForm(String coa, String org, String sbuntcd) {
0139: this .setChartCode(coa);
0140: this .setOrgCode(org);
0141: this .setSubUnitCode(sbuntcd);
0142: }
0143:
0144: /**
0145: * @return Returns the customerBanks.
0146: */
0147: public List getCustomerBanks() {
0148:
0149: return customerBanks;
0150: }
0151:
0152: /**
0153: * @param customerBanks The customerBanks to set.
0154: */
0155: public void setCustomerBanks(List customerBanks) {
0156:
0157: this .customerBanks = customerBanks;
0158: }
0159:
0160: /**
0161: * @return
0162: */
0163: public void setForm(CustomerProfile cp) {
0164:
0165: this .setAchPaymentDescription(cp.getAchPaymentDescription());
0166: this .setAdditionalCheckNoteTextLine1(cp
0167: .getAdditionalCheckNoteTextLine1());
0168: this .setAdditionalCheckNoteTextLine2(cp
0169: .getAdditionalCheckNoteTextLine2());
0170: this .setAdditionalCheckNoteTextLine3(cp
0171: .getAdditionalCheckNoteTextLine3());
0172: this .setAdditionalCheckNoteTextLine4(cp
0173: .getAdditionalCheckNoteTextLine4());
0174: this .setAddress1(cp.getAddress1());
0175: this .setAddress2(cp.getAddress2());
0176: this .setAddress3(cp.getAddress3());
0177: this .setAddress4(cp.getAddress4());
0178: this .setAdviceCreate(cp.getAdviceCreate());
0179: this .setAdviceHeaderText(cp.getAdviceHeaderText());
0180: this .setAdviceReturnEmailAddr(cp.getAdviceReturnEmailAddr());
0181: this .setAdviceSubjectLine(cp.getAdviceSubjectLine());
0182: this .setChartCode(cp.getChartCode().toUpperCase());
0183: this .setCheckHeaderNoteTextLine1(cp
0184: .getCheckHeaderNoteTextLine1());
0185: this .setCheckHeaderNoteTextLine2(cp
0186: .getCheckHeaderNoteTextLine2());
0187: this .setCheckHeaderNoteTextLine3(cp
0188: .getCheckHeaderNoteTextLine3());
0189: this .setCheckHeaderNoteTextLine4(cp
0190: .getCheckHeaderNoteTextLine4());
0191: this .setCity(cp.getCity());
0192: this .setContactFullName(cp.getContactFullName());
0193: this .setCountryName(cp.getCountryName());
0194: this .setCustomerActive(cp.getCustomerActive());
0195: this .setCustomerDescription(cp.getCustomerDescription());
0196: this .setDefaultAccountNumber(cp.getDefaultAccountNumber());
0197: this .setDefaultChartCode(cp.getDefaultChartCode());
0198: this .setDefaultObjectCode(cp.getDefaultObjectCode());
0199: this
0200: .setDefaultPhysicalCampusProcessingCode(cp
0201: .getDefaultPhysicalCampusProcessingCode()
0202: .toUpperCase());
0203: this .setDefaultSubObjectCode(cp.getDefaultSubObjectCode());
0204: this .setEmployeeCheck(cp.getEmployeeCheck());
0205: this
0206: .setFileThresholdAmount(GeneralUtilities
0207: .convertBigDecimalToString(cp
0208: .getFileThresholdAmount()));
0209: this .setFileThresholdEmailAddress(cp
0210: .getFileThresholdEmailAddress());
0211: this .setLastUpdate(cp.getLastUpdate());
0212: this .setLastUpdateUser(cp.getLastUpdateUser());
0213: this .setLastUpdateUserId(cp.getLastUpdateUserId());
0214: this .setNraReview(cp.getNraReview());
0215: this .setOrgCode(cp.getOrgCode().toUpperCase());
0216: this .setOwnershipCodeRequired(cp.getOwnershipCodeRequired());
0217: this .setPayeeIdRequired(cp.getPayeeIdRequired());
0218: this .setPaymentThresholdAmount(GeneralUtilities
0219: .convertBigDecimalToString(cp
0220: .getPaymentThresholdAmount()));
0221: this .setPaymentThresholdEmailAddress(cp
0222: .getPaymentThresholdEmailAddress());
0223: this .setProcessingEmailAddr(cp.getProcessingEmailAddr());
0224: this .setPsdTransactionCode(cp.getPsdTransactionCode());
0225: this .setState(cp.getState());
0226: this .setSubUnitCode(cp.getSubUnitCode().toUpperCase());
0227: this .setVersion(GeneralUtilities.convertIntegerToString(cp
0228: .getVersion()));
0229: this .setZipCode(cp.getZipCode());
0230: this .setId(GeneralUtilities.convertIntegerToString(cp.getId()));
0231: this .setAccountingEditRequired(cp.getAccountingEditRequired());
0232: this
0233: .setDefaultSubAccountNumber(cp
0234: .getDefaultSubAccountNumber());
0235: this .setRelieveLiabilities(cp.getRelieveLiabilities());
0236:
0237: }
0238:
0239: /**
0240: * @return
0241: */
0242: public CustomerProfile getCustomerProfile() {
0243: CustomerProfile cp = new CustomerProfile();
0244: cp.setAchPaymentDescription(this .getAchPaymentDescription());
0245: cp.setAdditionalCheckNoteTextLine1(this
0246: .getAdditionalCheckNoteTextLine1());
0247: cp.setAdditionalCheckNoteTextLine2(this
0248: .getAdditionalCheckNoteTextLine2());
0249: cp.setAdditionalCheckNoteTextLine3(this
0250: .getAdditionalCheckNoteTextLine3());
0251: cp.setAdditionalCheckNoteTextLine4(this
0252: .getAdditionalCheckNoteTextLine4());
0253: cp.setAddress1(this .getAddress1());
0254: cp.setAddress2(this .getAddress2());
0255: cp.setAddress3(this .getAddress3());
0256: cp.setAddress4(this .getAddress4());
0257: cp.setAdviceCreate(this .getAdviceCreate());
0258: cp.setAdviceHeaderText(this .getAdviceHeaderText());
0259: cp.setAdviceReturnEmailAddr(this .getAdviceReturnEmailAddr());
0260: cp.setAdviceSubjectLine(this .getAdviceSubjectLine());
0261: cp.setChartCode(this .getChartCode().toUpperCase());
0262: cp.setCheckHeaderNoteTextLine1(this
0263: .getCheckHeaderNoteTextLine1());
0264: cp.setCheckHeaderNoteTextLine2(this
0265: .getCheckHeaderNoteTextLine2());
0266: cp.setCheckHeaderNoteTextLine3(this
0267: .getCheckHeaderNoteTextLine3());
0268: cp.setCheckHeaderNoteTextLine4(this
0269: .getCheckHeaderNoteTextLine4());
0270: cp.setCity(this .getCity());
0271: cp.setContactFullName(this .getContactFullName());
0272: cp.setCountryName(this .getCountryName());
0273: cp.setCustomerActive(this .getCustomerActive());
0274: cp.setCustomerDescription(this .getCustomerDescription());
0275: cp.setDefaultAccountNumber(this .getDefaultAccountNumber());
0276: cp
0277: .setDefaultChartCode(this .getDefaultChartCode()
0278: .toUpperCase());
0279: cp.setDefaultObjectCode(this .getDefaultObjectCode());
0280: cp
0281: .setDefaultPhysicalCampusProcessingCode(this
0282: .getDefaultPhysicalCampusProcessingCode()
0283: .toUpperCase());
0284: cp.setEmployeeCheck(this .getEmployeeCheck());
0285: cp.setFileThresholdAmount(GeneralUtilities
0286: .convertStringToBigDecimal(this
0287: .getFileThresholdAmount()));
0288: cp.setFileThresholdEmailAddress(this
0289: .getFileThresholdEmailAddress());
0290: cp.setLastUpdate(this .getLastUpdate());
0291: cp.setLastUpdateUser(this .getLastUpdateUser());
0292: cp.setNraReview(this .getNraReview());
0293: cp.setOrgCode(this .getOrgCode().toUpperCase());
0294: cp.setOwnershipCodeRequired(this .getOwnershipCodeRequired());
0295: cp.setPayeeIdRequired(this .getPayeeIdRequired());
0296: cp.setPaymentThresholdAmount(GeneralUtilities
0297: .convertStringToBigDecimal(this
0298: .getPaymentThresholdAmount()));
0299: cp.setPaymentThresholdEmailAddress(this
0300: .getPaymentThresholdEmailAddress());
0301: cp.setProcessingEmailAddr(this .getProcessingEmailAddr());
0302: cp.setPsdTransactionCode(this .getPsdTransactionCode());
0303: cp.setState(this .getState());
0304: cp.setSubUnitCode(this .getSubUnitCode().toUpperCase());
0305: cp.setVersion(GeneralUtilities.convertStringToInteger(this
0306: .getVersion()));
0307: cp.setZipCode(this .getZipCode());
0308: cp.setId(GeneralUtilities.convertStringToInteger(this .getId()));
0309: cp.setAccountingEditRequired(this .getAccountingEditRequired());
0310: cp.setRelieveLiabilities(this .getRelieveLiabilities());
0311:
0312: if (this .getDefaultSubAccountNumber().equals(null)) {
0313: cp.setDefaultSubAccountNumber("-----");
0314: } else {
0315: cp.setDefaultSubAccountNumber(this
0316: .getDefaultSubAccountNumber());
0317: }
0318:
0319: if (this .getDefaultSubObjectCode().equals(null)) {
0320: cp.setDefaultSubObjectCode("-----");
0321: } else {
0322: cp.setDefaultSubObjectCode(this .getDefaultSubObjectCode());
0323: }
0324:
0325: return cp;
0326: }
0327:
0328: public void clearForm() {
0329: this .setAchPaymentDescription("");
0330: this .setAdditionalCheckNoteTextLine1("");
0331: this .setAdditionalCheckNoteTextLine2("");
0332: this .setAdditionalCheckNoteTextLine3("");
0333: this .setAdditionalCheckNoteTextLine4("");
0334: this .setAddress1("");
0335: this .setAddress2("");
0336: this .setAddress3("");
0337: this .setAddress4("");
0338: this .setAdviceCreate(null);
0339: this .setAdviceHeaderText("");
0340: this .setAdviceReturnEmailAddr("");
0341: this .setAdviceSubjectLine("");
0342: this .setChartCode("");
0343: this .setCheckHeaderNoteTextLine1("");
0344: this .setCheckHeaderNoteTextLine2("");
0345: this .setCheckHeaderNoteTextLine3("");
0346: this .setCheckHeaderNoteTextLine4("");
0347: this .setCity("");
0348: this .setContactFullName("");
0349: this .setCountryName("");
0350: this .setCustomerActive(null);
0351: this .setCustomerDescription("");
0352: this .setDefaultAccountNumber("");
0353: this .setDefaultChartCode("");
0354: this .setDefaultObjectCode("");
0355: this .setDefaultPhysicalCampusProcessingCode("");
0356: this .setDefaultSubObjectCode("");
0357: this .setEmployeeCheck(null);
0358: this .setFileThresholdAmount(null);
0359: this .setFileThresholdEmailAddress("");
0360: this .setNraReview(null);
0361: this .setOrgCode("");
0362: this .setOwnershipCodeRequired(null);
0363: this .setPayeeIdRequired(null);
0364: this .setPaymentThresholdAmount(null);
0365: this .setPaymentThresholdEmailAddress("");
0366: this .setProcessingEmailAddr("");
0367: this .setPsdTransactionCode("");
0368: this .setState("");
0369: this .setSubUnitCode("");
0370: this .setZipCode("");
0371: this .setAccountingEditRequired(null);
0372: this .setDefaultSubAccountNumber("");
0373: this .setRelieveLiabilities(null);
0374: }
0375:
0376: public ActionErrors validate(ActionMapping mapping,
0377: HttpServletRequest request) {
0378: LOG.debug("Entered validate().");
0379: // create instance of ActionErrors to send errors to user
0380: ActionErrors actionErrors = new ActionErrors();
0381: String buttonPressed = GeneralUtilities
0382: .whichButtonWasPressed(request);
0383:
0384: if (buttonPressed.equals("btnSave")) {
0385: // Validate Chart as being not null
0386: if (GeneralUtilities.isStringEmpty(this .chartCode)) {
0387: actionErrors.add("errors", new ActionMessage(
0388: "customerProfileForm.chartCode.null"));
0389: } else {
0390: if (!(this .chartCode.length() == 2)) {
0391: actionErrors.add("errors", new ActionMessage(
0392: "customerProfileForm.chartCode.length"));
0393: }
0394: }
0395:
0396: // Validate Org as being not null and contains 4 characters
0397: if (GeneralUtilities.isStringEmpty(this .orgCode)) {
0398: actionErrors.add("errors", new ActionMessage(
0399: "customerProfileForm.orgCode.null"));
0400: } else {
0401: if (!(this .orgCode.length() == 4)) {
0402: actionErrors.add("errors", new ActionMessage(
0403: "customerProfileForm.orgCode.length"));
0404: }
0405: }
0406:
0407: // Validate Sub-Unit as being not null
0408: if (GeneralUtilities.isStringEmpty(this .subUnitCode)) {
0409: actionErrors.add("errors", new ActionMessage(
0410: "customerProfileForm.subUnitCode.null"));
0411: }
0412:
0413: // Validate Process Location as being not null
0414: if (GeneralUtilities
0415: .isStringEmpty(this .defaultPhysicalCampusProcessingCode)) {
0416: actionErrors
0417: .add(
0418: "errors",
0419: new ActionMessage(
0420: "customerProfileForm.campusProcessingCode.null"));
0421: } else {
0422: if (!(this .defaultPhysicalCampusProcessingCode.length() == 2)) {
0423: actionErrors
0424: .add(
0425: "errors",
0426: new ActionMessage(
0427: "customerProfileForm.campusProcessingCode.length"));
0428: }
0429: }
0430:
0431: // Validate Default Chart Code as being not null
0432: if (GeneralUtilities.isStringEmpty(this .defaultChartCode)) {
0433: actionErrors.add("errors", new ActionMessage(
0434: "customerProfileForm.defaultChartCode.null"));
0435: }
0436:
0437: // Validate Default Account Number as being not null
0438: if (GeneralUtilities
0439: .isStringEmpty(this .defaultAccountNumber)) {
0440: actionErrors
0441: .add(
0442: "errors",
0443: new ActionMessage(
0444: "customerProfileForm.defaultAccountNumber.null"));
0445: }
0446:
0447: // Validate Default Sub-Account Number as being not null
0448: if (GeneralUtilities
0449: .isStringEmpty(this .defaultSubAccountNumber)) {
0450: actionErrors
0451: .add(
0452: "errors",
0453: new ActionMessage(
0454: "customerProfileForm.defaultSubAccountNumber.null"));
0455: }
0456:
0457: // Validate Default Object Code as being not null
0458: if (GeneralUtilities.isStringEmpty(this .defaultObjectCode)) {
0459: actionErrors.add("errors", new ActionMessage(
0460: "customerProfileForm.defaultObjectCode.null"));
0461: }
0462:
0463: // Validate Default Sub Object Code as being not null
0464: if (GeneralUtilities
0465: .isStringEmpty(this .defaultSubObjectCode)) {
0466: actionErrors
0467: .add(
0468: "errors",
0469: new ActionMessage(
0470: "customerProfileForm.defaultSubObjectCode.null"));
0471: }
0472: // Validate Description as being not null
0473: if (GeneralUtilities
0474: .isStringEmpty(this .customerDescription)) {
0475: actionErrors.add("errors", new ActionMessage(
0476: "customerProfileForm.customerDesc.null"));
0477: }
0478:
0479: // Validate Primary Contact Name as being not null
0480: if (GeneralUtilities.isStringEmpty(this .contactFullName)) {
0481: actionErrors.add("errors", new ActionMessage(
0482: "customerProfileForm.contactFullName.null"));
0483: }
0484:
0485: // Validate Process E-mail Address as being not null
0486: if (GeneralUtilities
0487: .isStringEmpty(this .processingEmailAddr)) {
0488: actionErrors
0489: .add(
0490: "errors",
0491: new ActionMessage(
0492: "customerProfileForm.processingEmailAddr.null"));
0493: }
0494:
0495: // Validate Address Line 1 as being not null
0496: if (GeneralUtilities.isStringEmpty(this .address1)) {
0497: actionErrors.add("errors", new ActionMessage(
0498: "customerProfileForm.address1.null"));
0499: }
0500:
0501: // Validate City as being not null
0502: if (GeneralUtilities.isStringEmpty(this .city)) {
0503: actionErrors.add("errors", new ActionMessage(
0504: "customerProfileForm.city.null"));
0505: }
0506:
0507: // Validate State as being not null
0508: if (GeneralUtilities.isStringEmpty(this .state)) {
0509: actionErrors.add("errors", new ActionMessage(
0510: "customerProfileForm.state.null"));
0511: }
0512:
0513: // Validate Amounts as convertable to BigDecimals
0514: if (!GeneralUtilities.isStringAllNumbersOrASingleCharacter(
0515: this .fileThresholdAmount, '.')) {
0516: actionErrors
0517: .add(
0518: "errors",
0519: new ActionMessage(
0520: "customerProfileForm.fileThresholdAmount.invalid"));
0521: }
0522: // Validate File Threshold E-mail Address as being not null
0523: if (GeneralUtilities
0524: .isStringEmpty(this .fileThresholdEmailAddress)) {
0525: actionErrors
0526: .add(
0527: "errors",
0528: new ActionMessage(
0529: "customerProfileForm.fileThresholdEmailAddress.null"));
0530: }
0531: if (!GeneralUtilities.isStringAllNumbersOrASingleCharacter(
0532: this .paymentThresholdAmount, '.')) {
0533: actionErrors
0534: .add(
0535: "errors",
0536: new ActionMessage(
0537: "customerProfileForm.paymentThresholdAmount.invalid"));
0538: }
0539:
0540: // Validate Payment Threshold E-mail Address as being not null
0541: if (GeneralUtilities
0542: .isStringEmpty(this .paymentThresholdEmailAddress)) {
0543: actionErrors
0544: .add(
0545: "errors",
0546: new ActionMessage(
0547: "customerProfileForm.paymentThresholdEmailAddress.null"));
0548: }
0549: }
0550: LOG.debug("Exiting validate() There were "
0551: + actionErrors.size() + " ActionMessages found.");
0552: return actionErrors;
0553: }
0554:
0555: /**
0556: * @return Returns the achPaymentDescription.
0557: */
0558: public String getAchPaymentDescription() {
0559: return achPaymentDescription;
0560: }
0561:
0562: /**
0563: * @return Returns the additionalCheckNoteTextLine1.
0564: */
0565: public String getAdditionalCheckNoteTextLine1() {
0566: return additionalCheckNoteTextLine1;
0567: }
0568:
0569: /**
0570: * @return Returns the additionalCheckNoteTextLine2.
0571: */
0572: public String getAdditionalCheckNoteTextLine2() {
0573: return additionalCheckNoteTextLine2;
0574: }
0575:
0576: /**
0577: * @return Returns the additionalCheckNoteTextLine3.
0578: */
0579: public String getAdditionalCheckNoteTextLine3() {
0580: return additionalCheckNoteTextLine3;
0581: }
0582:
0583: /**
0584: * @return Returns the additionalCheckNoteTextLine4.
0585: */
0586: public String getAdditionalCheckNoteTextLine4() {
0587: return additionalCheckNoteTextLine4;
0588: }
0589:
0590: /**
0591: * @return Returns the address1.
0592: */
0593: public String getAddress1() {
0594: return address1;
0595: }
0596:
0597: /**
0598: * @return Returns the address2.
0599: */
0600: public String getAddress2() {
0601: return address2;
0602: }
0603:
0604: /**
0605: * @return Returns the address3.
0606: */
0607: public String getAddress3() {
0608: return address3;
0609: }
0610:
0611: /**
0612: * @return Returns the address4.
0613: */
0614: public String getAddress4() {
0615: return address4;
0616: }
0617:
0618: /**
0619: * @return Returns the adviceCreate.
0620: */
0621: public Boolean getAdviceCreate() {
0622: return adviceCreate;
0623: }
0624:
0625: /**
0626: * @return Returns the adviceHeaderText.
0627: */
0628: public String getAdviceHeaderText() {
0629: return adviceHeaderText;
0630: }
0631:
0632: /**
0633: * @return Returns the chartCode.
0634: */
0635: public String getChartCode() {
0636: return chartCode;
0637: }
0638:
0639: /**
0640: * @return Returns the checkHeaderNoteTextLine1.
0641: */
0642: public String getCheckHeaderNoteTextLine1() {
0643: return checkHeaderNoteTextLine1;
0644: }
0645:
0646: /**
0647: * @return Returns the checkHeaderNoteTextLine2.
0648: */
0649: public String getCheckHeaderNoteTextLine2() {
0650: return checkHeaderNoteTextLine2;
0651: }
0652:
0653: /**
0654: * @return Returns the checkHeaderNoteTextLine3.
0655: */
0656: public String getCheckHeaderNoteTextLine3() {
0657: return checkHeaderNoteTextLine3;
0658: }
0659:
0660: /**
0661: * @return Returns the checkHeaderNoteTextLine4.
0662: */
0663: public String getCheckHeaderNoteTextLine4() {
0664: return checkHeaderNoteTextLine4;
0665: }
0666:
0667: /**
0668: * @return Returns the city.
0669: */
0670: public String getCity() {
0671: return city;
0672: }
0673:
0674: /**
0675: * @return Returns the contactFullName.
0676: */
0677: public String getContactFullName() {
0678: return contactFullName;
0679: }
0680:
0681: /**
0682: * @return Returns the countryName.
0683: */
0684: public String getCountryName() {
0685: return countryName;
0686: }
0687:
0688: /**
0689: * @return Returns the customerActive.
0690: */
0691: public Boolean getCustomerActive() {
0692: return customerActive;
0693: }
0694:
0695: /**
0696: * @return Returns the customerDescription.
0697: */
0698: public String getCustomerDescription() {
0699: return customerDescription;
0700: }
0701:
0702: /**
0703: * @return Returns the defaultAccountNumber.
0704: */
0705: public String getDefaultAccountNumber() {
0706: return defaultAccountNumber;
0707: }
0708:
0709: /**
0710: * @return Returns the defaultChartCode.
0711: */
0712: public String getDefaultChartCode() {
0713: return defaultChartCode;
0714: }
0715:
0716: /**
0717: * @return Returns the defaultObjectCode.
0718: */
0719: public String getDefaultObjectCode() {
0720: return defaultObjectCode;
0721: }
0722:
0723: /**
0724: * @return Returns the defaultPhysicalCampusProcessingCode.
0725: */
0726: public String getDefaultPhysicalCampusProcessingCode() {
0727: return defaultPhysicalCampusProcessingCode;
0728: }
0729:
0730: /**
0731: * @return Returns the defaultSubObjectCode.
0732: */
0733: public String getDefaultSubObjectCode() {
0734: return defaultSubObjectCode;
0735: }
0736:
0737: /**
0738: * @return Returns the employeeCheck.
0739: */
0740: public Boolean getEmployeeCheck() {
0741: return employeeCheck;
0742: }
0743:
0744: /**
0745: * @return Returns the fileThresholdAmount.
0746: */
0747: public String getFileThresholdAmount() {
0748: return fileThresholdAmount;
0749: }
0750:
0751: /**
0752: * @return Returns the fileThresholdEmailAddress.
0753: */
0754: public String getFileThresholdEmailAddress() {
0755: return fileThresholdEmailAddress;
0756: }
0757:
0758: /**
0759: * @return Returns the id.
0760: */
0761: public String getId() {
0762: return id;
0763: }
0764:
0765: /**
0766: * @return Returns the lastUpdate.
0767: */
0768: public Timestamp getLastUpdate() {
0769: return lastUpdate;
0770: }
0771:
0772: /**
0773: * @return Returns the lastUpdateUser.
0774: */
0775: public PdpUser getLastUpdateUser() {
0776: return lastUpdateUser;
0777: }
0778:
0779: /**
0780: * @return Returns the lastUpdateUserId.
0781: */
0782: public String getLastUpdateUserId() {
0783: return lastUpdateUserId;
0784: }
0785:
0786: /**
0787: * @return Returns the nraReview.
0788: */
0789: public Boolean getNraReview() {
0790: return nraReview;
0791: }
0792:
0793: /**
0794: * @return Returns the orgCode.
0795: */
0796: public String getOrgCode() {
0797: return orgCode;
0798: }
0799:
0800: /**
0801: * @return Returns the ownershipCodeRequired.
0802: */
0803: public Boolean getOwnershipCodeRequired() {
0804: return ownershipCodeRequired;
0805: }
0806:
0807: /**
0808: * @return Returns the payeeIdRequired.
0809: */
0810: public Boolean getPayeeIdRequired() {
0811: return payeeIdRequired;
0812: }
0813:
0814: /**
0815: * @return Returns the paymentThresholdAmount.
0816: */
0817: public String getPaymentThresholdAmount() {
0818: return paymentThresholdAmount;
0819: }
0820:
0821: /**
0822: * @return Returns the paymentThresholdEmailAddress.
0823: */
0824: public String getPaymentThresholdEmailAddress() {
0825: return paymentThresholdEmailAddress;
0826: }
0827:
0828: /**
0829: * @return Returns the processingEmailAddr.
0830: */
0831: public String getProcessingEmailAddr() {
0832: return processingEmailAddr;
0833: }
0834:
0835: /**
0836: * @return Returns the psdTransactionCode.
0837: */
0838: public String getPsdTransactionCode() {
0839: return psdTransactionCode;
0840: }
0841:
0842: /**
0843: * @return Returns the state.
0844: */
0845: public String getState() {
0846: return state;
0847: }
0848:
0849: /**
0850: * @return Returns the subUnitCode.
0851: */
0852: public String getSubUnitCode() {
0853: return subUnitCode;
0854: }
0855:
0856: /**
0857: * @return Returns the version.
0858: */
0859: public String getVersion() {
0860: return version;
0861: }
0862:
0863: /**
0864: * @return Returns the zipCode.
0865: */
0866: public String getZipCode() {
0867: return zipCode;
0868: }
0869:
0870: /**
0871: * @param achPaymentDescription The achPaymentDescription to set.
0872: */
0873: public void setAchPaymentDescription(String achPaymentDescription) {
0874: this .achPaymentDescription = achPaymentDescription;
0875: }
0876:
0877: /**
0878: * @param additionalCheckNoteTextLine1 The additionalCheckNoteText to set.
0879: */
0880: public void setAdditionalCheckNoteTextLine1(
0881: String additionalCheckNoteTextLine1) {
0882: this .additionalCheckNoteTextLine1 = additionalCheckNoteTextLine1;
0883: }
0884:
0885: /**
0886: * @param additionalCheckNoteTextLine2 The additionalCheckNoteText to set.
0887: */
0888: public void setAdditionalCheckNoteTextLine2(
0889: String additionalCheckNoteTextLine2) {
0890: this .additionalCheckNoteTextLine2 = additionalCheckNoteTextLine2;
0891: }
0892:
0893: /**
0894: * @param additionalCheckNoteTextLine3 The additionalCheckNoteText to set.
0895: */
0896: public void setAdditionalCheckNoteTextLine3(
0897: String additionalCheckNoteTextLine3) {
0898: this .additionalCheckNoteTextLine3 = additionalCheckNoteTextLine3;
0899: }
0900:
0901: /**
0902: * @param additionalCheckNoteTextLine4 The additionalCheckNoteText to set.
0903: */
0904: public void setAdditionalCheckNoteTextLine4(
0905: String additionalCheckNoteTextLine4) {
0906: this .additionalCheckNoteTextLine4 = additionalCheckNoteTextLine4;
0907: }
0908:
0909: /**
0910: * @param address1 The address1 to set.
0911: */
0912: public void setAddress1(String address1) {
0913: this .address1 = address1;
0914: }
0915:
0916: /**
0917: * @param address2 The address2 to set.
0918: */
0919: public void setAddress2(String address2) {
0920: this .address2 = address2;
0921: }
0922:
0923: /**
0924: * @param address3 The address3 to set.
0925: */
0926: public void setAddress3(String address3) {
0927: this .address3 = address3;
0928: }
0929:
0930: /**
0931: * @param address4 The address4 to set.
0932: */
0933: public void setAddress4(String address4) {
0934: this .address4 = address4;
0935: }
0936:
0937: /**
0938: * @param adviceCreate The adviceCreate to set.
0939: */
0940: public void setAdviceCreate(Boolean adviceCreate) {
0941: this .adviceCreate = adviceCreate;
0942: }
0943:
0944: /**
0945: * @param adviceHeaderText The adviceHeaderText to set.
0946: */
0947: public void setAdviceHeaderText(String adviceHeaderText) {
0948: this .adviceHeaderText = adviceHeaderText;
0949: }
0950:
0951: /**
0952: * @param chartCode The chartCode to set.
0953: */
0954: public void setChartCode(String chartCode) {
0955: this .chartCode = chartCode;
0956: }
0957:
0958: /**
0959: * @param checkHeaderNoteTextLine1 The checkHeaderNoteText to set.
0960: */
0961: public void setCheckHeaderNoteTextLine1(
0962: String checkHeaderNoteTextLine1) {
0963: this .checkHeaderNoteTextLine1 = checkHeaderNoteTextLine1;
0964: }
0965:
0966: /**
0967: * @param checkHeaderNoteTextLine2 The checkHeaderNoteText to set.
0968: */
0969: public void setCheckHeaderNoteTextLine2(
0970: String checkHeaderNoteTextLine2) {
0971: this .checkHeaderNoteTextLine2 = checkHeaderNoteTextLine2;
0972: }
0973:
0974: /**
0975: * @param checkHeaderNoteTextLine3 The checkHeaderNoteText to set.
0976: */
0977: public void setCheckHeaderNoteTextLine3(
0978: String checkHeaderNoteTextLine3) {
0979: this .checkHeaderNoteTextLine3 = checkHeaderNoteTextLine3;
0980: }
0981:
0982: /**
0983: * @param checkHeaderNoteTextLine4 The checkHeaderNoteText to set.
0984: */
0985: public void setCheckHeaderNoteTextLine4(
0986: String checkHeaderNoteTextLine4) {
0987: this .checkHeaderNoteTextLine4 = checkHeaderNoteTextLine4;
0988: }
0989:
0990: /**
0991: * @param city The city to set.
0992: */
0993: public void setCity(String city) {
0994: this .city = city;
0995: }
0996:
0997: /**
0998: * @param contactFullName The contactFullName to set.
0999: */
1000: public void setContactFullName(String contactFullName) {
1001: this .contactFullName = contactFullName;
1002: }
1003:
1004: /**
1005: * @param countryName The countryName to set.
1006: */
1007: public void setCountryName(String countryName) {
1008: this .countryName = countryName;
1009: }
1010:
1011: /**
1012: * @param customerActive The customerActive to set.
1013: */
1014: public void setCustomerActive(Boolean customerActive) {
1015: this .customerActive = customerActive;
1016: }
1017:
1018: /**
1019: * @param customerDescription The customerDescription to set.
1020: */
1021: public void setCustomerDescription(String customerDescription) {
1022: this .customerDescription = customerDescription;
1023: }
1024:
1025: /**
1026: * @param defaultAccountNumber The defaultAccountNumber to set.
1027: */
1028: public void setDefaultAccountNumber(String defaultAccountNumber) {
1029: this .defaultAccountNumber = defaultAccountNumber;
1030: }
1031:
1032: /**
1033: * @param defaultChartCode The defaultChartCode to set.
1034: */
1035: public void setDefaultChartCode(String defaultChartCode) {
1036: this .defaultChartCode = defaultChartCode;
1037: }
1038:
1039: /**
1040: * @param defaultObjectCode The defaultObjectCode to set.
1041: */
1042: public void setDefaultObjectCode(String defaultObjectCode) {
1043: this .defaultObjectCode = defaultObjectCode;
1044: }
1045:
1046: /**
1047: * @param defaultPhysicalCampusProcessingCode The defaultPhysicalCampusProcessingCode to set.
1048: */
1049: public void setDefaultPhysicalCampusProcessingCode(
1050: String defaultPhysicalCampusProcessingCode) {
1051: this .defaultPhysicalCampusProcessingCode = defaultPhysicalCampusProcessingCode;
1052: }
1053:
1054: /**
1055: * @param defaultSubObjectCode The defaultSubObjectCode to set.
1056: */
1057: public void setDefaultSubObjectCode(String defaultSubObjectCode) {
1058: this .defaultSubObjectCode = defaultSubObjectCode;
1059: }
1060:
1061: /**
1062: * @param employeeCheck The employeeCheck to set.
1063: */
1064: public void setEmployeeCheck(Boolean employeeCheck) {
1065: this .employeeCheck = employeeCheck;
1066: }
1067:
1068: /**
1069: * @param fileThresholdAmount The fileThresholdAmount to set.
1070: */
1071: public void setFileThresholdAmount(String fileThresholdAmount) {
1072: this .fileThresholdAmount = fileThresholdAmount;
1073: }
1074:
1075: /**
1076: * @param fileThresholdEmailAddress The fileThresholdEmailAddress to set.
1077: */
1078: public void setFileThresholdEmailAddress(
1079: String fileThresholdEmailAddress) {
1080: this .fileThresholdEmailAddress = fileThresholdEmailAddress;
1081: }
1082:
1083: /**
1084: * @param id The id to set.
1085: */
1086: public void setId(String id) {
1087: this .id = id;
1088: }
1089:
1090: /**
1091: * @param lastUpdate The lastUpdate to set.
1092: */
1093: public void setLastUpdate(Timestamp lastUpdate) {
1094: this .lastUpdate = lastUpdate;
1095: }
1096:
1097: /**
1098: * @param lastUpdateUser The lastUpdateUser to set.
1099: */
1100: public void setLastUpdateUser(PdpUser lastUpdateUser) {
1101: this .lastUpdateUser = lastUpdateUser;
1102: }
1103:
1104: /**
1105: * @param lastUpdateUserId The lastUpdateUserId to set.
1106: */
1107: public void setLastUpdateUserId(String lastUpdateUserId) {
1108: this .lastUpdateUserId = lastUpdateUserId;
1109: }
1110:
1111: /**
1112: * @param nraReview The nraReview to set.
1113: */
1114: public void setNraReview(Boolean nraReview) {
1115: this .nraReview = nraReview;
1116: }
1117:
1118: /**
1119: * @param orgCode The orgCode to set.
1120: */
1121: public void setOrgCode(String orgCode) {
1122: this .orgCode = orgCode;
1123: }
1124:
1125: /**
1126: * @param ownershipCodeRequired The ownershipCodeRequired to set.
1127: */
1128: public void setOwnershipCodeRequired(Boolean ownershipCodeRequired) {
1129: this .ownershipCodeRequired = ownershipCodeRequired;
1130: }
1131:
1132: /**
1133: * @param payeeIdRequired The payeeIdRequired to set.
1134: */
1135: public void setPayeeIdRequired(Boolean payeeIdRequired) {
1136: this .payeeIdRequired = payeeIdRequired;
1137: }
1138:
1139: /**
1140: * @param paymentThresholdAmount The paymentThresholdAmount to set.
1141: */
1142: public void setPaymentThresholdAmount(String paymentThresholdAmount) {
1143: this .paymentThresholdAmount = paymentThresholdAmount;
1144: }
1145:
1146: /**
1147: * @param paymentThresholdEmailAddress The paymentThresholdEmailAddress to set.
1148: */
1149: public void setPaymentThresholdEmailAddress(
1150: String paymentThresholdEmailAddress) {
1151: this .paymentThresholdEmailAddress = paymentThresholdEmailAddress;
1152: }
1153:
1154: /**
1155: * @param processingEmailAddr The processingEmailAddr to set.
1156: */
1157: public void setProcessingEmailAddr(String processingEmailAddr) {
1158: this .processingEmailAddr = processingEmailAddr;
1159: }
1160:
1161: /**
1162: * @param psdTransactionCode The psdTransactionCode to set.
1163: */
1164: public void setPsdTransactionCode(String psdTransactionCode) {
1165: this .psdTransactionCode = psdTransactionCode;
1166: }
1167:
1168: /**
1169: * @param state The state to set.
1170: */
1171: public void setState(String state) {
1172: this .state = state;
1173: }
1174:
1175: /**
1176: * @param subUnitCode The subUnitCode to set.
1177: */
1178: public void setSubUnitCode(String subUnitCode) {
1179: this .subUnitCode = subUnitCode;
1180: }
1181:
1182: /**
1183: * @param version The version to set.
1184: */
1185: public void setVersion(String version) {
1186: this .version = version;
1187: }
1188:
1189: /**
1190: * @param zipCode The zipCode to set.
1191: */
1192: public void setZipCode(String zipCode) {
1193: this .zipCode = zipCode;
1194: }
1195:
1196: /**
1197: * @return Returns the accountingEditRequired.
1198: */
1199: public Boolean getAccountingEditRequired() {
1200: return accountingEditRequired;
1201: }
1202:
1203: /**
1204: * @param accountingEditRequired The accountingEditRequired to set.
1205: */
1206: public void setAccountingEditRequired(Boolean accountingEditRequired) {
1207: this .accountingEditRequired = accountingEditRequired;
1208: }
1209:
1210: /**
1211: * @return Returns the defaultSubAccountNumber.
1212: */
1213: public String getDefaultSubAccountNumber() {
1214: return defaultSubAccountNumber;
1215: }
1216:
1217: /**
1218: * @param defaultSubAccountNumber The defaultSubAccountNumber to set.
1219: */
1220: public void setDefaultSubAccountNumber(
1221: String defaultSubAccountNumber) {
1222: this .defaultSubAccountNumber = defaultSubAccountNumber;
1223: }
1224:
1225: /**
1226: * @return Returns the adviceReturnEmailAddr.
1227: */
1228: public String getAdviceReturnEmailAddr() {
1229: return adviceReturnEmailAddr;
1230: }
1231:
1232: /**
1233: * @return Returns the adviceSubjectLine.
1234: */
1235: public String getAdviceSubjectLine() {
1236: return adviceSubjectLine;
1237: }
1238:
1239: /**
1240: * @param adviceReturnEmailAddr The adviceReturnEmailAddr to set.
1241: */
1242: public void setAdviceReturnEmailAddr(String adviceReturnEmailAddr) {
1243: this .adviceReturnEmailAddr = adviceReturnEmailAddr;
1244: }
1245:
1246: /**
1247: * @param adviceSubjectLine The adviceSubjectLine to set.
1248: */
1249: public void setAdviceSubjectLine(String adviceSubjectLine) {
1250: this .adviceSubjectLine = adviceSubjectLine;
1251: }
1252:
1253: /**
1254: * @return Returns the relieveLiabilities.
1255: */
1256: public Boolean getRelieveLiabilities() {
1257: return relieveLiabilities;
1258: }
1259:
1260: /**
1261: * @param relieveLiabilities The relieveLiabilities to set.
1262: */
1263: public void setRelieveLiabilities(Boolean relieveLiabilities) {
1264: this.relieveLiabilities = relieveLiabilities;
1265: }
1266: }
|