| Line 6... |
Line 6... |
| 6 |
*/
|
6 |
*/
|
| 7 |
|
7 |
|
| 8 |
package com.aramex.stub;
|
8 |
package com.aramex.stub;
|
| 9 |
|
9 |
|
| 10 |
public class ShipmentDetails implements java.io.Serializable {
|
10 |
public class ShipmentDetails implements java.io.Serializable {
|
| 11 |
@Override
|
- |
|
| 12 |
public String toString() {
|
- |
|
| 13 |
return "ShipmentDetails [dimensions=" + dimensions + ", actualWeight=" + actualWeight + ", chargeableWeight=" + chargeableWeight
|
- |
|
| 14 |
+ ", descriptionOfGoods=" + descriptionOfGoods + ", goodsOriginCountry=" + goodsOriginCountry + ", numberOfPieces="
|
- |
|
| 15 |
+ numberOfPieces + ", productGroup=" + productGroup + ", productType=" + productType + ", paymentType=" + paymentType
|
- |
|
| 16 |
+ ", paymentOptions=" + paymentOptions + ", customsValueAmount=" + customsValueAmount + ", cashOnDeliveryAmount="
|
- |
|
| 17 |
+ cashOnDeliveryAmount + ", insuranceAmount=" + insuranceAmount + ", cashAdditionalAmount=" + cashAdditionalAmount
|
- |
|
| 18 |
+ ", cashAdditionalAmountDescription=" + cashAdditionalAmountDescription + ", collectAmount=" + collectAmount
|
- |
|
| 19 |
+ ", services=" + services + ", items=" + items + ", deliveryInstructions=" + deliveryInstructions + "]";
|
- |
|
| 20 |
}
|
- |
|
| 21 |
|
- |
|
| 22 |
private com.aramex.stub.Dimensions dimensions;
|
11 |
private com.aramex.stub.Dimensions dimensions;
|
| 23 |
|
12 |
|
| 24 |
private com.aramex.stub.Weight actualWeight;
|
13 |
private com.aramex.stub.Weight actualWeight;
|
| 25 |
|
14 |
|
| 26 |
private com.aramex.stub.Weight chargeableWeight;
|
15 |
private com.aramex.stub.Weight chargeableWeight;
|
| 27 |
|
16 |
|
| Line 51... |
Line 40... |
| 51 |
|
40 |
|
| 52 |
private com.aramex.stub.Money collectAmount;
|
41 |
private com.aramex.stub.Money collectAmount;
|
| 53 |
|
42 |
|
| 54 |
private java.lang.String services;
|
43 |
private java.lang.String services;
|
| 55 |
|
44 |
|
| 56 |
private com.aramex.stub.ArrayOfShipmentItem items;
|
45 |
private com.aramex.stub.ShipmentItem[] items;
|
| 57 |
|
46 |
|
| 58 |
private com.aramex.stub.DeliveryInstructions deliveryInstructions;
|
47 |
private com.aramex.stub.DeliveryInstructions deliveryInstructions;
|
| 59 |
|
48 |
|
| 60 |
public ShipmentDetails() {
|
49 |
public ShipmentDetails() {
|
| 61 |
}
|
50 |
}
|
| Line 76... |
Line 65... |
| 76 |
com.aramex.stub.Money insuranceAmount,
|
65 |
com.aramex.stub.Money insuranceAmount,
|
| 77 |
com.aramex.stub.Money cashAdditionalAmount,
|
66 |
com.aramex.stub.Money cashAdditionalAmount,
|
| 78 |
java.lang.String cashAdditionalAmountDescription,
|
67 |
java.lang.String cashAdditionalAmountDescription,
|
| 79 |
com.aramex.stub.Money collectAmount,
|
68 |
com.aramex.stub.Money collectAmount,
|
| 80 |
java.lang.String services,
|
69 |
java.lang.String services,
|
| 81 |
com.aramex.stub.ArrayOfShipmentItem items,
|
70 |
com.aramex.stub.ShipmentItem[] items,
|
| 82 |
com.aramex.stub.DeliveryInstructions deliveryInstructions) {
|
71 |
com.aramex.stub.DeliveryInstructions deliveryInstructions) {
|
| 83 |
this.dimensions = dimensions;
|
72 |
this.dimensions = dimensions;
|
| 84 |
this.actualWeight = actualWeight;
|
73 |
this.actualWeight = actualWeight;
|
| 85 |
this.chargeableWeight = chargeableWeight;
|
74 |
this.chargeableWeight = chargeableWeight;
|
| 86 |
this.descriptionOfGoods = descriptionOfGoods;
|
75 |
this.descriptionOfGoods = descriptionOfGoods;
|
| Line 445... |
Line 434... |
| 445 |
/**
|
434 |
/**
|
| 446 |
* Gets the items value for this ShipmentDetails.
|
435 |
* Gets the items value for this ShipmentDetails.
|
| 447 |
*
|
436 |
*
|
| 448 |
* @return items
|
437 |
* @return items
|
| 449 |
*/
|
438 |
*/
|
| 450 |
public com.aramex.stub.ArrayOfShipmentItem getItems() {
|
439 |
public com.aramex.stub.ShipmentItem[] getItems() {
|
| 451 |
return items;
|
440 |
return items;
|
| 452 |
}
|
441 |
}
|
| 453 |
|
442 |
|
| 454 |
|
443 |
|
| 455 |
/**
|
444 |
/**
|
| 456 |
* Sets the items value for this ShipmentDetails.
|
445 |
* Sets the items value for this ShipmentDetails.
|
| 457 |
*
|
446 |
*
|
| 458 |
* @param items
|
447 |
* @param items
|
| 459 |
*/
|
448 |
*/
|
| 460 |
public void setItems(com.aramex.stub.ArrayOfShipmentItem items) {
|
449 |
public void setItems(com.aramex.stub.ShipmentItem[] items) {
|
| 461 |
this.items = items;
|
450 |
this.items = items;
|
| 462 |
}
|
451 |
}
|
| 463 |
|
452 |
|
| 464 |
|
453 |
|
| 465 |
/**
|
454 |
/**
|
| Line 542... |
Line 531... |
| 542 |
((this.services==null && other.getServices()==null) ||
|
531 |
((this.services==null && other.getServices()==null) ||
|
| 543 |
(this.services!=null &&
|
532 |
(this.services!=null &&
|
| 544 |
this.services.equals(other.getServices()))) &&
|
533 |
this.services.equals(other.getServices()))) &&
|
| 545 |
((this.items==null && other.getItems()==null) ||
|
534 |
((this.items==null && other.getItems()==null) ||
|
| 546 |
(this.items!=null &&
|
535 |
(this.items!=null &&
|
| 547 |
this.items.equals(other.getItems()))) &&
|
536 |
java.util.Arrays.equals(this.items, other.getItems()))) &&
|
| 548 |
((this.deliveryInstructions==null && other.getDeliveryInstructions()==null) ||
|
537 |
((this.deliveryInstructions==null && other.getDeliveryInstructions()==null) ||
|
| 549 |
(this.deliveryInstructions!=null &&
|
538 |
(this.deliveryInstructions!=null &&
|
| 550 |
this.deliveryInstructions.equals(other.getDeliveryInstructions())));
|
539 |
this.deliveryInstructions.equals(other.getDeliveryInstructions())));
|
| 551 |
__equalsCalc = null;
|
540 |
__equalsCalc = null;
|
| 552 |
return _equals;
|
541 |
return _equals;
|
| Line 607... |
Line 596... |
| 607 |
}
|
596 |
}
|
| 608 |
if (getServices() != null) {
|
597 |
if (getServices() != null) {
|
| 609 |
_hashCode += getServices().hashCode();
|
598 |
_hashCode += getServices().hashCode();
|
| 610 |
}
|
599 |
}
|
| 611 |
if (getItems() != null) {
|
600 |
if (getItems() != null) {
|
| - |
|
601 |
for (int i=0;
|
| - |
|
602 |
i<java.lang.reflect.Array.getLength(getItems());
|
| - |
|
603 |
i++) {
|
| - |
|
604 |
java.lang.Object obj = java.lang.reflect.Array.get(getItems(), i);
|
| - |
|
605 |
if (obj != null &&
|
| - |
|
606 |
!obj.getClass().isArray()) {
|
| 612 |
_hashCode += getItems().hashCode();
|
607 |
_hashCode += obj.hashCode();
|
| - |
|
608 |
}
|
| - |
|
609 |
}
|
| 613 |
}
|
610 |
}
|
| 614 |
if (getDeliveryInstructions() != null) {
|
611 |
if (getDeliveryInstructions() != null) {
|
| 615 |
_hashCode += getDeliveryInstructions().hashCode();
|
612 |
_hashCode += getDeliveryInstructions().hashCode();
|
| 616 |
}
|
613 |
}
|
| 617 |
__hashCodeCalc = false;
|
614 |
__hashCodeCalc = false;
|
| Line 734... |
Line 731... |
| 734 |
elemField.setNillable(true);
|
731 |
elemField.setNillable(true);
|
| 735 |
typeDesc.addFieldDesc(elemField);
|
732 |
typeDesc.addFieldDesc(elemField);
|
| 736 |
elemField = new org.apache.axis.description.ElementDesc();
|
733 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 737 |
elemField.setFieldName("items");
|
734 |
elemField.setFieldName("items");
|
| 738 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Items"));
|
735 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Items"));
|
| 739 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfShipmentItem"));
|
736 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem"));
|
| 740 |
elemField.setMinOccurs(0);
|
737 |
elemField.setMinOccurs(0);
|
| 741 |
elemField.setNillable(true);
|
738 |
elemField.setNillable(true);
|
| - |
|
739 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem"));
|
| 742 |
typeDesc.addFieldDesc(elemField);
|
740 |
typeDesc.addFieldDesc(elemField);
|
| 743 |
elemField = new org.apache.axis.description.ElementDesc();
|
741 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 744 |
elemField.setFieldName("deliveryInstructions");
|
742 |
elemField.setFieldName("deliveryInstructions");
|
| 745 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
|
743 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
|
| 746 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
|
744 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
|