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