1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2007.04.05 at 10:47:13 AM CEST 6 // 7 8 9 package com.amazon.webservices.awsecommerceservice._2007_04_04; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlElement; 16 import javax.xml.bind.annotation.XmlRootElement; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for anonymous complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="TransactionId" type="{http://www.w3.org/2001/XMLSchema}string"/> 31 * <element name="SellerId" type="{http://www.w3.org/2001/XMLSchema}string"/> 32 * <element name="Condition" type="{http://www.w3.org/2001/XMLSchema}string"/> 33 * <element name="TransactionDate" type="{http://www.w3.org/2001/XMLSchema}string"/> 34 * <element name="TransactionDateEpoch" type="{http://www.w3.org/2001/XMLSchema}string"/> 35 * <element name="SellerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 36 * <element name="PayingCustomerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 37 * <element name="OrderingCustomerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 38 * <element name="Totals" minOccurs="0"> 39 * <complexType> 40 * <complexContent> 41 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 42 * <sequence> 43 * <element name="Total" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 44 * <element name="Subtotal" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 45 * <element name="Tax" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 46 * <element name="ShippingCharge" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 47 * <element name="Promotion" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 48 * </sequence> 49 * </restriction> 50 * </complexContent> 51 * </complexType> 52 * </element> 53 * <element name="TransactionItems" minOccurs="0"> 54 * <complexType> 55 * <complexContent> 56 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 57 * <sequence> 58 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}TransactionItem" maxOccurs="unbounded"/> 59 * </sequence> 60 * </restriction> 61 * </complexContent> 62 * </complexType> 63 * </element> 64 * <element name="Shipments" minOccurs="0"> 65 * <complexType> 66 * <complexContent> 67 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 68 * <sequence> 69 * <element name="Shipment" maxOccurs="unbounded"> 70 * <complexType> 71 * <complexContent> 72 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 73 * <sequence> 74 * <element name="Condition" type="{http://www.w3.org/2001/XMLSchema}string"/> 75 * <element name="DeliveryMethod" type="{http://www.w3.org/2001/XMLSchema}string"/> 76 * <element name="ShipmentItems" minOccurs="0"> 77 * <complexType> 78 * <complexContent> 79 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 80 * <sequence> 81 * <element name="TransactionItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> 82 * </sequence> 83 * </restriction> 84 * </complexContent> 85 * </complexType> 86 * </element> 87 * <element name="Packages" minOccurs="0"> 88 * <complexType> 89 * <complexContent> 90 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 91 * <sequence> 92 * <element name="Package" maxOccurs="unbounded"> 93 * <complexType> 94 * <complexContent> 95 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 96 * <sequence> 97 * <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> 98 * <element name="CarrierName" type="{http://www.w3.org/2001/XMLSchema}string"/> 99 * </sequence> 100 * </restriction> 101 * </complexContent> 102 * </complexType> 103 * </element> 104 * </sequence> 105 * </restriction> 106 * </complexContent> 107 * </complexType> 108 * </element> 109 * </sequence> 110 * </restriction> 111 * </complexContent> 112 * </complexType> 113 * </element> 114 * </sequence> 115 * </restriction> 116 * </complexContent> 117 * </complexType> 118 * </element> 119 * </sequence> 120 * </restriction> 121 * </complexContent> 122 * </complexType> 123 * </pre> 124 * 125 * 126 */ 127 @XmlAccessorType(XmlAccessType.FIELD) 128 @XmlType(name = "", propOrder = { 129 "transactionId", 130 "sellerId", 131 "condition", 132 "transactionDate", 133 "transactionDateEpoch", 134 "sellerName", 135 "payingCustomerId", 136 "orderingCustomerId", 137 "totals", 138 "transactionItems", 139 "shipments" 140 }) 141 @XmlRootElement(name = "Transaction") 142 public class Transaction { 143 144 @XmlElement(name = "TransactionId", required = true) 145 protected String transactionId; 146 @XmlElement(name = "SellerId", required = true) 147 protected String sellerId; 148 @XmlElement(name = "Condition", required = true) 149 protected String condition; 150 @XmlElement(name = "TransactionDate", required = true) 151 protected String transactionDate; 152 @XmlElement(name = "TransactionDateEpoch", required = true) 153 protected String transactionDateEpoch; 154 @XmlElement(name = "SellerName") 155 protected String sellerName; 156 @XmlElement(name = "PayingCustomerId") 157 protected String payingCustomerId; 158 @XmlElement(name = "OrderingCustomerId") 159 protected String orderingCustomerId; 160 @XmlElement(name = "Totals") 161 protected Transaction.Totals totals; 162 @XmlElement(name = "TransactionItems") 163 protected Transaction.TransactionItems transactionItems; 164 @XmlElement(name = "Shipments") 165 protected Transaction.Shipments shipments; 166 167 /** 168 * Gets the value of the transactionId property. 169 * 170 * @return 171 * possible object is 172 * {@link String } 173 * 174 */ 175 public String getTransactionId() { 176 return transactionId; 177 } 178 179 /** 180 * Sets the value of the transactionId property. 181 * 182 * @param value 183 * allowed object is 184 * {@link String } 185 * 186 */ 187 public void setTransactionId(String value) { 188 this.transactionId = value; 189 } 190 191 /** 192 * Gets the value of the sellerId property. 193 * 194 * @return 195 * possible object is 196 * {@link String } 197 * 198 */ 199 public String getSellerId() { 200 return sellerId; 201 } 202 203 /** 204 * Sets the value of the sellerId property. 205 * 206 * @param value 207 * allowed object is 208 * {@link String } 209 * 210 */ 211 public void setSellerId(String value) { 212 this.sellerId = value; 213 } 214 215 /** 216 * Gets the value of the condition property. 217 * 218 * @return 219 * possible object is 220 * {@link String } 221 * 222 */ 223 public String getCondition() { 224 return condition; 225 } 226 227 /** 228 * Sets the value of the condition property. 229 * 230 * @param value 231 * allowed object is 232 * {@link String } 233 * 234 */ 235 public void setCondition(String value) { 236 this.condition = value; 237 } 238 239 /** 240 * Gets the value of the transactionDate property. 241 * 242 * @return 243 * possible object is 244 * {@link String } 245 * 246 */ 247 public String getTransactionDate() { 248 return transactionDate; 249 } 250 251 /** 252 * Sets the value of the transactionDate property. 253 * 254 * @param value 255 * allowed object is 256 * {@link String } 257 * 258 */ 259 public void setTransactionDate(String value) { 260 this.transactionDate = value; 261 } 262 263 /** 264 * Gets the value of the transactionDateEpoch property. 265 * 266 * @return 267 * possible object is 268 * {@link String } 269 * 270 */ 271 public String getTransactionDateEpoch() { 272 return transactionDateEpoch; 273 } 274 275 /** 276 * Sets the value of the transactionDateEpoch property. 277 * 278 * @param value 279 * allowed object is 280 * {@link String } 281 * 282 */ 283 public void setTransactionDateEpoch(String value) { 284 this.transactionDateEpoch = value; 285 } 286 287 /** 288 * Gets the value of the sellerName property. 289 * 290 * @return 291 * possible object is 292 * {@link String } 293 * 294 */ 295 public String getSellerName() { 296 return sellerName; 297 } 298 299 /** 300 * Sets the value of the sellerName property. 301 * 302 * @param value 303 * allowed object is 304 * {@link String } 305 * 306 */ 307 public void setSellerName(String value) { 308 this.sellerName = value; 309 } 310 311 /** 312 * Gets the value of the payingCustomerId property. 313 * 314 * @return 315 * possible object is 316 * {@link String } 317 * 318 */ 319 public String getPayingCustomerId() { 320 return payingCustomerId; 321 } 322 323 /** 324 * Sets the value of the payingCustomerId property. 325 * 326 * @param value 327 * allowed object is 328 * {@link String } 329 * 330 */ 331 public void setPayingCustomerId(String value) { 332 this.payingCustomerId = value; 333 } 334 335 /** 336 * Gets the value of the orderingCustomerId property. 337 * 338 * @return 339 * possible object is 340 * {@link String } 341 * 342 */ 343 public String getOrderingCustomerId() { 344 return orderingCustomerId; 345 } 346 347 /** 348 * Sets the value of the orderingCustomerId property. 349 * 350 * @param value 351 * allowed object is 352 * {@link String } 353 * 354 */ 355 public void setOrderingCustomerId(String value) { 356 this.orderingCustomerId = value; 357 } 358 359 /** 360 * Gets the value of the totals property. 361 * 362 * @return 363 * possible object is 364 * {@link Transaction.Totals } 365 * 366 */ 367 public Transaction.Totals getTotals() { 368 return totals; 369 } 370 371 /** 372 * Sets the value of the totals property. 373 * 374 * @param value 375 * allowed object is 376 * {@link Transaction.Totals } 377 * 378 */ 379 public void setTotals(Transaction.Totals value) { 380 this.totals = value; 381 } 382 383 /** 384 * Gets the value of the transactionItems property. 385 * 386 * @return 387 * possible object is 388 * {@link Transaction.TransactionItems } 389 * 390 */ 391 public Transaction.TransactionItems getTransactionItems() { 392 return transactionItems; 393 } 394 395 /** 396 * Sets the value of the transactionItems property. 397 * 398 * @param value 399 * allowed object is 400 * {@link Transaction.TransactionItems } 401 * 402 */ 403 public void setTransactionItems(Transaction.TransactionItems value) { 404 this.transactionItems = value; 405 } 406 407 /** 408 * Gets the value of the shipments property. 409 * 410 * @return 411 * possible object is 412 * {@link Transaction.Shipments } 413 * 414 */ 415 public Transaction.Shipments getShipments() { 416 return shipments; 417 } 418 419 /** 420 * Sets the value of the shipments property. 421 * 422 * @param value 423 * allowed object is 424 * {@link Transaction.Shipments } 425 * 426 */ 427 public void setShipments(Transaction.Shipments value) { 428 this.shipments = value; 429 } 430 431 432 /** 433 * <p>Java class for anonymous complex type. 434 * 435 * <p>The following schema fragment specifies the expected content contained within this class. 436 * 437 * <pre> 438 * <complexType> 439 * <complexContent> 440 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 441 * <sequence> 442 * <element name="Shipment" maxOccurs="unbounded"> 443 * <complexType> 444 * <complexContent> 445 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 446 * <sequence> 447 * <element name="Condition" type="{http://www.w3.org/2001/XMLSchema}string"/> 448 * <element name="DeliveryMethod" type="{http://www.w3.org/2001/XMLSchema}string"/> 449 * <element name="ShipmentItems" minOccurs="0"> 450 * <complexType> 451 * <complexContent> 452 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 453 * <sequence> 454 * <element name="TransactionItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> 455 * </sequence> 456 * </restriction> 457 * </complexContent> 458 * </complexType> 459 * </element> 460 * <element name="Packages" minOccurs="0"> 461 * <complexType> 462 * <complexContent> 463 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 464 * <sequence> 465 * <element name="Package" maxOccurs="unbounded"> 466 * <complexType> 467 * <complexContent> 468 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 469 * <sequence> 470 * <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> 471 * <element name="CarrierName" type="{http://www.w3.org/2001/XMLSchema}string"/> 472 * </sequence> 473 * </restriction> 474 * </complexContent> 475 * </complexType> 476 * </element> 477 * </sequence> 478 * </restriction> 479 * </complexContent> 480 * </complexType> 481 * </element> 482 * </sequence> 483 * </restriction> 484 * </complexContent> 485 * </complexType> 486 * </element> 487 * </sequence> 488 * </restriction> 489 * </complexContent> 490 * </complexType> 491 * </pre> 492 * 493 * 494 */ 495 @XmlAccessorType(XmlAccessType.FIELD) 496 @XmlType(name = "", propOrder = { 497 "shipment" 498 }) 499 public static class Shipments { 500 501 @XmlElement(name = "Shipment", required = true) 502 protected List<Transaction.Shipments.Shipment> shipment; 503 504 /** 505 * Gets the value of the shipment property. 506 * 507 * <p> 508 * This accessor method returns a reference to the live list, 509 * not a snapshot. Therefore any modification you make to the 510 * returned list will be present inside the JAXB object. 511 * This is why there is not a <CODE>set</CODE> method for the shipment property. 512 * 513 * <p> 514 * For example, to add a new item, do as follows: 515 * <pre> 516 * getShipment().add(newItem); 517 * </pre> 518 * 519 * 520 * <p> 521 * Objects of the following type(s) are allowed in the list 522 * {@link Transaction.Shipments.Shipment } 523 * 524 * 525 */ 526 public List<Transaction.Shipments.Shipment> getShipment() { 527 if (shipment == null) { 528 shipment = new ArrayList<Transaction.Shipments.Shipment>(); 529 } 530 return this.shipment; 531 } 532 533 534 /** 535 * <p>Java class for anonymous complex type. 536 * 537 * <p>The following schema fragment specifies the expected content contained within this class. 538 * 539 * <pre> 540 * <complexType> 541 * <complexContent> 542 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 543 * <sequence> 544 * <element name="Condition" type="{http://www.w3.org/2001/XMLSchema}string"/> 545 * <element name="DeliveryMethod" type="{http://www.w3.org/2001/XMLSchema}string"/> 546 * <element name="ShipmentItems" minOccurs="0"> 547 * <complexType> 548 * <complexContent> 549 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 550 * <sequence> 551 * <element name="TransactionItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> 552 * </sequence> 553 * </restriction> 554 * </complexContent> 555 * </complexType> 556 * </element> 557 * <element name="Packages" minOccurs="0"> 558 * <complexType> 559 * <complexContent> 560 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 561 * <sequence> 562 * <element name="Package" maxOccurs="unbounded"> 563 * <complexType> 564 * <complexContent> 565 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 566 * <sequence> 567 * <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> 568 * <element name="CarrierName" type="{http://www.w3.org/2001/XMLSchema}string"/> 569 * </sequence> 570 * </restriction> 571 * </complexContent> 572 * </complexType> 573 * </element> 574 * </sequence> 575 * </restriction> 576 * </complexContent> 577 * </complexType> 578 * </element> 579 * </sequence> 580 * </restriction> 581 * </complexContent> 582 * </complexType> 583 * </pre> 584 * 585 * 586 */ 587 @XmlAccessorType(XmlAccessType.FIELD) 588 @XmlType(name = "", propOrder = { 589 "condition", 590 "deliveryMethod", 591 "shipmentItems", 592 "packages" 593 }) 594 public static class Shipment { 595 596 @XmlElement(name = "Condition", required = true) 597 protected String condition; 598 @XmlElement(name = "DeliveryMethod", required = true) 599 protected String deliveryMethod; 600 @XmlElement(name = "ShipmentItems") 601 protected Transaction.Shipments.Shipment.ShipmentItems shipmentItems; 602 @XmlElement(name = "Packages") 603 protected Transaction.Shipments.Shipment.Packages packages; 604 605 /** 606 * Gets the value of the condition property. 607 * 608 * @return 609 * possible object is 610 * {@link String } 611 * 612 */ 613 public String getCondition() { 614 return condition; 615 } 616 617 /** 618 * Sets the value of the condition property. 619 * 620 * @param value 621 * allowed object is 622 * {@link String } 623 * 624 */ 625 public void setCondition(String value) { 626 this.condition = value; 627 } 628 629 /** 630 * Gets the value of the deliveryMethod property. 631 * 632 * @return 633 * possible object is 634 * {@link String } 635 * 636 */ 637 public String getDeliveryMethod() { 638 return deliveryMethod; 639 } 640 641 /** 642 * Sets the value of the deliveryMethod property. 643 * 644 * @param value 645 * allowed object is 646 * {@link String } 647 * 648 */ 649 public void setDeliveryMethod(String value) { 650 this.deliveryMethod = value; 651 } 652 653 /** 654 * Gets the value of the shipmentItems property. 655 * 656 * @return 657 * possible object is 658 * {@link Transaction.Shipments.Shipment.ShipmentItems } 659 * 660 */ 661 public Transaction.Shipments.Shipment.ShipmentItems getShipmentItems() { 662 return shipmentItems; 663 } 664 665 /** 666 * Sets the value of the shipmentItems property. 667 * 668 * @param value 669 * allowed object is 670 * {@link Transaction.Shipments.Shipment.ShipmentItems } 671 * 672 */ 673 public void setShipmentItems(Transaction.Shipments.Shipment.ShipmentItems value) { 674 this.shipmentItems = value; 675 } 676 677 /** 678 * Gets the value of the packages property. 679 * 680 * @return 681 * possible object is 682 * {@link Transaction.Shipments.Shipment.Packages } 683 * 684 */ 685 public Transaction.Shipments.Shipment.Packages getPackages() { 686 return packages; 687 } 688 689 /** 690 * Sets the value of the packages property. 691 * 692 * @param value 693 * allowed object is 694 * {@link Transaction.Shipments.Shipment.Packages } 695 * 696 */ 697 public void setPackages(Transaction.Shipments.Shipment.Packages value) { 698 this.packages = value; 699 } 700 701 702 /** 703 * <p>Java class for anonymous complex type. 704 * 705 * <p>The following schema fragment specifies the expected content contained within this class. 706 * 707 * <pre> 708 * <complexType> 709 * <complexContent> 710 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 711 * <sequence> 712 * <element name="Package" maxOccurs="unbounded"> 713 * <complexType> 714 * <complexContent> 715 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 716 * <sequence> 717 * <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> 718 * <element name="CarrierName" type="{http://www.w3.org/2001/XMLSchema}string"/> 719 * </sequence> 720 * </restriction> 721 * </complexContent> 722 * </complexType> 723 * </element> 724 * </sequence> 725 * </restriction> 726 * </complexContent> 727 * </complexType> 728 * </pre> 729 * 730 * 731 */ 732 @XmlAccessorType(XmlAccessType.FIELD) 733 @XmlType(name = "", propOrder = { 734 "_package" 735 }) 736 public static class Packages { 737 738 @XmlElement(name = "Package", required = true) 739 protected List<Transaction.Shipments.Shipment.Packages.Package> _package; 740 741 /** 742 * Gets the value of the package property. 743 * 744 * <p> 745 * This accessor method returns a reference to the live list, 746 * not a snapshot. Therefore any modification you make to the 747 * returned list will be present inside the JAXB object. 748 * This is why there is not a <CODE>set</CODE> method for the package property. 749 * 750 * <p> 751 * For example, to add a new item, do as follows: 752 * <pre> 753 * getPackage().add(newItem); 754 * </pre> 755 * 756 * 757 * <p> 758 * Objects of the following type(s) are allowed in the list 759 * {@link Transaction.Shipments.Shipment.Packages.Package } 760 * 761 * 762 */ 763 public List<Transaction.Shipments.Shipment.Packages.Package> getPackage() { 764 if (_package == null) { 765 _package = new ArrayList<Transaction.Shipments.Shipment.Packages.Package>(); 766 } 767 return this._package; 768 } 769 770 771 /** 772 * <p>Java class for anonymous complex type. 773 * 774 * <p>The following schema fragment specifies the expected content contained within this class. 775 * 776 * <pre> 777 * <complexType> 778 * <complexContent> 779 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 780 * <sequence> 781 * <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> 782 * <element name="CarrierName" type="{http://www.w3.org/2001/XMLSchema}string"/> 783 * </sequence> 784 * </restriction> 785 * </complexContent> 786 * </complexType> 787 * </pre> 788 * 789 * 790 */ 791 @XmlAccessorType(XmlAccessType.FIELD) 792 @XmlType(name = "", propOrder = { 793 "trackingNumber", 794 "carrierName" 795 }) 796 public static class Package { 797 798 @XmlElement(name = "TrackingNumber", required = true) 799 protected String trackingNumber; 800 @XmlElement(name = "CarrierName", required = true) 801 protected String carrierName; 802 803 /** 804 * Gets the value of the trackingNumber property. 805 * 806 * @return 807 * possible object is 808 * {@link String } 809 * 810 */ 811 public String getTrackingNumber() { 812 return trackingNumber; 813 } 814 815 /** 816 * Sets the value of the trackingNumber property. 817 * 818 * @param value 819 * allowed object is 820 * {@link String } 821 * 822 */ 823 public void setTrackingNumber(String value) { 824 this.trackingNumber = value; 825 } 826 827 /** 828 * Gets the value of the carrierName property. 829 * 830 * @return 831 * possible object is 832 * {@link String } 833 * 834 */ 835 public String getCarrierName() { 836 return carrierName; 837 } 838 839 /** 840 * Sets the value of the carrierName property. 841 * 842 * @param value 843 * allowed object is 844 * {@link String } 845 * 846 */ 847 public void setCarrierName(String value) { 848 this.carrierName = value; 849 } 850 851 } 852 853 } 854 855 856 /** 857 * <p>Java class for anonymous complex type. 858 * 859 * <p>The following schema fragment specifies the expected content contained within this class. 860 * 861 * <pre> 862 * <complexType> 863 * <complexContent> 864 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 865 * <sequence> 866 * <element name="TransactionItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> 867 * </sequence> 868 * </restriction> 869 * </complexContent> 870 * </complexType> 871 * </pre> 872 * 873 * 874 */ 875 @XmlAccessorType(XmlAccessType.FIELD) 876 @XmlType(name = "", propOrder = { 877 "transactionItemId" 878 }) 879 public static class ShipmentItems { 880 881 @XmlElement(name = "TransactionItemId", required = true) 882 protected List<String> transactionItemId; 883 884 /** 885 * Gets the value of the transactionItemId property. 886 * 887 * <p> 888 * This accessor method returns a reference to the live list, 889 * not a snapshot. Therefore any modification you make to the 890 * returned list will be present inside the JAXB object. 891 * This is why there is not a <CODE>set</CODE> method for the transactionItemId property. 892 * 893 * <p> 894 * For example, to add a new item, do as follows: 895 * <pre> 896 * getTransactionItemId().add(newItem); 897 * </pre> 898 * 899 * 900 * <p> 901 * Objects of the following type(s) are allowed in the list 902 * {@link String } 903 * 904 * 905 */ 906 public List<String> getTransactionItemId() { 907 if (transactionItemId == null) { 908 transactionItemId = new ArrayList<String>(); 909 } 910 return this.transactionItemId; 911 } 912 913 } 914 915 } 916 917 } 918 919 920 /** 921 * <p>Java class for anonymous complex type. 922 * 923 * <p>The following schema fragment specifies the expected content contained within this class. 924 * 925 * <pre> 926 * <complexType> 927 * <complexContent> 928 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 929 * <sequence> 930 * <element name="Total" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 931 * <element name="Subtotal" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 932 * <element name="Tax" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 933 * <element name="ShippingCharge" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 934 * <element name="Promotion" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Price"/> 935 * </sequence> 936 * </restriction> 937 * </complexContent> 938 * </complexType> 939 * </pre> 940 * 941 * 942 */ 943 @XmlAccessorType(XmlAccessType.FIELD) 944 @XmlType(name = "", propOrder = { 945 "total", 946 "subtotal", 947 "tax", 948 "shippingCharge", 949 "promotion" 950 }) 951 public static class Totals { 952 953 @XmlElement(name = "Total", required = true) 954 protected Price total; 955 @XmlElement(name = "Subtotal", required = true) 956 protected Price subtotal; 957 @XmlElement(name = "Tax", required = true) 958 protected Price tax; 959 @XmlElement(name = "ShippingCharge", required = true) 960 protected Price shippingCharge; 961 @XmlElement(name = "Promotion", required = true) 962 protected Price promotion; 963 964 /** 965 * Gets the value of the total property. 966 * 967 * @return 968 * possible object is 969 * {@link Price } 970 * 971 */ 972 public Price getTotal() { 973 return total; 974 } 975 976 /** 977 * Sets the value of the total property. 978 * 979 * @param value 980 * allowed object is 981 * {@link Price } 982 * 983 */ 984 public void setTotal(Price value) { 985 this.total = value; 986 } 987 988 /** 989 * Gets the value of the subtotal property. 990 * 991 * @return 992 * possible object is 993 * {@link Price } 994 * 995 */ 996 public Price getSubtotal() { 997 return subtotal; 998 } 999 1000 /** 1001 * Sets the value of the subtotal property. 1002 * 1003 * @param value 1004 * allowed object is 1005 * {@link Price } 1006 * 1007 */ 1008 public void setSubtotal(Price value) { 1009 this.subtotal = value; 1010 } 1011 1012 /** 1013 * Gets the value of the tax property. 1014 * 1015 * @return 1016 * possible object is 1017 * {@link Price } 1018 * 1019 */ 1020 public Price getTax() { 1021 return tax; 1022 } 1023 1024 /** 1025 * Sets the value of the tax property. 1026 * 1027 * @param value 1028 * allowed object is 1029 * {@link Price } 1030 * 1031 */ 1032 public void setTax(Price value) { 1033 this.tax = value; 1034 } 1035 1036 /** 1037 * Gets the value of the shippingCharge property. 1038 * 1039 * @return 1040 * possible object is 1041 * {@link Price } 1042 * 1043 */ 1044 public Price getShippingCharge() { 1045 return shippingCharge; 1046 } 1047 1048 /** 1049 * Sets the value of the shippingCharge property. 1050 * 1051 * @param value 1052 * allowed object is 1053 * {@link Price } 1054 * 1055 */ 1056 public void setShippingCharge(Price value) { 1057 this.shippingCharge = value; 1058 } 1059 1060 /** 1061 * Gets the value of the promotion property. 1062 * 1063 * @return 1064 * possible object is 1065 * {@link Price } 1066 * 1067 */ 1068 public Price getPromotion() { 1069 return promotion; 1070 } 1071 1072 /** 1073 * Sets the value of the promotion property. 1074 * 1075 * @param value 1076 * allowed object is 1077 * {@link Price } 1078 * 1079 */ 1080 public void setPromotion(Price value) { 1081 this.promotion = value; 1082 } 1083 1084 } 1085 1086 1087 /** 1088 * <p>Java class for anonymous complex type. 1089 * 1090 * <p>The following schema fragment specifies the expected content contained within this class. 1091 * 1092 * <pre> 1093 * <complexType> 1094 * <complexContent> 1095 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1096 * <sequence> 1097 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}TransactionItem" maxOccurs="unbounded"/> 1098 * </sequence> 1099 * </restriction> 1100 * </complexContent> 1101 * </complexType> 1102 * </pre> 1103 * 1104 * 1105 */ 1106 @XmlAccessorType(XmlAccessType.FIELD) 1107 @XmlType(name = "", propOrder = { 1108 "transactionItem" 1109 }) 1110 public static class TransactionItems { 1111 1112 @XmlElement(name = "TransactionItem", required = true) 1113 protected List<TransactionItem> transactionItem; 1114 1115 /** 1116 * Gets the value of the transactionItem property. 1117 * 1118 * <p> 1119 * This accessor method returns a reference to the live list, 1120 * not a snapshot. Therefore any modification you make to the 1121 * returned list will be present inside the JAXB object. 1122 * This is why there is not a <CODE>set</CODE> method for the transactionItem property. 1123 * 1124 * <p> 1125 * For example, to add a new item, do as follows: 1126 * <pre> 1127 * getTransactionItem().add(newItem); 1128 * </pre> 1129 * 1130 * 1131 * <p> 1132 * Objects of the following type(s) are allowed in the list 1133 * {@link TransactionItem } 1134 * 1135 * 1136 */ 1137 public List<TransactionItem> getTransactionItem() { 1138 if (transactionItem == null) { 1139 transactionItem = new ArrayList<TransactionItem>(); 1140 } 1141 return this.transactionItem; 1142 } 1143 1144 } 1145 1146 }