001 /* 002 * Copyright 2007 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017 package edu.sampleu.financial.bo; 018 019 import java.sql.Date; 020 import java.util.ArrayList; 021 import java.util.List; 022 023 import org.apache.commons.lang.StringUtils; 024 import org.apache.log4j.Logger; 025 import org.kuali.rice.core.util.type.KualiDecimal; 026 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 027 import org.kuali.rice.krad.util.ObjectUtils; 028 029 /** 030 * Contains all data for a specific parent or division Vendor, including a link to the <code>VendorHeader</code>, which only 031 * contains information about the parent company, but can be shared between division Vendors. 032 * 033 * @see org.kuali.kfs.vnd.businessobject.VendorHeader 034 */ 035 public class VendorDetail extends PersistableBusinessObjectBase { //implements VendorRoutingComparable { 036 private static Logger LOG = Logger.getLogger(VendorDetail.class); 037 038 private Integer vendorHeaderGeneratedIdentifier; 039 private Integer vendorDetailAssignedIdentifier; 040 private String vendorNumber; // not persisted in the db 041 private boolean vendorParentIndicator; 042 private String vendorName; 043 private String vendorFirstName; // not persisted in the db 044 private String vendorLastName; // not persisted in the db 045 private String vendorStateForLookup; // not persisted in the db 046 047 private boolean activeIndicator; 048 private String vendorInactiveReasonCode; 049 private String vendorDunsNumber; 050 private String vendorPaymentTermsCode; 051 private String vendorShippingTitleCode; 052 private String vendorShippingPaymentTermsCode; 053 private Boolean vendorConfirmationIndicator; 054 private Boolean vendorPrepaymentIndicator; 055 private Boolean vendorCreditCardIndicator; 056 private KualiDecimal vendorMinimumOrderAmount; 057 private String vendorUrlAddress; 058 private String vendorRemitName; 059 private Boolean vendorRestrictedIndicator; 060 private String vendorRestrictedReasonText; 061 private Date vendorRestrictedDate; 062 // private String vendorRestrictedPersonIdentifier; 063 private String vendorSoldToNumber; // not persisted in the db 064 private Integer vendorSoldToGeneratedIdentifier; 065 private Integer vendorSoldToAssignedIdentifier; 066 private String vendorSoldToName; 067 private boolean vendorFirstLastNameIndicator; 068 private boolean taxableIndicator; 069 070 private List<VendorAddress> vendorAddresses; 071 072 // private List<VendorAlias> vendorAliases; 073 // private List<VendorContact> vendorContacts; 074 // private List<VendorCustomerNumber> vendorCustomerNumbers; 075 // private List<VendorPhoneNumber> vendorPhoneNumbers; 076 // private List<VendorShippingSpecialCondition> vendorShippingSpecialConditions; 077 // private List<VendorCommodityCode> vendorCommodities; 078 079 private VendorHeader vendorHeader; 080 // private VendorInactiveReason vendorInactiveReason; 081 private PaymentTermType vendorPaymentTerms; 082 // private ShippingTitle vendorShippingTitle; 083 private ShippingPaymentTerms vendorShippingPaymentTerms; 084 private VendorDetail soldToVendorDetail; 085 // private Person vendorRestrictedPerson; 086 087 private String vendorParentName; // not persisted in the db 088 private String defaultAddressLine1; // not persisted in the db 089 private String defaultAddressLine2; // not persisted in the db 090 private String defaultAddressCity; // not persisted in the db 091 private String defaultAddressStateCode; // not persisted in the db 092 private String defaultAddressInternationalProvince; // not persisted in the db 093 private String defaultAddressPostalCode; // not persisted in the db 094 private String defaultAddressCountryCode; // not persisted in the db 095 private String defaultFaxNumber; // not persisted in the db 096 097 /** 098 * Default constructor. 099 */ 100 public VendorDetail() { 101 super(); 102 103 vendorHeader = new VendorHeader(); 104 vendorAddresses = new ArrayList(); 105 /*vendorAliases = new TypedArrayList(VendorAlias.class); 106 vendorContacts = new TypedArrayList(VendorContact.class); 107 vendorContracts = new TypedArrayList(VendorContract.class); 108 vendorCustomerNumbers = new TypedArrayList(VendorCustomerNumber.class); 109 vendorPhoneNumbers = new TypedArrayList(VendorPhoneNumber.class); 110 vendorShippingSpecialConditions = new TypedArrayList(VendorShippingSpecialCondition.class); 111 vendorCommodities = new TypedArrayList(VendorCommodityCode.class);*/ 112 vendorParentIndicator = true; 113 114 } 115 116 public Integer getVendorHeaderGeneratedIdentifier() { 117 return vendorHeaderGeneratedIdentifier; 118 } 119 120 public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier) { 121 this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier; 122 } 123 124 public Integer getVendorDetailAssignedIdentifier() { 125 return vendorDetailAssignedIdentifier; 126 } 127 128 public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier) { 129 this.vendorDetailAssignedIdentifier = vendorDetailAssignedIdentifier; 130 } 131 132 /** 133 * A concatenation of the vendorHeaderGeneratedIdentifier, a dash, and the vendorDetailAssignedIdentifier 134 * 135 * @return Returns the vendorNumber. 136 */ 137 public String getVendorNumber() { 138 String headerId = ""; 139 String detailId = ""; 140 String vendorNumber = ""; 141 if (ObjectUtils.isNotNull(this.vendorHeaderGeneratedIdentifier)) { 142 headerId = this.vendorHeaderGeneratedIdentifier.toString(); 143 } 144 if (ObjectUtils.isNotNull(this.vendorDetailAssignedIdentifier)) { 145 detailId = this.vendorDetailAssignedIdentifier.toString(); 146 } 147 if (!StringUtils.isEmpty(headerId) && !StringUtils.isEmpty(detailId)) { 148 vendorNumber = headerId + "-" + detailId; 149 } 150 151 return vendorNumber; 152 } 153 154 /** 155 * Sets the vendorNumber attribute value. 156 * If vendorNumber is empty, clears header and detail IDs. 157 * If vendorNumber is invalid, leaves header and detail IDs as were. 158 * 159 * @param vendorNumber The vendorNumber to set. 160 */ 161 public void setVendorNumber(String vendorNumber) { 162 this.vendorNumber = vendorNumber; 163 164 if (StringUtils.isEmpty(vendorNumber)) { 165 vendorHeaderGeneratedIdentifier = null; 166 vendorDetailAssignedIdentifier = null; 167 return; 168 } 169 170 int dashInd = vendorNumber.indexOf('-'); 171 // make sure there's at least one char before and after '-' 172 if (dashInd > 0 && dashInd < vendorNumber.length() - 1) { 173 try { 174 vendorHeaderGeneratedIdentifier = new Integer(vendorNumber.substring(0, dashInd)); 175 vendorDetailAssignedIdentifier = new Integer(vendorNumber.substring(dashInd + 1)); 176 } catch (NumberFormatException e) { 177 // in case of invalid number format 178 } 179 } 180 } 181 182 public String getVendorName() { 183 return vendorName; 184 } 185 186 public void setVendorName(String vendorName) { 187 this.vendorName = vendorName; 188 } 189 190 public Integer getVendorSoldToGeneratedIdentifier() { 191 return vendorSoldToGeneratedIdentifier; 192 } 193 194 public void setVendorSoldToGeneratedIdentifier(Integer vendorSoldToGeneratedIdentifier) { 195 this.vendorSoldToGeneratedIdentifier = vendorSoldToGeneratedIdentifier; 196 } 197 198 public Integer getVendorSoldToAssignedIdentifier() { 199 return vendorSoldToAssignedIdentifier; 200 } 201 202 public void setVendorSoldToAssignedIdentifier(Integer vendorSoldToAssignedIdentifier) { 203 this.vendorSoldToAssignedIdentifier = vendorSoldToAssignedIdentifier; 204 } 205 206 /** 207 * Gets the vendorSoldToNumber attribute. 208 * 209 * @return Returns the vendorSoldToNumber. 210 */ 211 public String getVendorSoldToNumber() { 212 String headerId = ""; 213 String detailId = ""; 214 String vendorSoldToNumber = ""; 215 216 if (this.vendorSoldToGeneratedIdentifier != null) { 217 headerId = this.vendorSoldToGeneratedIdentifier.toString(); 218 } 219 if (this.vendorSoldToAssignedIdentifier != null) { 220 detailId = this.vendorSoldToAssignedIdentifier.toString(); 221 } 222 if (!StringUtils.isEmpty(headerId) && !StringUtils.isEmpty(detailId)) { 223 vendorSoldToNumber = headerId + "-" + detailId; 224 } 225 226 return vendorSoldToNumber; 227 } 228 229 /** 230 * Sets the vendorSoldToNumber attribute value. 231 * If vendorSoldToNumber is empty, clears soldToVendor header and detail IDs. 232 * If vendorSoldToNumber is invalid, leaves soldToVendor header and detail IDs as were. 233 * 234 * @param vendorSoldToNumber The vendorSoldToNumber to set. 235 */ 236 public void setVendorSoldToNumber(String vendorSoldToNumber) { 237 this.vendorSoldToNumber = vendorSoldToNumber; 238 239 if (StringUtils.isEmpty(vendorSoldToNumber)) { 240 vendorSoldToGeneratedIdentifier = null; 241 vendorSoldToAssignedIdentifier = null; 242 return; 243 } 244 245 int dashInd = vendorSoldToNumber.indexOf('-'); 246 // make sure there's at least one char before and after '-' 247 if (dashInd > 0 && dashInd < vendorSoldToNumber.length() - 1) { 248 try { 249 vendorSoldToGeneratedIdentifier = new Integer(vendorSoldToNumber.substring(0, dashInd)); 250 vendorSoldToAssignedIdentifier = new Integer(vendorSoldToNumber.substring(dashInd + 1)); 251 } catch (NumberFormatException e) { 252 // in case of invalid number format 253 } 254 } 255 } 256 257 /** 258 * Gets the vendorSoldToName attribute. 259 * 260 * @return Returns the vendorSoldToName 261 */ 262 public String getVendorSoldToName() { 263 return this.vendorSoldToName; 264 } 265 266 public void setVendorSoldToName(String vendorSoldToName) { 267 this.vendorSoldToName = vendorSoldToName; 268 } 269 270 public String getAltVendorName() { 271 return vendorName; 272 } 273 274 public void setAltVendorName(String altVendorName) { 275 this.vendorName = altVendorName; 276 } 277 278 public String getVendorRemitName() { 279 return vendorRemitName; 280 } 281 282 public void setVendorRemitName(String vendorRemitName) { 283 this.vendorRemitName = vendorRemitName; 284 } 285 286 public boolean isVendorParentIndicator() { 287 return vendorParentIndicator; 288 } 289 290 public void setVendorParentIndicator(boolean vendorParentIndicator) { 291 this.vendorParentIndicator = vendorParentIndicator; 292 } 293 294 public boolean isTaxableIndicator() { 295 return taxableIndicator; 296 } 297 298 public void setTaxableIndicator(boolean taxableIndicator) { 299 this.taxableIndicator = taxableIndicator; 300 } 301 302 public boolean isVendorDebarred() { 303 return (ObjectUtils.isNotNull(getVendorHeader().getVendorDebarredIndicator()) && getVendorHeader().getVendorDebarredIndicator()); 304 } 305 306 public boolean isActiveIndicator() { 307 return activeIndicator; 308 } 309 310 public void setActiveIndicator(boolean activeIndicator) { 311 this.activeIndicator = activeIndicator; 312 } 313 314 // public String getVendorInactiveReasonCode() { 315 // return vendorInactiveReasonCode; 316 // } 317 // 318 // public void setVendorInactiveReasonCode(String vendorInactiveReasonCode) { 319 // this.vendorInactiveReasonCode = vendorInactiveReasonCode; 320 // } 321 322 public String getVendorPaymentTermsCode() { 323 return vendorPaymentTermsCode; 324 } 325 326 public void setVendorPaymentTermsCode(String vendorPaymentTermsCode) { 327 this.vendorPaymentTermsCode = vendorPaymentTermsCode; 328 } 329 330 // public String getVendorShippingTitleCode() { 331 // return vendorShippingTitleCode; 332 // } 333 // 334 // public void setVendorShippingTitleCode(String vendorShippingTitleCode) { 335 // this.vendorShippingTitleCode = vendorShippingTitleCode; 336 // } 337 338 public String getVendorShippingPaymentTermsCode() { 339 return vendorShippingPaymentTermsCode; 340 } 341 342 public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) { 343 this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode; 344 } 345 346 public Boolean getVendorConfirmationIndicator() { 347 return vendorConfirmationIndicator; 348 } 349 350 public void setVendorConfirmationIndicator(Boolean vendorConfirmationIndicator) { 351 this.vendorConfirmationIndicator = vendorConfirmationIndicator; 352 } 353 354 public Boolean getVendorPrepaymentIndicator() { 355 return vendorPrepaymentIndicator; 356 } 357 358 public void setVendorPrepaymentIndicator(Boolean vendorPrepaymentIndicator) { 359 this.vendorPrepaymentIndicator = vendorPrepaymentIndicator; 360 } 361 362 public Boolean getVendorCreditCardIndicator() { 363 return vendorCreditCardIndicator; 364 } 365 366 public void setVendorCreditCardIndicator(Boolean vendorCreditCardIndicator) { 367 this.vendorCreditCardIndicator = vendorCreditCardIndicator; 368 } 369 370 public KualiDecimal getVendorMinimumOrderAmount() { 371 return vendorMinimumOrderAmount; 372 } 373 374 public void setVendorMinimumOrderAmount(KualiDecimal vendorMinimumOrderAmount) { 375 this.vendorMinimumOrderAmount = vendorMinimumOrderAmount; 376 } 377 378 public String getVendorUrlAddress() { 379 return vendorUrlAddress; 380 } 381 382 public void setVendorUrlAddress(String vendorUrlAddress) { 383 this.vendorUrlAddress = vendorUrlAddress; 384 } 385 386 public Boolean getVendorRestrictedIndicator() { 387 return vendorRestrictedIndicator; 388 } 389 390 public void setVendorRestrictedIndicator(Boolean vendorRestrictedIndicator) { 391 this.vendorRestrictedIndicator = vendorRestrictedIndicator; 392 } 393 394 public String getVendorRestrictedReasonText() { 395 return vendorRestrictedReasonText; 396 } 397 398 public void setVendorRestrictedReasonText(String vendorRestrictedReasonText) { 399 this.vendorRestrictedReasonText = vendorRestrictedReasonText; 400 } 401 402 public Date getVendorRestrictedDate() { 403 return vendorRestrictedDate; 404 } 405 406 public void setVendorRestrictedDate(Date vendorRestrictedDate) { 407 this.vendorRestrictedDate = vendorRestrictedDate; 408 } 409 410 /*public String getVendorRestrictedPersonIdentifier() { 411 return vendorRestrictedPersonIdentifier; 412 } 413 414 public void setVendorRestrictedPersonIdentifier(String vendorRestrictedPersonIdentifier) { 415 this.vendorRestrictedPersonIdentifier = vendorRestrictedPersonIdentifier; 416 }*/ 417 418 public String getVendorDunsNumber() { 419 return vendorDunsNumber; 420 } 421 422 public void setVendorDunsNumber(String vendorDunsNumber) { 423 this.vendorDunsNumber = vendorDunsNumber; 424 } 425 426 public VendorHeader getVendorHeader() { 427 return vendorHeader; 428 } 429 430 public void setVendorHeader(VendorHeader vendorHeader) { 431 this.vendorHeader = vendorHeader; 432 } 433 434 public PaymentTermType getVendorPaymentTerms() { 435 return vendorPaymentTerms; 436 } 437 438 /** 439 * Sets the vendorPaymentTerms attribute. 440 * 441 * @param vendorPaymentTerms The vendorPaymentTerms to set. 442 * @deprecated 443 */ 444 public void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms) { 445 this.vendorPaymentTerms = vendorPaymentTerms; 446 } 447 448 // public ShippingTitle getVendorShippingTitle() { 449 // return vendorShippingTitle; 450 // } 451 452 /** 453 * Sets the vendorShippingTitle attribute. 454 * 455 * @param vendorShippingTitle The vendorShippingTitle to set. 456 * @deprecated 457 */ 458 // public void setVendorShippingTitle(ShippingTitle vendorShippingTitle) { 459 // this.vendorShippingTitle = vendorShippingTitle; 460 // } 461 public ShippingPaymentTerms getVendorShippingPaymentTerms() { 462 return vendorShippingPaymentTerms; 463 } 464 465 /** 466 * Sets the vendorShippingPaymentTerms attribute. 467 * 468 * @param vendorShippingPaymentTerms The vendorShippingPaymentTerms to set. 469 * @deprecated 470 */ 471 public void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms) { 472 this.vendorShippingPaymentTerms = vendorShippingPaymentTerms; 473 } 474 475 // public VendorInactiveReason getVendorInactiveReason() { 476 // return vendorInactiveReason; 477 // } 478 479 /** 480 * Sets the vendorInactiveReason attribute value. 481 * 482 * @param vendorInactiveReason The vendorInactiveReason to set. 483 * @deprecated 484 */ 485 // public void setVendorInactiveReason(VendorInactiveReason vendorInactiveReason) { 486 // this.vendorInactiveReason = vendorInactiveReason; 487 // } 488 public List<VendorAddress> getVendorAddresses() { 489 return vendorAddresses; 490 } 491 492 public void setVendorAddresses(List<VendorAddress> vendorAddresses) { 493 this.vendorAddresses = vendorAddresses; 494 } 495 496 /*public List<VendorContact> getVendorContacts() { 497 return vendorContacts; 498 } 499 500 public void setVendorContacts(List<VendorContact> vendorContacts) { 501 this.vendorContacts = vendorContacts; 502 } 503 504 public List<VendorContract> getVendorContracts() { 505 return vendorContracts; 506 } 507 508 public void setVendorContracts(List<VendorContract> vendorContracts) { 509 this.vendorContracts = vendorContracts; 510 } 511 512 public List<VendorCustomerNumber> getVendorCustomerNumbers() { 513 return vendorCustomerNumbers; 514 } 515 516 public void setVendorCustomerNumbers(List<VendorCustomerNumber> vendorCustomerNumbers) { 517 this.vendorCustomerNumbers = vendorCustomerNumbers; 518 } 519 520 public List<VendorShippingSpecialCondition> getVendorShippingSpecialConditions() { 521 return vendorShippingSpecialConditions; 522 } 523 524 public void setVendorShippingSpecialConditions(List<VendorShippingSpecialCondition> vendorShippingSpecialConditions) { 525 this.vendorShippingSpecialConditions = vendorShippingSpecialConditions; 526 } 527 528 public List<VendorCommodityCode> getVendorCommodities() { 529 return vendorCommodities; 530 } 531 532 public void setVendorCommodities(List<VendorCommodityCode> vendorCommodities) { 533 this.vendorCommodities = vendorCommodities; 534 } 535 536 public List<VendorAlias> getVendorAliases() { 537 return vendorAliases; 538 } 539 540 public void setVendorAliases(List<VendorAlias> vendorAliases) { 541 this.vendorAliases = vendorAliases; 542 } 543 544 public List<VendorPhoneNumber> getVendorPhoneNumbers() { 545 return vendorPhoneNumbers; 546 } 547 548 public void setVendorPhoneNumbers(List<VendorPhoneNumber> vendorPhoneNumbers) { 549 this.vendorPhoneNumbers = vendorPhoneNumbers; 550 }*/ 551 552 public String getVendorFirstName() { 553 return vendorFirstName; 554 } 555 556 public void setVendorFirstName(String vendorFirstName) { 557 this.vendorFirstName = vendorFirstName; 558 } 559 560 public String getVendorLastName() { 561 return vendorLastName; 562 } 563 564 public void setVendorLastName(String vendorLastName) { 565 this.vendorLastName = vendorLastName; 566 } 567 568 public VendorDetail getSoldToVendorDetail() { 569 return soldToVendorDetail; 570 } 571 572 public void setSoldToVendorDetail(VendorDetail soldToVendorDetail) { 573 this.soldToVendorDetail = soldToVendorDetail; 574 } 575 576 public boolean isVendorFirstLastNameIndicator() { 577 return vendorFirstLastNameIndicator; 578 } 579 580 public void setVendorFirstLastNameIndicator(boolean vendorFirstLastNameIndicator) { 581 this.vendorFirstLastNameIndicator = vendorFirstLastNameIndicator; 582 } 583 584 public String getVendorStateForLookup() { 585 return vendorStateForLookup; 586 } 587 588 public void setVendorStateForLookup(String vendorStateForLookup) { 589 this.vendorStateForLookup = vendorStateForLookup; 590 } 591 592 // public Person getVendorRestrictedPerson() { 593 // vendorRestrictedPerson = SpringContext.getBean(org.kuali.rice.kim.service.PersonService.class).updatePersonIfNecessary(vendorRestrictedPersonIdentifier, vendorRestrictedPerson); 594 // return vendorRestrictedPerson; 595 // } 596 597 /** 598 * Sets the vendorRestrictedPerson attribute. 599 * 600 * @param vendorRestrictedPerson The vendorRestrictedPerson to set. 601 * @deprecated 602 */ 603 // public void setVendorRestrictedPerson(Person vendorRestrictedPerson) { 604 // this.vendorRestrictedPerson = vendorRestrictedPerson; 605 // } 606 public String getDefaultAddressLine1() { 607 return defaultAddressLine1; 608 } 609 610 public void setDefaultAddressLine1(String defaultAddressLine1) { 611 this.defaultAddressLine1 = defaultAddressLine1; 612 } 613 614 public String getDefaultAddressCity() { 615 return defaultAddressCity; 616 } 617 618 public void setDefaultAddressCity(String defaultAddressCity) { 619 this.defaultAddressCity = defaultAddressCity; 620 } 621 622 public String getDefaultAddressLine2() { 623 return defaultAddressLine2; 624 } 625 626 public void setDefaultAddressLine2(String defaultAddressLine2) { 627 this.defaultAddressLine2 = defaultAddressLine2; 628 } 629 630 public String getDefaultAddressPostalCode() { 631 return defaultAddressPostalCode; 632 } 633 634 public void setDefaultAddressPostalCode(String defaultAddressPostalCode) { 635 this.defaultAddressPostalCode = defaultAddressPostalCode; 636 } 637 638 public String getDefaultAddressStateCode() { 639 return defaultAddressStateCode; 640 } 641 642 public void setDefaultAddressStateCode(String defaultAddressStateCode) { 643 this.defaultAddressStateCode = defaultAddressStateCode; 644 } 645 646 public String getDefaultAddressInternationalProvince() { 647 return defaultAddressInternationalProvince; 648 } 649 650 public void setDefaultAddressInternationalProvince(String defaultAddressInternationalProvince) { 651 this.defaultAddressInternationalProvince = defaultAddressInternationalProvince; 652 } 653 654 public String getDefaultAddressCountryCode() { 655 return defaultAddressCountryCode; 656 } 657 658 public void setDefaultAddressCountryCode(String defaultAddressCountryCode) { 659 this.defaultAddressCountryCode = defaultAddressCountryCode; 660 } 661 662 public String getDefaultFaxNumber() { 663 return defaultFaxNumber; 664 } 665 666 public void setDefaultFaxNumber(String defaultFaxNumber) { 667 this.defaultFaxNumber = defaultFaxNumber; 668 } 669 670 public void setVendorParentName(String vendorParentName) { 671 this.vendorParentName = vendorParentName; 672 } 673 674 675 public String getVendorInactiveReasonCode() { 676 return this.vendorInactiveReasonCode; 677 } 678 679 public void setVendorInactiveReasonCode(String vendorInactiveReasonCode) { 680 this.vendorInactiveReasonCode = vendorInactiveReasonCode; 681 } 682 683 public String getVendorShippingTitleCode() { 684 return this.vendorShippingTitleCode; 685 } 686 687 public void setVendorShippingTitleCode(String vendorShippingTitleCode) { 688 this.vendorShippingTitleCode = vendorShippingTitleCode; 689 } 690 691 public String getVendorParentName() { 692 return this.vendorParentName; 693 } 694 695 696 } 697