0001: /*
0002: * Copyright 2005-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: package org.kuali.module.financial.bo;
0018:
0019: import java.math.BigDecimal;
0020: import java.sql.Date;
0021: import java.util.LinkedHashMap;
0022:
0023: import org.apache.commons.beanutils.converters.SqlDateConverter;
0024: import org.apache.commons.lang.StringUtils;
0025: import org.kuali.core.bo.PersistableBusinessObjectBase;
0026: import org.kuali.core.util.KualiDecimal;
0027: import org.kuali.kfs.KFSConstants;
0028:
0029: /**
0030: * This class is used to represent a procurement card transaction business object.
0031: */
0032: public class ProcurementCardTransaction extends
0033: PersistableBusinessObjectBase {
0034:
0035: private Integer transactionSequenceRowNumber;
0036: private String transactionCreditCardNumber;
0037: private KualiDecimal financialDocumentTotalAmount;
0038: private String transactionDebitCreditCode;
0039: private String chartOfAccountsCode;
0040: private String accountNumber;
0041: private String subAccountNumber;
0042: private String financialObjectCode;
0043: private String financialSubObjectCode;
0044: private String projectCode;
0045: private Date transactionCycleStartDate;
0046: private Date transactionCycleEndDate;
0047: private String cardHolderName;
0048: private Date transactionDate;
0049: private String transactionReferenceNumber;
0050: private String transactionMerchantCategoryCode;
0051: private Date transactionPostingDate;
0052: private String transactionOriginalCurrencyCode;
0053: private String transactionBillingCurrencyCode;
0054: private KualiDecimal transactionOriginalCurrencyAmount;
0055: private BigDecimal transactionCurrencyExchangeRate;
0056: private KualiDecimal transactionSettlementAmount;
0057: private KualiDecimal transactionSalesTaxAmount;
0058: private boolean transactionTaxExemptIndicator;
0059: private boolean transactionPurchaseIdentifierIndicator;
0060: private String transactionPurchaseIdentifierDescription;
0061: private String transactionUnitContactName;
0062: private String transactionTravelAuthorizationCode;
0063: private String transactionPointOfSaleCode;
0064: private String vendorName;
0065: private String vendorLine1Address;
0066: private String vendorLine2Address;
0067: private String vendorCityName;
0068: private String vendorStateCode;
0069: private String vendorZipCode;
0070: private String vendorOrderNumber;
0071: private String visaVendorIdentifier;
0072: private String cardHolderAlternateName;
0073: private String cardHolderLine1Address;
0074: private String cardHolderLine2Address;
0075: private String cardHolderCityName;
0076: private String cardHolderStateCode;
0077: private String cardHolderZipCode;
0078: private String cardHolderWorkPhoneNumber;
0079: private KualiDecimal cardLimit;
0080: private KualiDecimal cardCycleAmountLimit;
0081: private KualiDecimal cardCycleVolumeLimit;
0082: private String cardStatusCode;
0083: private String cardNoteText;
0084:
0085: /**
0086: * Default constructor.
0087: */
0088: public ProcurementCardTransaction() {
0089:
0090: }
0091:
0092: /**
0093: * Gets the transactionSequenceRowNumber attribute.
0094: *
0095: * @return Returns the transactionSequenceRowNumber
0096: */
0097: public Integer getTransactionSequenceRowNumber() {
0098: return transactionSequenceRowNumber;
0099: }
0100:
0101: /**
0102: * Sets the transactionSequenceRowNumber attribute.
0103: *
0104: * @param transactionSequenceRowNumber The transactionSequenceRowNumber to set.
0105: */
0106: public void setTransactionSequenceRowNumber(
0107: Integer transactionSequenceRowNumber) {
0108: this .transactionSequenceRowNumber = transactionSequenceRowNumber;
0109: }
0110:
0111: /**
0112: * Gets the transactionCreditCardNumber attribute.
0113: *
0114: * @return Returns the transactionCreditCardNumber
0115: */
0116: public String getTransactionCreditCardNumber() {
0117: return transactionCreditCardNumber;
0118: }
0119:
0120: /**
0121: * Sets the transactionCreditCardNumber attribute.
0122: *
0123: * @param transactionCreditCardNumber The transactionCreditCardNumber to set.
0124: */
0125: public void setTransactionCreditCardNumber(
0126: String transactionCreditCardNumber) {
0127: this .transactionCreditCardNumber = transactionCreditCardNumber;
0128: }
0129:
0130: /**
0131: * Gets the financialDocumentTotalAmount attribute.
0132: *
0133: * @return Returns the financialDocumentTotalAmount
0134: */
0135: public KualiDecimal getFinancialDocumentTotalAmount() {
0136: return financialDocumentTotalAmount;
0137: }
0138:
0139: /**
0140: * Sets the financialDocumentTotalAmount attribute.
0141: *
0142: * @param financialDocumentTotalAmount The financialDocumentTotalAmount to set.
0143: */
0144: public void setFinancialDocumentTotalAmount(
0145: KualiDecimal financialDocumentTotalAmount) {
0146: this .financialDocumentTotalAmount = financialDocumentTotalAmount;
0147: }
0148:
0149: /**
0150: * Sets the financialDocumentTotalAmount attribute.
0151: *
0152: * @param financialDocumentTotalAmount The financialDocumentTotalAmount to set.
0153: */
0154: public void setFinancialDocumentTotalAmount(
0155: String financialDocumentTotalAmount) {
0156: if (StringUtils.isNotBlank(financialDocumentTotalAmount)) {
0157: this .financialDocumentTotalAmount = new KualiDecimal(
0158: financialDocumentTotalAmount);
0159: } else {
0160: this .financialDocumentTotalAmount = new KualiDecimal(0);
0161: }
0162: }
0163:
0164: /**
0165: * Gets the transactionDebitCreditCode attribute.
0166: *
0167: * @return Returns the transactionDebitCreditCode
0168: */
0169: public String getTransactionDebitCreditCode() {
0170: return transactionDebitCreditCode;
0171: }
0172:
0173: /**
0174: * Sets the transactionDebitCreditCode attribute.
0175: *
0176: * @param transactionDebitCreditCode The transactionDebitCreditCode to set.
0177: */
0178: public void setTransactionDebitCreditCode(
0179: String transactionDebitCreditCode) {
0180: this .transactionDebitCreditCode = transactionDebitCreditCode;
0181: }
0182:
0183: /**
0184: * Gets the chartOfAccountsCode attribute.
0185: *
0186: * @return Returns the chartOfAccountsCode
0187: */
0188: public String getChartOfAccountsCode() {
0189: return chartOfAccountsCode;
0190: }
0191:
0192: /**
0193: * Sets the chartOfAccountsCode attribute.
0194: *
0195: * @param chartOfAccountsCode The chartOfAccountsCode to set.
0196: */
0197: public void setChartOfAccountsCode(String chartOfAccountsCode) {
0198: this .chartOfAccountsCode = chartOfAccountsCode;
0199: }
0200:
0201: /**
0202: * Gets the accountNumber attribute.
0203: *
0204: * @return Returns the accountNumber
0205: */
0206: public String getAccountNumber() {
0207: return accountNumber;
0208: }
0209:
0210: /**
0211: * Sets the accountNumber attribute.
0212: *
0213: * @param accountNumber The accountNumber to set.
0214: */
0215: public void setAccountNumber(String accountNumber) {
0216: this .accountNumber = accountNumber;
0217: }
0218:
0219: /**
0220: * Gets the subAccountNumber attribute.
0221: *
0222: * @return Returns the subAccountNumber
0223: */
0224: public String getSubAccountNumber() {
0225: return subAccountNumber;
0226: }
0227:
0228: /**
0229: * Sets the subAccountNumber attribute.
0230: *
0231: * @param subAccountNumber The subAccountNumber to set.
0232: */
0233: public void setSubAccountNumber(String subAccountNumber) {
0234: this .subAccountNumber = subAccountNumber;
0235: }
0236:
0237: /**
0238: * Gets the financialObjectCode attribute.
0239: *
0240: * @return Returns the financialObjectCode
0241: */
0242: public String getFinancialObjectCode() {
0243: return financialObjectCode;
0244: }
0245:
0246: /**
0247: * Sets the financialObjectCode attribute.
0248: *
0249: * @param financialObjectCode The financialObjectCode to set.
0250: */
0251: public void setFinancialObjectCode(String financialObjectCode) {
0252: this .financialObjectCode = financialObjectCode;
0253: }
0254:
0255: /**
0256: * Gets the financialSubObjectCode attribute.
0257: *
0258: * @return Returns the financialSubObjectCode
0259: */
0260: public String getFinancialSubObjectCode() {
0261: return financialSubObjectCode;
0262: }
0263:
0264: /**
0265: * Sets the financialSubObjectCode attribute.
0266: *
0267: * @param financialSubObjectCode The financialSubObjectCode to set.
0268: */
0269: public void setFinancialSubObjectCode(String financialSubObjectCode) {
0270: this .financialSubObjectCode = financialSubObjectCode;
0271: }
0272:
0273: /**
0274: * Gets the projectCode attribute.
0275: *
0276: * @return Returns the projectCode
0277: */
0278: public String getProjectCode() {
0279: return projectCode;
0280: }
0281:
0282: /**
0283: * Sets the projectCode attribute.
0284: *
0285: * @param projectCode The projectCode to set.
0286: */
0287: public void setProjectCode(String projectCode) {
0288: this .projectCode = projectCode;
0289: }
0290:
0291: /**
0292: * Gets the transactionCycleStartDate attribute.
0293: *
0294: * @return Returns the transactionCycleStartDate
0295: */
0296: public Date getTransactionCycleStartDate() {
0297: return transactionCycleStartDate;
0298: }
0299:
0300: /**
0301: * Sets the transactionCycleStartDate attribute.
0302: *
0303: * @param transactionCycleStartDate The transactionCycleStartDate to set.
0304: */
0305: public void setTransactionCycleStartDate(
0306: Date transactionCycleStartDate) {
0307: this .transactionCycleStartDate = transactionCycleStartDate;
0308: }
0309:
0310: /**
0311: * Sets the transactionCycleStartDate attribute.
0312: *
0313: * @param transactionCycleStartDate The transactionCycleStartDate to set.
0314: */
0315: public void setTransactionCycleStartDate(
0316: String transactionCycleStartDate) {
0317: if (StringUtils.isNotBlank(transactionCycleStartDate)) {
0318: this .transactionCycleStartDate = (Date) (new SqlDateConverter())
0319: .convert(Date.class, transactionCycleStartDate);
0320: }
0321: }
0322:
0323: /**
0324: * Gets the transactionCycleEndDate attribute.
0325: *
0326: * @return Returns the transactionCycleEndDate
0327: */
0328: public Date getTransactionCycleEndDate() {
0329: return transactionCycleEndDate;
0330: }
0331:
0332: /**
0333: * Sets the transactionCycleEndDate attribute.
0334: *
0335: * @param transactionCycleEndDate The transactionCycleEndDate to set.
0336: */
0337: public void setTransactionCycleEndDate(Date transactionCycleEndDate) {
0338: this .transactionCycleEndDate = transactionCycleEndDate;
0339: }
0340:
0341: /**
0342: * Sets the transactionCycleEndDate attribute.
0343: *
0344: * @param transactionCycleEndDate The transactionCycleEndDate to set.
0345: */
0346: public void setTransactionCycleEndDate(
0347: String transactionCycleEndDate) {
0348: if (StringUtils.isNotBlank(transactionCycleEndDate)) {
0349: this .transactionCycleEndDate = (Date) (new SqlDateConverter())
0350: .convert(Date.class, transactionCycleEndDate);
0351: }
0352: }
0353:
0354: /**
0355: * Gets the cardHolderName attribute.
0356: *
0357: * @return Returns the cardHolderName
0358: */
0359: public String getCardHolderName() {
0360: return cardHolderName;
0361: }
0362:
0363: /**
0364: * Sets the cardHolderName attribute.
0365: *
0366: * @param cardHolderName The cardHolderName to set.
0367: */
0368: public void setCardHolderName(String cardHolderName) {
0369: this .cardHolderName = cardHolderName;
0370: }
0371:
0372: /**
0373: * Gets the transactionDate attribute.
0374: *
0375: * @return Returns the transactionDate
0376: */
0377: public Date getTransactionDate() {
0378: return transactionDate;
0379: }
0380:
0381: /**
0382: * Sets the transactionDate attribute.
0383: *
0384: * @param transactionDate The transactionDate to set.
0385: */
0386: public void setTransactionDate(Date transactionDate) {
0387: this .transactionDate = transactionDate;
0388: }
0389:
0390: /**
0391: * Gets the transactionReferenceNumber attribute.
0392: *
0393: * @return Returns the transactionReferenceNumber
0394: */
0395: public String getTransactionReferenceNumber() {
0396: return transactionReferenceNumber;
0397: }
0398:
0399: /**
0400: * Sets the transactionReferenceNumber attribute.
0401: *
0402: * @param transactionReferenceNumber The transactionReferenceNumber to set.
0403: */
0404: public void setTransactionReferenceNumber(
0405: String transactionReferenceNumber) {
0406: this .transactionReferenceNumber = transactionReferenceNumber;
0407: }
0408:
0409: /**
0410: * Gets the transactionMerchantCategoryCode attribute.
0411: *
0412: * @return Returns the transactionMerchantCategoryCode
0413: */
0414: public String getTransactionMerchantCategoryCode() {
0415: return transactionMerchantCategoryCode;
0416: }
0417:
0418: /**
0419: * Sets the transactionMerchantCategoryCode attribute.
0420: *
0421: * @param transactionMerchantCategoryCode The transactionMerchantCategoryCode to set.
0422: */
0423: public void setTransactionMerchantCategoryCode(
0424: String transactionMerchantCategoryCode) {
0425: this .transactionMerchantCategoryCode = transactionMerchantCategoryCode;
0426: }
0427:
0428: /**
0429: * Gets the transactionPostingDate attribute.
0430: *
0431: * @return Returns the transactionPostingDate
0432: */
0433: public Date getTransactionPostingDate() {
0434: return transactionPostingDate;
0435: }
0436:
0437: /**
0438: * Sets the transactionPostingDate attribute.
0439: *
0440: * @param transactionPostingDate The transactionPostingDate to set.
0441: */
0442: public void setTransactionPostingDate(Date transactionPostingDate) {
0443: this .transactionPostingDate = transactionPostingDate;
0444: }
0445:
0446: /**
0447: * Gets the transactionOriginalCurrencyCode attribute.
0448: *
0449: * @return Returns the transactionOriginalCurrencyCode
0450: */
0451: public String getTransactionOriginalCurrencyCode() {
0452: return transactionOriginalCurrencyCode;
0453: }
0454:
0455: /**
0456: * Sets the transactionOriginalCurrencyCode attribute.
0457: *
0458: * @param transactionOriginalCurrencyCode The transactionOriginalCurrencyCode to set.
0459: */
0460: public void setTransactionOriginalCurrencyCode(
0461: String transactionOriginalCurrencyCode) {
0462: this .transactionOriginalCurrencyCode = transactionOriginalCurrencyCode;
0463: }
0464:
0465: /**
0466: * Gets the transactionBillingCurrencyCode attribute.
0467: *
0468: * @return Returns the transactionBillingCurrencyCode
0469: */
0470: public String getTransactionBillingCurrencyCode() {
0471: return transactionBillingCurrencyCode;
0472: }
0473:
0474: /**
0475: * Sets the transactionBillingCurrencyCode attribute.
0476: *
0477: * @param transactionBillingCurrencyCode The transactionBillingCurrencyCode to set.
0478: */
0479: public void setTransactionBillingCurrencyCode(
0480: String transactionBillingCurrencyCode) {
0481: this .transactionBillingCurrencyCode = transactionBillingCurrencyCode;
0482: }
0483:
0484: /**
0485: * Gets the transactionOriginalCurrencyAmount attribute.
0486: *
0487: * @return Returns the transactionOriginalCurrencyAmount
0488: */
0489: public KualiDecimal getTransactionOriginalCurrencyAmount() {
0490: return transactionOriginalCurrencyAmount;
0491: }
0492:
0493: /**
0494: * Sets the transactionOriginalCurrencyAmount attribute.
0495: *
0496: * @param transactionOriginalCurrencyAmount The transactionOriginalCurrencyAmount to set.
0497: */
0498: public void setTransactionOriginalCurrencyAmount(
0499: KualiDecimal transactionOriginalCurrencyAmount) {
0500: this .transactionOriginalCurrencyAmount = transactionOriginalCurrencyAmount;
0501: }
0502:
0503: /**
0504: * Sets the transactionOriginalCurrencyAmount attribute.
0505: *
0506: * @param transactionOriginalCurrencyAmount The transactionOriginalCurrencyAmount to set.
0507: */
0508: public void setTransactionOriginalCurrencyAmount(
0509: String transactionOriginalCurrencyAmount) {
0510: if (StringUtils.isNotBlank(transactionOriginalCurrencyAmount)) {
0511: this .transactionOriginalCurrencyAmount = new KualiDecimal(
0512: transactionOriginalCurrencyAmount);
0513: } else {
0514: this .transactionOriginalCurrencyAmount = new KualiDecimal(0);
0515: }
0516: }
0517:
0518: /**
0519: * Gets the transactionCurrencyExchangeRate attribute.
0520: *
0521: * @return Returns the transactionCurrencyExchangeRate
0522: */
0523: public BigDecimal getTransactionCurrencyExchangeRate() {
0524: return transactionCurrencyExchangeRate;
0525: }
0526:
0527: /**
0528: * Sets the transactionCurrencyExchangeRate attribute.
0529: *
0530: * @param transactionCurrencyExchangeRate The transactionCurrencyExchangeRate to set.
0531: */
0532: public void setTransactionCurrencyExchangeRate(
0533: BigDecimal transactionCurrencyExchangeRate) {
0534: this .transactionCurrencyExchangeRate = transactionCurrencyExchangeRate;
0535: }
0536:
0537: /**
0538: * Sets the transactionCurrencyExchangeRate attribute.
0539: *
0540: * @param transactionCurrencyExchangeRate The transactionCurrencyExchangeRate to set.
0541: */
0542: public void setTransactionCurrencyExchangeRate(
0543: String transactionCurrencyExchangeRate) {
0544: if (StringUtils.isNotBlank(transactionCurrencyExchangeRate)) {
0545: this .transactionCurrencyExchangeRate = new BigDecimal(
0546: transactionCurrencyExchangeRate);
0547: } else {
0548: this .transactionCurrencyExchangeRate = new BigDecimal(0);
0549: }
0550: }
0551:
0552: /**
0553: * Gets the transactionSettlementAmount attribute.
0554: *
0555: * @return Returns the transactionSettlementAmount
0556: */
0557: public KualiDecimal getTransactionSettlementAmount() {
0558: return transactionSettlementAmount;
0559: }
0560:
0561: /**
0562: * Sets the transactionSettlementAmount attribute.
0563: *
0564: * @param transactionSettlementAmount The transactionSettlementAmount to set.
0565: */
0566: public void setTransactionSettlementAmount(
0567: KualiDecimal transactionSettlementAmount) {
0568: this .transactionSettlementAmount = transactionSettlementAmount;
0569: }
0570:
0571: /**
0572: * Sets the transactionSettlementAmount attribute.
0573: *
0574: * @param transactionSettlementAmount The transactionSettlementAmount to set.
0575: */
0576: public void setTransactionSettlementAmount(
0577: String transactionSettlementAmount) {
0578: if (StringUtils.isNotBlank(transactionSettlementAmount)) {
0579: this .transactionSettlementAmount = new KualiDecimal(
0580: transactionSettlementAmount);
0581: } else {
0582: this .transactionSettlementAmount = new KualiDecimal(0);
0583: }
0584: }
0585:
0586: /**
0587: * Gets the transactionSalesTaxAmount attribute.
0588: *
0589: * @return Returns the transactionSalesTaxAmount
0590: */
0591: public KualiDecimal getTransactionSalesTaxAmount() {
0592: return transactionSalesTaxAmount;
0593: }
0594:
0595: /**
0596: * Sets the transactionSalesTaxAmount attribute.
0597: *
0598: * @param transactionSalesTaxAmount The transactionSalesTaxAmount to set.
0599: */
0600: public void setTransactionSalesTaxAmount(
0601: KualiDecimal transactionSalesTaxAmount) {
0602: this .transactionSalesTaxAmount = transactionSalesTaxAmount;
0603: }
0604:
0605: /**
0606: * Sets the transactionSalesTaxAmount attribute.
0607: *
0608: * @param transactionSalesTaxAmount The transactionSalesTaxAmount to set.
0609: */
0610: public void setTransactionSalesTaxAmount(
0611: String transactionSalesTaxAmount) {
0612: if (StringUtils.isNotBlank(transactionSalesTaxAmount)) {
0613: this .transactionSalesTaxAmount = new KualiDecimal(
0614: transactionSalesTaxAmount);
0615: } else {
0616: this .transactionSalesTaxAmount = new KualiDecimal(0);
0617: }
0618: }
0619:
0620: /**
0621: * Gets the transactionTaxExemptIndicator attribute.
0622: *
0623: * @return Returns the transactionTaxExemptIndicator
0624: */
0625: public boolean getTransactionTaxExemptIndicator() {
0626: return transactionTaxExemptIndicator;
0627: }
0628:
0629: /**
0630: * Sets the transactionTaxExemptIndicator attribute.
0631: *
0632: * @param transactionTaxExemptIndicator The transactionTaxExemptIndicator to set.
0633: */
0634: public void setTransactionTaxExemptIndicator(
0635: boolean transactionTaxExemptIndicator) {
0636: this .transactionTaxExemptIndicator = transactionTaxExemptIndicator;
0637: }
0638:
0639: /**
0640: * Sets the transactionTaxExemptIndicator attribute.
0641: *
0642: * @param transactionTaxExemptIndicator The transactionTaxExemptIndicator to set.
0643: */
0644: public void setTransactionTaxExemptIndicator(
0645: String transactionTaxExemptIndicator) {
0646: if (KFSConstants.ACTIVE_INDICATOR
0647: .equals(transactionTaxExemptIndicator)) {
0648: this .transactionTaxExemptIndicator = true;
0649: } else {
0650: this .transactionTaxExemptIndicator = false;
0651: }
0652: }
0653:
0654: /**
0655: * Gets the transactionPurchaseIdentifierIndicator attribute.
0656: *
0657: * @return Returns the transactionPurchaseIdentifierIndicator
0658: */
0659: public boolean getTransactionPurchaseIdentifierIndicator() {
0660: return transactionPurchaseIdentifierIndicator;
0661: }
0662:
0663: /**
0664: * Sets the transactionPurchaseIdentifierIndicator attribute.
0665: *
0666: * @param transactionPurchaseIdentifierIndicator The transactionPurchaseIdentifierIndicator to set.
0667: */
0668: public void setTransactionPurchaseIdentifierIndicator(
0669: boolean transactionPurchaseIdentifierIndicator) {
0670: this .transactionPurchaseIdentifierIndicator = transactionPurchaseIdentifierIndicator;
0671: }
0672:
0673: /**
0674: * Sets the transactionPurchaseIdentifierIndicator attribute.
0675: *
0676: * @param transactionPurchaseIdentifierIndicator The transactionPurchaseIdentifierIndicator to set.
0677: */
0678: public void setTransactionPurchaseIdentifierIndicator(
0679: String transactionPurchaseIdentifierIndicator) {
0680: if (KFSConstants.ACTIVE_INDICATOR
0681: .equals(transactionPurchaseIdentifierIndicator)) {
0682: this .transactionPurchaseIdentifierIndicator = true;
0683: } else {
0684: this .transactionPurchaseIdentifierIndicator = false;
0685: }
0686: }
0687:
0688: /**
0689: * Gets the transactionPurchaseIdentifierDescription attribute.
0690: *
0691: * @return Returns the transactionPurchaseIdentifierDescription
0692: */
0693: public String getTransactionPurchaseIdentifierDescription() {
0694: return transactionPurchaseIdentifierDescription;
0695: }
0696:
0697: /**
0698: * Sets the transactionPurchaseIdentifierDescription attribute.
0699: *
0700: * @param transactionPurchaseIdentifierDescription The transactionPurchaseIdentifierDescription to set.
0701: */
0702: public void setTransactionPurchaseIdentifierDescription(
0703: String transactionPurchaseIdentifierDescription) {
0704: this .transactionPurchaseIdentifierDescription = transactionPurchaseIdentifierDescription;
0705: }
0706:
0707: /**
0708: * Gets the transactionUnitContactName attribute.
0709: *
0710: * @return Returns the transactionUnitContactName
0711: */
0712: public String getTransactionUnitContactName() {
0713: return transactionUnitContactName;
0714: }
0715:
0716: /**
0717: * Sets the transactionUnitContactName attribute.
0718: *
0719: * @param transactionUnitContactName The transactionUnitContactName to set.
0720: */
0721: public void setTransactionUnitContactName(
0722: String transactionUnitContactName) {
0723: this .transactionUnitContactName = transactionUnitContactName;
0724: }
0725:
0726: /**
0727: * Gets the transactionTravelAuthorizationCode attribute.
0728: *
0729: * @return Returns the transactionTravelAuthorizationCode
0730: */
0731: public String getTransactionTravelAuthorizationCode() {
0732: return transactionTravelAuthorizationCode;
0733: }
0734:
0735: /**
0736: * Sets the transactionTravelAuthorizationCode attribute.
0737: *
0738: * @param transactionTravelAuthorizationCode The transactionTravelAuthorizationCode to set.
0739: */
0740: public void setTransactionTravelAuthorizationCode(
0741: String transactionTravelAuthorizationCode) {
0742: this .transactionTravelAuthorizationCode = transactionTravelAuthorizationCode;
0743: }
0744:
0745: /**
0746: * Gets the transactionPointOfSaleCode attribute.
0747: *
0748: * @return Returns the transactionPointOfSaleCode
0749: */
0750: public String getTransactionPointOfSaleCode() {
0751: return transactionPointOfSaleCode;
0752: }
0753:
0754: /**
0755: * Sets the transactionPointOfSaleCode attribute.
0756: *
0757: * @param transactionPointOfSaleCode The transactionPointOfSaleCode to set.
0758: */
0759: public void setTransactionPointOfSaleCode(
0760: String transactionPointOfSaleCode) {
0761: this .transactionPointOfSaleCode = transactionPointOfSaleCode;
0762: }
0763:
0764: /**
0765: * Gets the vendorName attribute.
0766: *
0767: * @return Returns the vendorName
0768: */
0769: public String getVendorName() {
0770: return vendorName;
0771: }
0772:
0773: /**
0774: * Sets the vendorName attribute.
0775: *
0776: * @param vendorName The vendorName to set.
0777: */
0778: public void setVendorName(String vendorName) {
0779: this .vendorName = vendorName;
0780: }
0781:
0782: /**
0783: * Gets the vendorLine1Address attribute.
0784: *
0785: * @return Returns the vendorLine1Address
0786: */
0787: public String getVendorLine1Address() {
0788: return vendorLine1Address;
0789: }
0790:
0791: /**
0792: * Sets the vendorLine1Address attribute.
0793: *
0794: * @param vendorLine1Address The vendorLine1Address to set.
0795: */
0796: public void setVendorLine1Address(String vendorLine1Address) {
0797: this .vendorLine1Address = vendorLine1Address;
0798: }
0799:
0800: /**
0801: * Gets the vendorLine2Address attribute.
0802: *
0803: * @return Returns the vendorLine2Address
0804: */
0805: public String getVendorLine2Address() {
0806: return vendorLine2Address;
0807: }
0808:
0809: /**
0810: * Sets the vendorLine2Address attribute.
0811: *
0812: * @param vendorLine2Address The vendorLine2Address to set.
0813: */
0814: public void setVendorLine2Address(String vendorLine2Address) {
0815: this .vendorLine2Address = vendorLine2Address;
0816: }
0817:
0818: /**
0819: * Gets the vendorCityName attribute.
0820: *
0821: * @return Returns the vendorCityName
0822: */
0823: public String getVendorCityName() {
0824: return vendorCityName;
0825: }
0826:
0827: /**
0828: * Sets the vendorCityName attribute.
0829: *
0830: * @param vendorCityName The vendorCityName to set.
0831: */
0832: public void setVendorCityName(String vendorCityName) {
0833: this .vendorCityName = vendorCityName;
0834: }
0835:
0836: /**
0837: * Gets the vendorStateCode attribute.
0838: *
0839: * @return Returns the vendorStateCode
0840: */
0841: public String getVendorStateCode() {
0842: return vendorStateCode;
0843: }
0844:
0845: /**
0846: * Sets the vendorStateCode attribute.
0847: *
0848: * @param vendorStateCode The vendorStateCode to set.
0849: */
0850: public void setVendorStateCode(String vendorStateCode) {
0851: this .vendorStateCode = vendorStateCode;
0852: }
0853:
0854: /**
0855: * Gets the vendorZipCode attribute.
0856: *
0857: * @return Returns the vendorZipCode
0858: */
0859: public String getVendorZipCode() {
0860: return vendorZipCode;
0861: }
0862:
0863: /**
0864: * Sets the vendorZipCode attribute.
0865: *
0866: * @param vendorZipCode The vendorZipCode to set.
0867: */
0868: public void setVendorZipCode(String vendorZipCode) {
0869: this .vendorZipCode = vendorZipCode;
0870: }
0871:
0872: /**
0873: * Gets the vendorOrderNumber attribute.
0874: *
0875: * @return Returns the vendorOrderNumber
0876: */
0877: public String getVendorOrderNumber() {
0878: return vendorOrderNumber;
0879: }
0880:
0881: /**
0882: * Sets the vendorOrderNumber attribute.
0883: *
0884: * @param vendorOrderNumber The vendorOrderNumber to set.
0885: */
0886: public void setVendorOrderNumber(String vendorOrderNumber) {
0887: this .vendorOrderNumber = vendorOrderNumber;
0888: }
0889:
0890: /**
0891: * Gets the visaVendorIdentifier attribute.
0892: *
0893: * @return Returns the visaVendorIdentifier
0894: */
0895: public String getVisaVendorIdentifier() {
0896: return visaVendorIdentifier;
0897: }
0898:
0899: /**
0900: * Sets the visaVendorIdentifier attribute.
0901: *
0902: * @param visaVendorIdentifier The visaVendorIdentifier to set.
0903: */
0904: public void setVisaVendorIdentifier(String visaVendorIdentifier) {
0905: this .visaVendorIdentifier = visaVendorIdentifier;
0906: }
0907:
0908: /**
0909: * Gets the cardHolderAlternateName attribute.
0910: *
0911: * @return Returns the cardHolderAlternateName
0912: */
0913: public String getCardHolderAlternateName() {
0914: return cardHolderAlternateName;
0915: }
0916:
0917: /**
0918: * Sets the cardHolderAlternateName attribute.
0919: *
0920: * @param cardHolderAlternateName The cardHolderAlternateName to set.
0921: */
0922: public void setCardHolderAlternateName(
0923: String cardHolderAlternateName) {
0924: this .cardHolderAlternateName = cardHolderAlternateName;
0925: }
0926:
0927: /**
0928: * Gets the cardHolderLine1Address attribute.
0929: *
0930: * @return Returns the cardHolderLine1Address
0931: */
0932: public String getCardHolderLine1Address() {
0933: return cardHolderLine1Address;
0934: }
0935:
0936: /**
0937: * Sets the cardHolderLine1Address attribute.
0938: *
0939: * @param cardHolderLine1Address The cardHolderLine1Address to set.
0940: */
0941: public void setCardHolderLine1Address(String cardHolderLine1Address) {
0942: this .cardHolderLine1Address = cardHolderLine1Address;
0943: }
0944:
0945: /**
0946: * Gets the cardHolderLine2Address attribute.
0947: *
0948: * @return Returns the cardHolderLine2Address
0949: */
0950: public String getCardHolderLine2Address() {
0951: return cardHolderLine2Address;
0952: }
0953:
0954: /**
0955: * Sets the cardHolderLine2Address attribute.
0956: *
0957: * @param cardHolderLine2Address The cardHolderLine2Address to set.
0958: */
0959: public void setCardHolderLine2Address(String cardHolderLine2Address) {
0960: this .cardHolderLine2Address = cardHolderLine2Address;
0961: }
0962:
0963: /**
0964: * Gets the cardHolderCityName attribute.
0965: *
0966: * @return Returns the cardHolderCityName
0967: */
0968: public String getCardHolderCityName() {
0969: return cardHolderCityName;
0970: }
0971:
0972: /**
0973: * Sets the cardHolderCityName attribute.
0974: *
0975: * @param cardHolderCityName The cardHolderCityName to set.
0976: */
0977: public void setCardHolderCityName(String cardHolderCityName) {
0978: this .cardHolderCityName = cardHolderCityName;
0979: }
0980:
0981: /**
0982: * Gets the cardHolderStateCode attribute.
0983: *
0984: * @return Returns the cardHolderStateCode
0985: */
0986: public String getCardHolderStateCode() {
0987: return cardHolderStateCode;
0988: }
0989:
0990: /**
0991: * Sets the cardHolderStateCode attribute.
0992: *
0993: * @param cardHolderStateCode The cardHolderStateCode to set.
0994: */
0995: public void setCardHolderStateCode(String cardHolderStateCode) {
0996: this .cardHolderStateCode = cardHolderStateCode;
0997: }
0998:
0999: /**
1000: * Gets the cardHolderZipCode attribute.
1001: *
1002: * @return Returns the cardHolderZipCode
1003: */
1004: public String getCardHolderZipCode() {
1005: return cardHolderZipCode;
1006: }
1007:
1008: /**
1009: * Sets the cardHolderZipCode attribute.
1010: *
1011: * @param cardHolderZipCode The cardHolderZipCode to set.
1012: */
1013: public void setCardHolderZipCode(String cardHolderZipCode) {
1014: this .cardHolderZipCode = cardHolderZipCode;
1015: }
1016:
1017: /**
1018: * Gets the cardHolderWorkPhoneNumber attribute.
1019: *
1020: * @return Returns the cardHolderWorkPhoneNumber
1021: */
1022: public String getCardHolderWorkPhoneNumber() {
1023: return cardHolderWorkPhoneNumber;
1024: }
1025:
1026: /**
1027: * Sets the cardHolderWorkPhoneNumber attribute.
1028: *
1029: * @param cardHolderWorkPhoneNumber The cardHolderWorkPhoneNumber to set.
1030: */
1031: public void setCardHolderWorkPhoneNumber(
1032: String cardHolderWorkPhoneNumber) {
1033: this .cardHolderWorkPhoneNumber = cardHolderWorkPhoneNumber;
1034: }
1035:
1036: /**
1037: * Gets the cardLimit attribute.
1038: *
1039: * @return Returns the cardLimit
1040: */
1041: public KualiDecimal getCardLimit() {
1042: return cardLimit;
1043: }
1044:
1045: /**
1046: * Sets the cardLimit attribute.
1047: *
1048: * @param cardLimit The cardLimit to set.
1049: */
1050: public void setCardLimit(KualiDecimal cardLimit) {
1051: this .cardLimit = cardLimit;
1052: }
1053:
1054: /**
1055: * Sets the cardLimit attribute.
1056: *
1057: * @param cardLimit The cardLimit to set.
1058: */
1059: public void setCardLimit(String cardLimit) {
1060: if (StringUtils.isNotBlank(cardLimit)) {
1061: this .cardLimit = new KualiDecimal(cardLimit);
1062: } else {
1063: this .cardLimit = new KualiDecimal(0);
1064: }
1065: }
1066:
1067: /**
1068: * Gets the cardCycleAmountLimit attribute.
1069: *
1070: * @return Returns the cardCycleAmountLimit
1071: */
1072: public KualiDecimal getCardCycleAmountLimit() {
1073: return cardCycleAmountLimit;
1074: }
1075:
1076: /**
1077: * Sets the cardCycleAmountLimit attribute.
1078: *
1079: * @param cardCycleAmountLimit The cardCycleAmountLimit to set.
1080: */
1081: public void setCardCycleAmountLimit(
1082: KualiDecimal cardCycleAmountLimit) {
1083: this .cardCycleAmountLimit = cardCycleAmountLimit;
1084: }
1085:
1086: /**
1087: * Sets the cardCycleAmountLimit attribute.
1088: *
1089: * @param cardCycleAmountLimit The cardCycleAmountLimit to set.
1090: */
1091: public void setCardCycleAmountLimit(String cardCycleAmountLimit) {
1092: if (StringUtils.isNotBlank(cardCycleAmountLimit)) {
1093: this .cardCycleAmountLimit = new KualiDecimal(
1094: cardCycleAmountLimit);
1095: } else {
1096: this .cardCycleAmountLimit = new KualiDecimal(0);
1097: }
1098: }
1099:
1100: /**
1101: * Gets the cardCycleVolumeLimit attribute.
1102: *
1103: * @return Returns the cardCycleVolumeLimit
1104: */
1105: public KualiDecimal getCardCycleVolumeLimit() {
1106: return cardCycleVolumeLimit;
1107: }
1108:
1109: /**
1110: * Sets the cardCycleVolumeLimit attribute.
1111: *
1112: * @param cardCycleVolumeLimit The cardCycleVolumeLimit to set.
1113: */
1114: public void setCardCycleVolumeLimit(
1115: KualiDecimal cardCycleVolumeLimit) {
1116: this .cardCycleVolumeLimit = cardCycleVolumeLimit;
1117: }
1118:
1119: /**
1120: * Sets the cardCycleVolumeLimit attribute.
1121: *
1122: * @param cardCycleVolumeLimit The cardCycleVolumeLimit to set.
1123: */
1124: public void setCardCycleVolumeLimit(String cardCycleVolumeLimit) {
1125: if (StringUtils.isNotBlank(cardCycleVolumeLimit)) {
1126: this .cardCycleVolumeLimit = new KualiDecimal(
1127: cardCycleVolumeLimit);
1128: } else {
1129: this .cardCycleVolumeLimit = new KualiDecimal(0);
1130: }
1131: }
1132:
1133: /**
1134: * Gets the cardStatusCode attribute.
1135: *
1136: * @return Returns the cardStatusCode
1137: */
1138: public String getCardStatusCode() {
1139: return cardStatusCode;
1140: }
1141:
1142: /**
1143: * Sets the cardStatusCode attribute.
1144: *
1145: * @param cardStatusCode The cardStatusCode to set.
1146: */
1147: public void setCardStatusCode(String cardStatusCode) {
1148: this .cardStatusCode = cardStatusCode;
1149: }
1150:
1151: /**
1152: * Gets the cardNoteText attribute.
1153: *
1154: * @return Returns the cardNoteText
1155: */
1156: public String getCardNoteText() {
1157: return cardNoteText;
1158: }
1159:
1160: /**
1161: * Sets the cardNoteText attribute.
1162: *
1163: * @param cardNoteText The cardNoteText to set.
1164: */
1165: public void setCardNoteText(String cardNoteText) {
1166: this .cardNoteText = cardNoteText;
1167: }
1168:
1169: /**
1170: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
1171: */
1172: protected LinkedHashMap toStringMapper() {
1173: LinkedHashMap m = new LinkedHashMap();
1174: if (this .transactionSequenceRowNumber != null) {
1175: m.put("transactionSequenceRowNumber",
1176: this.transactionSequenceRowNumber.toString());
1177: }
1178: return m;
1179: }
1180:
1181: }
|