| Line 832... |
Line 832... |
| 832 |
return lineItem;
|
832 |
return lineItem;
|
| 833 |
}
|
833 |
}
|
| 834 |
public void setLineItem(LineItem lineItem) {
|
834 |
public void setLineItem(LineItem lineItem) {
|
| 835 |
this.lineItem = lineItem;
|
835 |
this.lineItem = lineItem;
|
| 836 |
}
|
836 |
}
|
| - |
|
837 |
|
| - |
|
838 |
|
| - |
|
839 |
@Override
|
| - |
|
840 |
public int hashCode() {
|
| - |
|
841 |
final int prime = 31;
|
| - |
|
842 |
int result = 1;
|
| - |
|
843 |
result = prime * result + ((acceptedTimestamp == null) ? 0 : acceptedTimestamp.hashCode());
|
| - |
|
844 |
result = prime * result + ((advanceAmount == null) ? 0 : advanceAmount.hashCode());
|
| - |
|
845 |
result = prime * result + ((airwayBillNumber == null) ? 0 : airwayBillNumber.hashCode());
|
| - |
|
846 |
result = prime * result + ((batchNumber == null) ? 0 : batchNumber.hashCode());
|
| - |
|
847 |
result = prime * result + ((billedBy == null) ? 0 : billedBy.hashCode());
|
| - |
|
848 |
result = prime * result + ((billingTimestamp == null) ? 0 : billingTimestamp.hashCode());
|
| - |
|
849 |
result = prime * result + ((cod == null) ? 0 : cod.hashCode());
|
| - |
|
850 |
result = prime * result + ((codCharges == null) ? 0 : codCharges.hashCode());
|
| - |
|
851 |
result = prime * result + ((codReconciliationTimestamp == null) ? 0 : codReconciliationTimestamp.hashCode());
|
| - |
|
852 |
result = prime * result + ((courierDeliveryTimestamp == null) ? 0 : courierDeliveryTimestamp.hashCode());
|
| - |
|
853 |
result = prime * result + ((createTimestamp == null) ? 0 : createTimestamp.hashCode());
|
| - |
|
854 |
result = prime * result + ((dataProtectionAmount == null) ? 0 : dataProtectionAmount.hashCode());
|
| - |
|
855 |
result = prime * result + ((dataProtectionInsurer == null) ? 0 : dataProtectionInsurer.hashCode());
|
| - |
|
856 |
result = prime * result + ((delayReason == null) ? 0 : delayReason.hashCode());
|
| - |
|
857 |
result = prime * result + ((delayReasonText == null) ? 0 : delayReasonText.hashCode());
|
| - |
|
858 |
result = prime * result + ((deliveryTimestamp == null) ? 0 : deliveryTimestamp.hashCode());
|
| - |
|
859 |
result = prime * result + ((doaAuthTimestamp == null) ? 0 : doaAuthTimestamp.hashCode());
|
| - |
|
860 |
result = prime * result + ((doaFlag == null) ? 0 : doaFlag.hashCode());
|
| - |
|
861 |
result = prime * result + ((doaLogisticsProviderId == null) ? 0 : doaLogisticsProviderId.hashCode());
|
| - |
|
862 |
result = prime * result + ((doaPickupTimestamp == null) ? 0 : doaPickupTimestamp.hashCode());
|
| - |
|
863 |
result = prime * result + ((expectedDeliveryTime == null) ? 0 : expectedDeliveryTime.hashCode());
|
| - |
|
864 |
result = prime * result + ((expectedShippingTime == null) ? 0 : expectedShippingTime.hashCode());
|
| - |
|
865 |
result = prime * result + ((firstDlvyatmpTimestamp == null) ? 0 : firstDlvyatmpTimestamp.hashCode());
|
| - |
|
866 |
result = prime * result + ((freebieItemId == null) ? 0 : freebieItemId.hashCode());
|
| - |
|
867 |
result = prime * result + ((fulfilmentWarehouseId == null) ? 0 : fulfilmentWarehouseId.hashCode());
|
| - |
|
868 |
result = prime * result + ((gvAmount == null) ? 0 : gvAmount.hashCode());
|
| - |
|
869 |
result = prime * result + ((id == null) ? 0 : id.hashCode());
|
| - |
|
870 |
result = prime * result + ((insuranceAmount == null) ? 0 : insuranceAmount.hashCode());
|
| - |
|
871 |
result = prime * result + ((insurer == null) ? 0 : insurer.hashCode());
|
| - |
|
872 |
result = prime * result + ((invoiceNumber == null) ? 0 : invoiceNumber.hashCode());
|
| - |
|
873 |
result = prime * result + ((jacketNumber == null) ? 0 : jacketNumber.hashCode());
|
| - |
|
874 |
result = prime * result + ((lineItem == null) ? 0 : lineItem.hashCode());
|
| - |
|
875 |
result = prime * result + ((localConnectedTimestamp == null) ? 0 : localConnectedTimestamp.hashCode());
|
| - |
|
876 |
result = prime * result + ((logisticsProviderId == null) ? 0 : logisticsProviderId.hashCode());
|
| - |
|
877 |
result = prime * result + ((logisticsTransactionId == null) ? 0 : logisticsTransactionId.hashCode());
|
| - |
|
878 |
result = prime * result + ((netPayableAmount == null) ? 0 : netPayableAmount.hashCode());
|
| - |
|
879 |
result = prime * result + ((newOrderId == null) ? 0 : newOrderId.hashCode());
|
| - |
|
880 |
result = prime * result + ((orderType == null) ? 0 : orderType.hashCode());
|
| - |
|
881 |
result = prime * result + ((originalOrderId == null) ? 0 : originalOrderId.hashCode());
|
| - |
|
882 |
result = prime * result + ((otg == null) ? 0 : otg.hashCode());
|
| - |
|
883 |
result = prime * result + ((outOfStockTimestamp == null) ? 0 : outOfStockTimestamp.hashCode());
|
| - |
|
884 |
result = prime * result + ((pickupRequestNumber == null) ? 0 : pickupRequestNumber.hashCode());
|
| - |
|
885 |
result = prime * result + ((pickupStoreId == null) ? 0 : pickupStoreId.hashCode());
|
| - |
|
886 |
result = prime * result + ((pickupTimestamp == null) ? 0 : pickupTimestamp.hashCode());
|
| - |
|
887 |
result = prime * result + ((previousStatus == null) ? 0 : previousStatus.hashCode());
|
| - |
|
888 |
result = prime * result + ((productCondition == null) ? 0 : productCondition.hashCode());
|
| - |
|
889 |
result = prime * result + ((promisedDeliveryTime == null) ? 0 : promisedDeliveryTime.hashCode());
|
| - |
|
890 |
result = prime * result + ((promisedShippingTime == null) ? 0 : promisedShippingTime.hashCode());
|
| - |
|
891 |
result = prime * result + ((purchaseOrderId == null) ? 0 : purchaseOrderId.hashCode());
|
| - |
|
892 |
result = prime * result + ((reShipTimestamp == null) ? 0 : reShipTimestamp.hashCode());
|
| - |
|
893 |
result = prime * result + ((reachedDestinationTimestamp == null) ? 0 : reachedDestinationTimestamp.hashCode());
|
| - |
|
894 |
result = prime * result + ((receiver == null) ? 0 : receiver.hashCode());
|
| - |
|
895 |
result = prime * result + ((receiverReturnTimestamp == null) ? 0 : receiverReturnTimestamp.hashCode());
|
| - |
|
896 |
result = prime * result + ((refundBy == null) ? 0 : refundBy.hashCode());
|
| - |
|
897 |
result = prime * result + ((refundReason == null) ? 0 : refundReason.hashCode());
|
| - |
|
898 |
result = prime * result + ((refundTimestamp == null) ? 0 : refundTimestamp.hashCode());
|
| - |
|
899 |
result = prime * result + ((retailerAddress1 == null) ? 0 : retailerAddress1.hashCode());
|
| - |
|
900 |
result = prime * result + ((retailerAddress2 == null) ? 0 : retailerAddress2.hashCode());
|
| - |
|
901 |
result = prime * result + ((retailerCity == null) ? 0 : retailerCity.hashCode());
|
| - |
|
902 |
result = prime * result + ((retailerEmailId == null) ? 0 : retailerEmailId.hashCode());
|
| - |
|
903 |
result = prime * result + ((retailerId == null) ? 0 : retailerId.hashCode());
|
| - |
|
904 |
result = prime * result + ((retailerMobileNumber == null) ? 0 : retailerMobileNumber.hashCode());
|
| - |
|
905 |
result = prime * result + ((retailerName == null) ? 0 : retailerName.hashCode());
|
| - |
|
906 |
result = prime * result + ((retailerPinCode == null) ? 0 : retailerPinCode.hashCode());
|
| - |
|
907 |
result = prime * result + ((retailerState == null) ? 0 : retailerState.hashCode());
|
| - |
|
908 |
result = prime * result + ((sellerId == null) ? 0 : sellerId.hashCode());
|
| - |
|
909 |
result = prime * result + ((serialNumber == null) ? 0 : serialNumber.hashCode());
|
| - |
|
910 |
result = prime * result + ((shippingCost == null) ? 0 : shippingCost.hashCode());
|
| - |
|
911 |
result = prime * result + ((shippingRefund == null) ? 0 : shippingRefund.hashCode());
|
| - |
|
912 |
result = prime * result + ((shippingTimestamp == null) ? 0 : shippingTimestamp.hashCode());
|
| - |
|
913 |
result = prime * result + ((source == null) ? 0 : source.hashCode());
|
| - |
|
914 |
result = prime * result + ((status == null) ? 0 : status.hashCode());
|
| - |
|
915 |
result = prime * result + ((statusDescription == null) ? 0 : statusDescription.hashCode());
|
| - |
|
916 |
result = prime * result + ((storeId == null) ? 0 : storeId.hashCode());
|
| - |
|
917 |
result = prime * result + ((taxType == null) ? 0 : taxType.hashCode());
|
| - |
|
918 |
result = prime * result + ((totalAmount == null) ? 0 : totalAmount.hashCode());
|
| - |
|
919 |
result = prime * result + ((totalWeight == null) ? 0 : totalWeight.hashCode());
|
| - |
|
920 |
result = prime * result + ((trackingId == null) ? 0 : trackingId.hashCode());
|
| - |
|
921 |
result = prime * result + ((transactionId == null) ? 0 : transactionId.hashCode());
|
| - |
|
922 |
result = prime * result + ((vendorId == null) ? 0 : vendorId.hashCode());
|
| - |
|
923 |
result = prime * result + ((vendorPaid == null) ? 0 : vendorPaid.hashCode());
|
| - |
|
924 |
result = prime * result + ((verificationTimestamp == null) ? 0 : verificationTimestamp.hashCode());
|
| - |
|
925 |
result = prime * result + ((walletAmount == null) ? 0 : walletAmount.hashCode());
|
| - |
|
926 |
result = prime * result + ((warehouseAddressId == null) ? 0 : warehouseAddressId.hashCode());
|
| - |
|
927 |
result = prime * result + ((warehouseId == null) ? 0 : warehouseId.hashCode());
|
| - |
|
928 |
return result;
|
| - |
|
929 |
}
|
| - |
|
930 |
@Override
|
| - |
|
931 |
public boolean equals(Object obj) {
|
| - |
|
932 |
if (this == obj)
|
| - |
|
933 |
return true;
|
| - |
|
934 |
if (obj == null)
|
| - |
|
935 |
return false;
|
| - |
|
936 |
if (getClass() != obj.getClass())
|
| - |
|
937 |
return false;
|
| - |
|
938 |
Order other = (Order) obj;
|
| - |
|
939 |
if (acceptedTimestamp == null) {
|
| - |
|
940 |
if (other.acceptedTimestamp != null)
|
| - |
|
941 |
return false;
|
| - |
|
942 |
} else if (!acceptedTimestamp.equals(other.acceptedTimestamp))
|
| - |
|
943 |
return false;
|
| - |
|
944 |
if (advanceAmount == null) {
|
| - |
|
945 |
if (other.advanceAmount != null)
|
| - |
|
946 |
return false;
|
| - |
|
947 |
} else if (!advanceAmount.equals(other.advanceAmount))
|
| - |
|
948 |
return false;
|
| - |
|
949 |
if (airwayBillNumber == null) {
|
| - |
|
950 |
if (other.airwayBillNumber != null)
|
| - |
|
951 |
return false;
|
| - |
|
952 |
} else if (!airwayBillNumber.equals(other.airwayBillNumber))
|
| - |
|
953 |
return false;
|
| - |
|
954 |
if (batchNumber == null) {
|
| - |
|
955 |
if (other.batchNumber != null)
|
| - |
|
956 |
return false;
|
| - |
|
957 |
} else if (!batchNumber.equals(other.batchNumber))
|
| - |
|
958 |
return false;
|
| - |
|
959 |
if (billedBy == null) {
|
| - |
|
960 |
if (other.billedBy != null)
|
| - |
|
961 |
return false;
|
| - |
|
962 |
} else if (!billedBy.equals(other.billedBy))
|
| - |
|
963 |
return false;
|
| - |
|
964 |
if (billingTimestamp == null) {
|
| - |
|
965 |
if (other.billingTimestamp != null)
|
| - |
|
966 |
return false;
|
| - |
|
967 |
} else if (!billingTimestamp.equals(other.billingTimestamp))
|
| - |
|
968 |
return false;
|
| - |
|
969 |
if (cod == null) {
|
| - |
|
970 |
if (other.cod != null)
|
| - |
|
971 |
return false;
|
| - |
|
972 |
} else if (!cod.equals(other.cod))
|
| - |
|
973 |
return false;
|
| - |
|
974 |
if (codCharges == null) {
|
| - |
|
975 |
if (other.codCharges != null)
|
| - |
|
976 |
return false;
|
| - |
|
977 |
} else if (!codCharges.equals(other.codCharges))
|
| - |
|
978 |
return false;
|
| - |
|
979 |
if (codReconciliationTimestamp == null) {
|
| - |
|
980 |
if (other.codReconciliationTimestamp != null)
|
| - |
|
981 |
return false;
|
| - |
|
982 |
} else if (!codReconciliationTimestamp.equals(other.codReconciliationTimestamp))
|
| - |
|
983 |
return false;
|
| - |
|
984 |
if (courierDeliveryTimestamp == null) {
|
| - |
|
985 |
if (other.courierDeliveryTimestamp != null)
|
| - |
|
986 |
return false;
|
| - |
|
987 |
} else if (!courierDeliveryTimestamp.equals(other.courierDeliveryTimestamp))
|
| - |
|
988 |
return false;
|
| - |
|
989 |
if (createTimestamp == null) {
|
| - |
|
990 |
if (other.createTimestamp != null)
|
| - |
|
991 |
return false;
|
| - |
|
992 |
} else if (!createTimestamp.equals(other.createTimestamp))
|
| - |
|
993 |
return false;
|
| - |
|
994 |
if (dataProtectionAmount == null) {
|
| - |
|
995 |
if (other.dataProtectionAmount != null)
|
| - |
|
996 |
return false;
|
| - |
|
997 |
} else if (!dataProtectionAmount.equals(other.dataProtectionAmount))
|
| - |
|
998 |
return false;
|
| - |
|
999 |
if (dataProtectionInsurer == null) {
|
| - |
|
1000 |
if (other.dataProtectionInsurer != null)
|
| - |
|
1001 |
return false;
|
| - |
|
1002 |
} else if (!dataProtectionInsurer.equals(other.dataProtectionInsurer))
|
| - |
|
1003 |
return false;
|
| - |
|
1004 |
if (delayReason != other.delayReason)
|
| - |
|
1005 |
return false;
|
| - |
|
1006 |
if (delayReasonText == null) {
|
| - |
|
1007 |
if (other.delayReasonText != null)
|
| - |
|
1008 |
return false;
|
| - |
|
1009 |
} else if (!delayReasonText.equals(other.delayReasonText))
|
| - |
|
1010 |
return false;
|
| - |
|
1011 |
if (deliveryTimestamp == null) {
|
| - |
|
1012 |
if (other.deliveryTimestamp != null)
|
| - |
|
1013 |
return false;
|
| - |
|
1014 |
} else if (!deliveryTimestamp.equals(other.deliveryTimestamp))
|
| - |
|
1015 |
return false;
|
| - |
|
1016 |
if (doaAuthTimestamp == null) {
|
| - |
|
1017 |
if (other.doaAuthTimestamp != null)
|
| - |
|
1018 |
return false;
|
| - |
|
1019 |
} else if (!doaAuthTimestamp.equals(other.doaAuthTimestamp))
|
| - |
|
1020 |
return false;
|
| - |
|
1021 |
if (doaFlag == null) {
|
| - |
|
1022 |
if (other.doaFlag != null)
|
| - |
|
1023 |
return false;
|
| - |
|
1024 |
} else if (!doaFlag.equals(other.doaFlag))
|
| - |
|
1025 |
return false;
|
| - |
|
1026 |
if (doaLogisticsProviderId == null) {
|
| - |
|
1027 |
if (other.doaLogisticsProviderId != null)
|
| - |
|
1028 |
return false;
|
| - |
|
1029 |
} else if (!doaLogisticsProviderId.equals(other.doaLogisticsProviderId))
|
| - |
|
1030 |
return false;
|
| - |
|
1031 |
if (doaPickupTimestamp == null) {
|
| - |
|
1032 |
if (other.doaPickupTimestamp != null)
|
| - |
|
1033 |
return false;
|
| - |
|
1034 |
} else if (!doaPickupTimestamp.equals(other.doaPickupTimestamp))
|
| - |
|
1035 |
return false;
|
| - |
|
1036 |
if (expectedDeliveryTime == null) {
|
| - |
|
1037 |
if (other.expectedDeliveryTime != null)
|
| - |
|
1038 |
return false;
|
| - |
|
1039 |
} else if (!expectedDeliveryTime.equals(other.expectedDeliveryTime))
|
| - |
|
1040 |
return false;
|
| - |
|
1041 |
if (expectedShippingTime == null) {
|
| - |
|
1042 |
if (other.expectedShippingTime != null)
|
| - |
|
1043 |
return false;
|
| - |
|
1044 |
} else if (!expectedShippingTime.equals(other.expectedShippingTime))
|
| - |
|
1045 |
return false;
|
| - |
|
1046 |
if (firstDlvyatmpTimestamp == null) {
|
| - |
|
1047 |
if (other.firstDlvyatmpTimestamp != null)
|
| - |
|
1048 |
return false;
|
| - |
|
1049 |
} else if (!firstDlvyatmpTimestamp.equals(other.firstDlvyatmpTimestamp))
|
| - |
|
1050 |
return false;
|
| - |
|
1051 |
if (freebieItemId == null) {
|
| - |
|
1052 |
if (other.freebieItemId != null)
|
| - |
|
1053 |
return false;
|
| - |
|
1054 |
} else if (!freebieItemId.equals(other.freebieItemId))
|
| - |
|
1055 |
return false;
|
| - |
|
1056 |
if (fulfilmentWarehouseId == null) {
|
| - |
|
1057 |
if (other.fulfilmentWarehouseId != null)
|
| - |
|
1058 |
return false;
|
| - |
|
1059 |
} else if (!fulfilmentWarehouseId.equals(other.fulfilmentWarehouseId))
|
| - |
|
1060 |
return false;
|
| - |
|
1061 |
if (gvAmount == null) {
|
| - |
|
1062 |
if (other.gvAmount != null)
|
| - |
|
1063 |
return false;
|
| - |
|
1064 |
} else if (!gvAmount.equals(other.gvAmount))
|
| - |
|
1065 |
return false;
|
| - |
|
1066 |
if (id == null) {
|
| - |
|
1067 |
if (other.id != null)
|
| - |
|
1068 |
return false;
|
| - |
|
1069 |
} else if (!id.equals(other.id))
|
| - |
|
1070 |
return false;
|
| - |
|
1071 |
if (insuranceAmount == null) {
|
| - |
|
1072 |
if (other.insuranceAmount != null)
|
| - |
|
1073 |
return false;
|
| - |
|
1074 |
} else if (!insuranceAmount.equals(other.insuranceAmount))
|
| - |
|
1075 |
return false;
|
| - |
|
1076 |
if (insurer == null) {
|
| - |
|
1077 |
if (other.insurer != null)
|
| - |
|
1078 |
return false;
|
| - |
|
1079 |
} else if (!insurer.equals(other.insurer))
|
| - |
|
1080 |
return false;
|
| - |
|
1081 |
if (invoiceNumber == null) {
|
| - |
|
1082 |
if (other.invoiceNumber != null)
|
| - |
|
1083 |
return false;
|
| - |
|
1084 |
} else if (!invoiceNumber.equals(other.invoiceNumber))
|
| - |
|
1085 |
return false;
|
| - |
|
1086 |
if (jacketNumber == null) {
|
| - |
|
1087 |
if (other.jacketNumber != null)
|
| - |
|
1088 |
return false;
|
| - |
|
1089 |
} else if (!jacketNumber.equals(other.jacketNumber))
|
| - |
|
1090 |
return false;
|
| - |
|
1091 |
if (lineItem == null) {
|
| - |
|
1092 |
if (other.lineItem != null)
|
| - |
|
1093 |
return false;
|
| - |
|
1094 |
} else if (!lineItem.equals(other.lineItem))
|
| - |
|
1095 |
return false;
|
| - |
|
1096 |
if (localConnectedTimestamp == null) {
|
| - |
|
1097 |
if (other.localConnectedTimestamp != null)
|
| - |
|
1098 |
return false;
|
| - |
|
1099 |
} else if (!localConnectedTimestamp.equals(other.localConnectedTimestamp))
|
| - |
|
1100 |
return false;
|
| - |
|
1101 |
if (logisticsProviderId == null) {
|
| - |
|
1102 |
if (other.logisticsProviderId != null)
|
| - |
|
1103 |
return false;
|
| - |
|
1104 |
} else if (!logisticsProviderId.equals(other.logisticsProviderId))
|
| - |
|
1105 |
return false;
|
| - |
|
1106 |
if (logisticsTransactionId == null) {
|
| - |
|
1107 |
if (other.logisticsTransactionId != null)
|
| - |
|
1108 |
return false;
|
| - |
|
1109 |
} else if (!logisticsTransactionId.equals(other.logisticsTransactionId))
|
| - |
|
1110 |
return false;
|
| - |
|
1111 |
if (netPayableAmount == null) {
|
| - |
|
1112 |
if (other.netPayableAmount != null)
|
| - |
|
1113 |
return false;
|
| - |
|
1114 |
} else if (!netPayableAmount.equals(other.netPayableAmount))
|
| - |
|
1115 |
return false;
|
| - |
|
1116 |
if (newOrderId == null) {
|
| - |
|
1117 |
if (other.newOrderId != null)
|
| - |
|
1118 |
return false;
|
| - |
|
1119 |
} else if (!newOrderId.equals(other.newOrderId))
|
| - |
|
1120 |
return false;
|
| - |
|
1121 |
if (orderType == null) {
|
| - |
|
1122 |
if (other.orderType != null)
|
| - |
|
1123 |
return false;
|
| - |
|
1124 |
} else if (!orderType.equals(other.orderType))
|
| - |
|
1125 |
return false;
|
| - |
|
1126 |
if (originalOrderId == null) {
|
| - |
|
1127 |
if (other.originalOrderId != null)
|
| - |
|
1128 |
return false;
|
| - |
|
1129 |
} else if (!originalOrderId.equals(other.originalOrderId))
|
| - |
|
1130 |
return false;
|
| - |
|
1131 |
if (otg == null) {
|
| - |
|
1132 |
if (other.otg != null)
|
| - |
|
1133 |
return false;
|
| - |
|
1134 |
} else if (!otg.equals(other.otg))
|
| - |
|
1135 |
return false;
|
| - |
|
1136 |
if (outOfStockTimestamp == null) {
|
| - |
|
1137 |
if (other.outOfStockTimestamp != null)
|
| - |
|
1138 |
return false;
|
| - |
|
1139 |
} else if (!outOfStockTimestamp.equals(other.outOfStockTimestamp))
|
| - |
|
1140 |
return false;
|
| - |
|
1141 |
if (pickupRequestNumber == null) {
|
| - |
|
1142 |
if (other.pickupRequestNumber != null)
|
| - |
|
1143 |
return false;
|
| - |
|
1144 |
} else if (!pickupRequestNumber.equals(other.pickupRequestNumber))
|
| - |
|
1145 |
return false;
|
| - |
|
1146 |
if (pickupStoreId == null) {
|
| - |
|
1147 |
if (other.pickupStoreId != null)
|
| - |
|
1148 |
return false;
|
| - |
|
1149 |
} else if (!pickupStoreId.equals(other.pickupStoreId))
|
| - |
|
1150 |
return false;
|
| - |
|
1151 |
if (pickupTimestamp == null) {
|
| - |
|
1152 |
if (other.pickupTimestamp != null)
|
| - |
|
1153 |
return false;
|
| - |
|
1154 |
} else if (!pickupTimestamp.equals(other.pickupTimestamp))
|
| - |
|
1155 |
return false;
|
| - |
|
1156 |
if (previousStatus == null) {
|
| - |
|
1157 |
if (other.previousStatus != null)
|
| - |
|
1158 |
return false;
|
| - |
|
1159 |
} else if (!previousStatus.equals(other.previousStatus))
|
| - |
|
1160 |
return false;
|
| - |
|
1161 |
if (productCondition == null) {
|
| - |
|
1162 |
if (other.productCondition != null)
|
| - |
|
1163 |
return false;
|
| - |
|
1164 |
} else if (!productCondition.equals(other.productCondition))
|
| - |
|
1165 |
return false;
|
| - |
|
1166 |
if (promisedDeliveryTime == null) {
|
| - |
|
1167 |
if (other.promisedDeliveryTime != null)
|
| - |
|
1168 |
return false;
|
| - |
|
1169 |
} else if (!promisedDeliveryTime.equals(other.promisedDeliveryTime))
|
| - |
|
1170 |
return false;
|
| - |
|
1171 |
if (promisedShippingTime == null) {
|
| - |
|
1172 |
if (other.promisedShippingTime != null)
|
| - |
|
1173 |
return false;
|
| - |
|
1174 |
} else if (!promisedShippingTime.equals(other.promisedShippingTime))
|
| - |
|
1175 |
return false;
|
| - |
|
1176 |
if (purchaseOrderId == null) {
|
| - |
|
1177 |
if (other.purchaseOrderId != null)
|
| - |
|
1178 |
return false;
|
| - |
|
1179 |
} else if (!purchaseOrderId.equals(other.purchaseOrderId))
|
| - |
|
1180 |
return false;
|
| - |
|
1181 |
if (reShipTimestamp == null) {
|
| - |
|
1182 |
if (other.reShipTimestamp != null)
|
| - |
|
1183 |
return false;
|
| - |
|
1184 |
} else if (!reShipTimestamp.equals(other.reShipTimestamp))
|
| - |
|
1185 |
return false;
|
| - |
|
1186 |
if (reachedDestinationTimestamp == null) {
|
| - |
|
1187 |
if (other.reachedDestinationTimestamp != null)
|
| - |
|
1188 |
return false;
|
| - |
|
1189 |
} else if (!reachedDestinationTimestamp.equals(other.reachedDestinationTimestamp))
|
| - |
|
1190 |
return false;
|
| - |
|
1191 |
if (receiver == null) {
|
| - |
|
1192 |
if (other.receiver != null)
|
| - |
|
1193 |
return false;
|
| - |
|
1194 |
} else if (!receiver.equals(other.receiver))
|
| - |
|
1195 |
return false;
|
| - |
|
1196 |
if (receiverReturnTimestamp == null) {
|
| - |
|
1197 |
if (other.receiverReturnTimestamp != null)
|
| - |
|
1198 |
return false;
|
| - |
|
1199 |
} else if (!receiverReturnTimestamp.equals(other.receiverReturnTimestamp))
|
| - |
|
1200 |
return false;
|
| - |
|
1201 |
if (refundBy == null) {
|
| - |
|
1202 |
if (other.refundBy != null)
|
| - |
|
1203 |
return false;
|
| - |
|
1204 |
} else if (!refundBy.equals(other.refundBy))
|
| - |
|
1205 |
return false;
|
| - |
|
1206 |
if (refundReason == null) {
|
| - |
|
1207 |
if (other.refundReason != null)
|
| - |
|
1208 |
return false;
|
| - |
|
1209 |
} else if (!refundReason.equals(other.refundReason))
|
| - |
|
1210 |
return false;
|
| - |
|
1211 |
if (refundTimestamp == null) {
|
| - |
|
1212 |
if (other.refundTimestamp != null)
|
| - |
|
1213 |
return false;
|
| - |
|
1214 |
} else if (!refundTimestamp.equals(other.refundTimestamp))
|
| - |
|
1215 |
return false;
|
| - |
|
1216 |
if (retailerAddress1 == null) {
|
| - |
|
1217 |
if (other.retailerAddress1 != null)
|
| - |
|
1218 |
return false;
|
| - |
|
1219 |
} else if (!retailerAddress1.equals(other.retailerAddress1))
|
| - |
|
1220 |
return false;
|
| - |
|
1221 |
if (retailerAddress2 == null) {
|
| - |
|
1222 |
if (other.retailerAddress2 != null)
|
| - |
|
1223 |
return false;
|
| - |
|
1224 |
} else if (!retailerAddress2.equals(other.retailerAddress2))
|
| - |
|
1225 |
return false;
|
| - |
|
1226 |
if (retailerCity == null) {
|
| - |
|
1227 |
if (other.retailerCity != null)
|
| - |
|
1228 |
return false;
|
| - |
|
1229 |
} else if (!retailerCity.equals(other.retailerCity))
|
| - |
|
1230 |
return false;
|
| - |
|
1231 |
if (retailerEmailId == null) {
|
| - |
|
1232 |
if (other.retailerEmailId != null)
|
| - |
|
1233 |
return false;
|
| - |
|
1234 |
} else if (!retailerEmailId.equals(other.retailerEmailId))
|
| - |
|
1235 |
return false;
|
| - |
|
1236 |
if (retailerId == null) {
|
| - |
|
1237 |
if (other.retailerId != null)
|
| - |
|
1238 |
return false;
|
| - |
|
1239 |
} else if (!retailerId.equals(other.retailerId))
|
| - |
|
1240 |
return false;
|
| - |
|
1241 |
if (retailerMobileNumber == null) {
|
| - |
|
1242 |
if (other.retailerMobileNumber != null)
|
| - |
|
1243 |
return false;
|
| - |
|
1244 |
} else if (!retailerMobileNumber.equals(other.retailerMobileNumber))
|
| - |
|
1245 |
return false;
|
| - |
|
1246 |
if (retailerName == null) {
|
| - |
|
1247 |
if (other.retailerName != null)
|
| - |
|
1248 |
return false;
|
| - |
|
1249 |
} else if (!retailerName.equals(other.retailerName))
|
| - |
|
1250 |
return false;
|
| - |
|
1251 |
if (retailerPinCode == null) {
|
| - |
|
1252 |
if (other.retailerPinCode != null)
|
| - |
|
1253 |
return false;
|
| - |
|
1254 |
} else if (!retailerPinCode.equals(other.retailerPinCode))
|
| - |
|
1255 |
return false;
|
| - |
|
1256 |
if (retailerState == null) {
|
| - |
|
1257 |
if (other.retailerState != null)
|
| - |
|
1258 |
return false;
|
| - |
|
1259 |
} else if (!retailerState.equals(other.retailerState))
|
| - |
|
1260 |
return false;
|
| - |
|
1261 |
if (sellerId == null) {
|
| - |
|
1262 |
if (other.sellerId != null)
|
| - |
|
1263 |
return false;
|
| - |
|
1264 |
} else if (!sellerId.equals(other.sellerId))
|
| - |
|
1265 |
return false;
|
| - |
|
1266 |
if (serialNumber == null) {
|
| - |
|
1267 |
if (other.serialNumber != null)
|
| - |
|
1268 |
return false;
|
| - |
|
1269 |
} else if (!serialNumber.equals(other.serialNumber))
|
| - |
|
1270 |
return false;
|
| - |
|
1271 |
if (shippingCost == null) {
|
| - |
|
1272 |
if (other.shippingCost != null)
|
| - |
|
1273 |
return false;
|
| - |
|
1274 |
} else if (!shippingCost.equals(other.shippingCost))
|
| - |
|
1275 |
return false;
|
| - |
|
1276 |
if (shippingRefund == null) {
|
| - |
|
1277 |
if (other.shippingRefund != null)
|
| - |
|
1278 |
return false;
|
| - |
|
1279 |
} else if (!shippingRefund.equals(other.shippingRefund))
|
| - |
|
1280 |
return false;
|
| - |
|
1281 |
if (shippingTimestamp == null) {
|
| - |
|
1282 |
if (other.shippingTimestamp != null)
|
| - |
|
1283 |
return false;
|
| - |
|
1284 |
} else if (!shippingTimestamp.equals(other.shippingTimestamp))
|
| - |
|
1285 |
return false;
|
| - |
|
1286 |
if (source == null) {
|
| - |
|
1287 |
if (other.source != null)
|
| - |
|
1288 |
return false;
|
| - |
|
1289 |
} else if (!source.equals(other.source))
|
| - |
|
1290 |
return false;
|
| - |
|
1291 |
if (status != other.status)
|
| - |
|
1292 |
return false;
|
| - |
|
1293 |
if (statusDescription == null) {
|
| - |
|
1294 |
if (other.statusDescription != null)
|
| - |
|
1295 |
return false;
|
| - |
|
1296 |
} else if (!statusDescription.equals(other.statusDescription))
|
| - |
|
1297 |
return false;
|
| - |
|
1298 |
if (storeId == null) {
|
| - |
|
1299 |
if (other.storeId != null)
|
| - |
|
1300 |
return false;
|
| - |
|
1301 |
} else if (!storeId.equals(other.storeId))
|
| - |
|
1302 |
return false;
|
| - |
|
1303 |
if (taxType != other.taxType)
|
| - |
|
1304 |
return false;
|
| - |
|
1305 |
if (totalAmount == null) {
|
| - |
|
1306 |
if (other.totalAmount != null)
|
| - |
|
1307 |
return false;
|
| - |
|
1308 |
} else if (!totalAmount.equals(other.totalAmount))
|
| - |
|
1309 |
return false;
|
| - |
|
1310 |
if (totalWeight == null) {
|
| - |
|
1311 |
if (other.totalWeight != null)
|
| - |
|
1312 |
return false;
|
| - |
|
1313 |
} else if (!totalWeight.equals(other.totalWeight))
|
| - |
|
1314 |
return false;
|
| - |
|
1315 |
if (trackingId == null) {
|
| - |
|
1316 |
if (other.trackingId != null)
|
| - |
|
1317 |
return false;
|
| - |
|
1318 |
} else if (!trackingId.equals(other.trackingId))
|
| - |
|
1319 |
return false;
|
| - |
|
1320 |
if (transactionId == null) {
|
| - |
|
1321 |
if (other.transactionId != null)
|
| - |
|
1322 |
return false;
|
| - |
|
1323 |
} else if (!transactionId.equals(other.transactionId))
|
| - |
|
1324 |
return false;
|
| - |
|
1325 |
if (vendorId == null) {
|
| - |
|
1326 |
if (other.vendorId != null)
|
| - |
|
1327 |
return false;
|
| - |
|
1328 |
} else if (!vendorId.equals(other.vendorId))
|
| - |
|
1329 |
return false;
|
| - |
|
1330 |
if (vendorPaid == null) {
|
| - |
|
1331 |
if (other.vendorPaid != null)
|
| - |
|
1332 |
return false;
|
| - |
|
1333 |
} else if (!vendorPaid.equals(other.vendorPaid))
|
| - |
|
1334 |
return false;
|
| - |
|
1335 |
if (verificationTimestamp == null) {
|
| - |
|
1336 |
if (other.verificationTimestamp != null)
|
| - |
|
1337 |
return false;
|
| - |
|
1338 |
} else if (!verificationTimestamp.equals(other.verificationTimestamp))
|
| - |
|
1339 |
return false;
|
| - |
|
1340 |
if (walletAmount == null) {
|
| - |
|
1341 |
if (other.walletAmount != null)
|
| - |
|
1342 |
return false;
|
| - |
|
1343 |
} else if (!walletAmount.equals(other.walletAmount))
|
| - |
|
1344 |
return false;
|
| - |
|
1345 |
if (warehouseAddressId == null) {
|
| - |
|
1346 |
if (other.warehouseAddressId != null)
|
| - |
|
1347 |
return false;
|
| - |
|
1348 |
} else if (!warehouseAddressId.equals(other.warehouseAddressId))
|
| - |
|
1349 |
return false;
|
| - |
|
1350 |
if (warehouseId == null) {
|
| - |
|
1351 |
if (other.warehouseId != null)
|
| - |
|
1352 |
return false;
|
| - |
|
1353 |
} else if (!warehouseId.equals(other.warehouseId))
|
| - |
|
1354 |
return false;
|
| - |
|
1355 |
return true;
|
| - |
|
1356 |
}
|
| 837 |
@Override
|
1357 |
@Override
|
| 838 |
public String toString() {
|
1358 |
public String toString() {
|
| 839 |
return "Order [id=" + id + ", warehouseId=" + warehouseId + ", sellerId=" + sellerId + ", warehouseAddressId="
|
1359 |
return "Order [id=" + id + ", warehouseId=" + warehouseId + ", sellerId=" + sellerId + ", warehouseAddressId="
|
| 840 |
+ warehouseAddressId + ", logisticsProviderId=" + logisticsProviderId + ", airwayBillNumber="
|
1360 |
+ warehouseAddressId + ", logisticsProviderId=" + logisticsProviderId + ", airwayBillNumber="
|
| 841 |
+ airwayBillNumber + ", trackingId=" + trackingId + ", expectedDeliveryTime=" + expectedDeliveryTime
|
1361 |
+ airwayBillNumber + ", trackingId=" + trackingId + ", expectedDeliveryTime=" + expectedDeliveryTime
|