Subversion Repositories SmartDukaan

Rev

Rev 7473 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7473 Rev 12245
Line 38... Line 38...
38
 *         <element name="BuyerEmail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38
 *         <element name="BuyerEmail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39
 *         <element name="BuyerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39
 *         <element name="BuyerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40
 *         <element name="ShipmentServiceLevelCategory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40
 *         <element name="ShipmentServiceLevelCategory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41
 *         <element name="ShippedByAmazonTFM" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
41
 *         <element name="ShippedByAmazonTFM" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
42
 *         <element name="TFMShipmentStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
42
 *         <element name="TFMShipmentStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
-
 
43
 *         <element name="CbaDisplayableShippingLabel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
-
 
44
 *         <element name="OrderType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
-
 
45
 *         <element name="EarliestShipDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
-
 
46
 *         <element name="LatestShipDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
-
 
47
 *         <element name="EarliestDeliveryDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
-
 
48
 *         <element name="LatestDeliveryDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>   
43
 *       </sequence>
49
 *       </sequence>
44
 *     </restriction>
50
 *     </restriction>
45
 *   </complexContent>
51
 *   </complexContent>
46
 * </complexType>
52
 * </complexType>
47
 * </pre>
53
 * </pre>
Line 68... Line 74...
68
    "marketplaceId",
74
    "marketplaceId",
69
    "buyerEmail",
75
    "buyerEmail",
70
    "buyerName",
76
    "buyerName",
71
    "shipmentServiceLevelCategory",
77
    "shipmentServiceLevelCategory",
72
    "shippedByAmazonTFM",
78
    "shippedByAmazonTFM",
73
    "tfmShipmentStatus"
79
    "tfmShipmentStatus",
-
 
80
    "cbaDisplayableShippingLabel",
-
 
81
    "orderType",
-
 
82
    "earliestShipDate",
-
 
83
    "latestShipDate",
-
 
84
    "earliestDeliveryDate",
-
 
85
    "latestDeliveryDate"
74
})
86
})
75
public class Order {
87
public class Order {
76
 
88
 
77
    @XmlElement(name = "AmazonOrderId", required = true)
89
    @XmlElement(name = "AmazonOrderId", required = true)
78
    protected String amazonOrderId;
90
    private String amazonOrderId;
79
    @XmlElement(name = "SellerOrderId")
91
    @XmlElement(name = "SellerOrderId")
80
    protected String sellerOrderId;
92
    private String sellerOrderId;
81
    @XmlElement(name = "PurchaseDate", required = true)
93
    @XmlElement(name = "PurchaseDate", required = true)
82
    @XmlSchemaType(name = "dateTime")
94
    @XmlSchemaType(name = "dateTime")
83
    protected XMLGregorianCalendar purchaseDate;
95
    private XMLGregorianCalendar purchaseDate;
84
    @XmlElement(name = "LastUpdateDate", required = true)
96
    @XmlElement(name = "LastUpdateDate", required = true)
85
    @XmlSchemaType(name = "dateTime")
97
    @XmlSchemaType(name = "dateTime")
86
    protected XMLGregorianCalendar lastUpdateDate;
98
    private XMLGregorianCalendar lastUpdateDate;
87
    @XmlElement(name = "OrderStatus", required = true)
99
    @XmlElement(name = "OrderStatus", required = true)
88
    protected OrderStatusEnum orderStatus;
100
    private OrderStatusEnum orderStatus;
89
    @XmlElement(name = "FulfillmentChannel")
101
    @XmlElement(name = "FulfillmentChannel")
90
    protected FulfillmentChannelEnum fulfillmentChannel;
102
    private FulfillmentChannelEnum fulfillmentChannel;
91
    @XmlElement(name = "SalesChannel")
103
    @XmlElement(name = "SalesChannel")
92
    protected String salesChannel;
104
    private String salesChannel;
93
    @XmlElement(name = "OrderChannel")
105
    @XmlElement(name = "OrderChannel")
94
    protected String orderChannel;
106
    private String orderChannel;
95
    @XmlElement(name = "ShipServiceLevel")
107
    @XmlElement(name = "ShipServiceLevel")
96
    protected String shipServiceLevel;
108
    private String shipServiceLevel;
97
    @XmlElement(name = "ShippingAddress")
109
    @XmlElement(name = "ShippingAddress")
98
    protected Address shippingAddress;
110
    private Address shippingAddress;
99
    @XmlElement(name = "OrderTotal")
111
    @XmlElement(name = "OrderTotal")
100
    protected Money orderTotal;
112
    private Money orderTotal;
101
    @XmlElement(name = "NumberOfItemsShipped")
113
    @XmlElement(name = "NumberOfItemsShipped")
102
    protected Integer numberOfItemsShipped;
114
    private Integer numberOfItemsShipped;
103
    @XmlElement(name = "NumberOfItemsUnshipped")
115
    @XmlElement(name = "NumberOfItemsUnshipped")
104
    protected Integer numberOfItemsUnshipped;
116
    private Integer numberOfItemsUnshipped;
105
    @XmlElement(name = "PaymentExecutionDetail")
117
    @XmlElement(name = "PaymentExecutionDetail")
106
    protected PaymentExecutionDetailItemList paymentExecutionDetail;
118
    private PaymentExecutionDetailItemList paymentExecutionDetail;
107
    @XmlElement(name = "PaymentMethod")
119
    @XmlElement(name = "PaymentMethod")
108
    protected PaymentMethodEnum paymentMethod;
120
    private PaymentMethodEnum paymentMethod;
109
    @XmlElement(name = "MarketplaceId")
121
    @XmlElement(name = "MarketplaceId")
110
    protected String marketplaceId;
122
    private String marketplaceId;
111
    @XmlElement(name = "BuyerEmail")
123
    @XmlElement(name = "BuyerEmail")
112
    protected String buyerEmail;
124
    private String buyerEmail;
113
    @XmlElement(name = "BuyerName")
125
    @XmlElement(name = "BuyerName")
114
    protected String buyerName;
126
    private String buyerName;
115
    @XmlElement(name = "ShipmentServiceLevelCategory")
127
    @XmlElement(name = "ShipmentServiceLevelCategory")
116
    protected String shipmentServiceLevelCategory;
128
    private String shipmentServiceLevelCategory;
117
    @XmlElement(name = "ShippedByAmazonTFM")
129
    @XmlElement(name = "ShippedByAmazonTFM")
118
    protected Boolean shippedByAmazonTFM;
130
    private Boolean shippedByAmazonTFM;
119
    @XmlElement(name = "TFMShipmentStatus")
131
    @XmlElement(name = "TFMShipmentStatus")
120
    protected String tfmShipmentStatus;
132
    private String tfmShipmentStatus;
-
 
133
    @XmlElement(name="CbaDisplayableShippingLabel")
-
 
134
    private String cbaDisplayableShippingLabel;
-
 
135
    @XmlElement(name="OrderType")
-
 
136
    private String orderType;
-
 
137
    @XmlElement(name="EarliestShipDate")
-
 
138
    private XMLGregorianCalendar earliestShipDate;
-
 
139
    @XmlElement(name="LatestShipDate")
-
 
140
    private XMLGregorianCalendar latestShipDate;
-
 
141
    @XmlElement(name="EarliestDeliveryDate")
-
 
142
    private XMLGregorianCalendar earliestDeliveryDate;
-
 
143
    @XmlElement(name="LatestDeliveryDate")
-
 
144
    private XMLGregorianCalendar latestDeliveryDate;
121
 
145
 
122
    /**
146
    /**
123
     * Default constructor
147
     * Default constructor
124
     * 
148
     * 
125
     */
149
     */
Line 129... Line 153...
129
 
153
 
130
    /**
154
    /**
131
     * Value constructor
155
     * Value constructor
132
     * 
156
     * 
133
     */
157
     */
134
    public Order(final String amazonOrderId, final String sellerOrderId, final XMLGregorianCalendar purchaseDate, final XMLGregorianCalendar lastUpdateDate, final OrderStatusEnum orderStatus, final FulfillmentChannelEnum fulfillmentChannel, final String salesChannel, final String orderChannel, final String shipServiceLevel, final Address shippingAddress, final Money orderTotal, final Integer numberOfItemsShipped, final Integer numberOfItemsUnshipped, final PaymentExecutionDetailItemList paymentExecutionDetail, final PaymentMethodEnum paymentMethod, final String marketplaceId, final String buyerEmail, final String buyerName, final String shipmentServiceLevelCategory, final Boolean shippedByAmazonTFM, final String tfmShipmentStatus) {
158
    public Order(final String amazonOrderId, final String sellerOrderId, final XMLGregorianCalendar purchaseDate, final XMLGregorianCalendar lastUpdateDate, final OrderStatusEnum orderStatus, final FulfillmentChannelEnum fulfillmentChannel, final String salesChannel, final String orderChannel, final String shipServiceLevel, final Address shippingAddress, final Money orderTotal, final Integer numberOfItemsShipped, final Integer numberOfItemsUnshipped, final PaymentExecutionDetailItemList paymentExecutionDetail, final PaymentMethodEnum paymentMethod, final String marketplaceId, final String buyerEmail, final String buyerName, final String shipmentServiceLevelCategory, final Boolean shippedByAmazonTFM, final String tfmShipmentStatus, final String cbaDisplayableShippingLabel,final String orderType, final XMLGregorianCalendar earliestShipDate, final XMLGregorianCalendar latestShipDate, final XMLGregorianCalendar earliestDeliveryDate,final XMLGregorianCalendar latestDeliveryDate) {
135
        this.amazonOrderId = amazonOrderId;
159
        this.amazonOrderId = amazonOrderId;
136
        this.sellerOrderId = sellerOrderId;
160
        this.sellerOrderId = sellerOrderId;
137
        this.purchaseDate = purchaseDate;
161
        this.purchaseDate = purchaseDate;
138
        this.lastUpdateDate = lastUpdateDate;
162
        this.lastUpdateDate = lastUpdateDate;
139
        this.orderStatus = orderStatus;
163
        this.orderStatus = orderStatus;
Line 151... Line 175...
151
        this.buyerEmail = buyerEmail;
175
        this.buyerEmail = buyerEmail;
152
        this.buyerName = buyerName;
176
        this.buyerName = buyerName;
153
        this.shipmentServiceLevelCategory = shipmentServiceLevelCategory;
177
        this.shipmentServiceLevelCategory = shipmentServiceLevelCategory;
154
        this.shippedByAmazonTFM = shippedByAmazonTFM;
178
        this.shippedByAmazonTFM = shippedByAmazonTFM;
155
        this.tfmShipmentStatus = tfmShipmentStatus;
179
        this.tfmShipmentStatus = tfmShipmentStatus;
-
 
180
        this.cbaDisplayableShippingLabel = cbaDisplayableShippingLabel;
-
 
181
        this.orderType = orderType;
-
 
182
        this.earliestShipDate = earliestShipDate;
-
 
183
        this.latestShipDate = latestShipDate;
-
 
184
        this.earliestDeliveryDate = earliestDeliveryDate;
-
 
185
        this.latestDeliveryDate = latestDeliveryDate;
156
    }
186
    }
157
 
187
 
158
    /**
188
    /**
159
     * Gets the value of the amazonOrderId property.
189
     * Gets the value of the amazonOrderId property.
160
     * 
190
     * 
Line 742... Line 772...
742
    public boolean isSetTFMShipmentStatus() {
772
    public boolean isSetTFMShipmentStatus() {
743
        return (this.tfmShipmentStatus!= null);
773
        return (this.tfmShipmentStatus!= null);
744
    }
774
    }
745
 
775
 
746
    /**
776
    /**
-
 
777
     * Get the value of CbaDisplayableShippingLabel.
-
 
778
     *
-
 
779
     * @return The value of CbaDisplayableShippingLabel.
-
 
780
     */
-
 
781
    public String getCbaDisplayableShippingLabel() {
-
 
782
        return cbaDisplayableShippingLabel;
-
 
783
    }
-
 
784
 
-
 
785
    /**
-
 
786
     * Set the value of CbaDisplayableShippingLabel.
-
 
787
     *
-
 
788
     * @param cbaDisplayableShippingLabel
-
 
789
     *            The new value to set.
-
 
790
     */
-
 
791
    public void setCbaDisplayableShippingLabel(String cbaDisplayableShippingLabel) {
-
 
792
        this.cbaDisplayableShippingLabel = cbaDisplayableShippingLabel;
-
 
793
    }
-
 
794
 
-
 
795
    /**
-
 
796
     * Check to see if CbaDisplayableShippingLabel is set.
-
 
797
     *
-
 
798
     * @return true if CbaDisplayableShippingLabel is set.
-
 
799
     */
-
 
800
    public boolean isSetCbaDisplayableShippingLabel() {
-
 
801
        return cbaDisplayableShippingLabel != null;
-
 
802
    }
-
 
803
 
-
 
804
    /**
-
 
805
     * Get the value of OrderType.
-
 
806
     *
-
 
807
     * @return The value of OrderType.
-
 
808
     */
-
 
809
    public String getOrderType() {
-
 
810
        return orderType;
-
 
811
    }
-
 
812
 
-
 
813
    /**
-
 
814
     * Set the value of OrderType.
-
 
815
     *
-
 
816
     * @param orderType
-
 
817
     *            The new value to set.
-
 
818
     */
-
 
819
    public void setOrderType(String orderType) {
-
 
820
        this.orderType = orderType;
-
 
821
    }
-
 
822
 
-
 
823
    /**
-
 
824
     * Check to see if OrderType is set.
-
 
825
     *
-
 
826
     * @return true if OrderType is set.
-
 
827
     */
-
 
828
    public boolean isSetOrderType() {
-
 
829
        return orderType != null;
-
 
830
    }
-
 
831
    
-
 
832
    /**
-
 
833
     * Get the value of EarliestShipDate.
-
 
834
     *
-
 
835
     * @return The value of EarliestShipDate.
-
 
836
     */
-
 
837
    public XMLGregorianCalendar getEarliestShipDate() {
-
 
838
        return earliestShipDate;
-
 
839
    }
-
 
840
 
-
 
841
    /**
-
 
842
     * Set the value of EarliestShipDate.
-
 
843
     *
-
 
844
     * @param earliestShipDate
-
 
845
     *            The new value to set.
-
 
846
     */
-
 
847
    public void setEarliestShipDate(XMLGregorianCalendar earliestShipDate) {
-
 
848
        this.earliestShipDate = earliestShipDate;
-
 
849
    }
-
 
850
 
-
 
851
    /**
-
 
852
     * Check to see if EarliestShipDate is set.
-
 
853
     *
-
 
854
     * @return true if EarliestShipDate is set.
-
 
855
     */
-
 
856
    public boolean isSetEarliestShipDate() {
-
 
857
        return earliestShipDate != null;
-
 
858
    }
-
 
859
    
-
 
860
    /**
-
 
861
     * Get the value of LatestShipDate.
-
 
862
     *
-
 
863
     * @return The value of LatestShipDate.
-
 
864
     */
-
 
865
    public XMLGregorianCalendar getLatestShipDate() {
-
 
866
        return latestShipDate;
-
 
867
    }
-
 
868
 
-
 
869
    /**
-
 
870
     * Set the value of LatestShipDate.
-
 
871
     *
-
 
872
     * @param latestShipDate
-
 
873
     *            The new value to set.
-
 
874
     */
-
 
875
    public void setLatestShipDate(XMLGregorianCalendar latestShipDate) {
-
 
876
        this.latestShipDate = latestShipDate;
-
 
877
    }
-
 
878
 
-
 
879
    /**
-
 
880
     * Check to see if LatestShipDate is set.
-
 
881
     *
-
 
882
     * @return true if LatestShipDate is set.
-
 
883
     */
-
 
884
    public boolean isSetLatestShipDate() {
-
 
885
        return latestShipDate != null;
-
 
886
    }
-
 
887
    
-
 
888
    /**
-
 
889
     * Get the value of EarliestDeliveryDate.
-
 
890
     *
-
 
891
     * @return The value of EarliestDeliveryDate.
-
 
892
     */
-
 
893
    public XMLGregorianCalendar getEarliestDeliveryDate() {
-
 
894
        return earliestDeliveryDate;
-
 
895
    }
-
 
896
 
-
 
897
    /**
-
 
898
     * Set the value of EarliestDeliveryDate.
-
 
899
     *
-
 
900
     * @param earliestDeliveryDate
-
 
901
     *            The new value to set.
-
 
902
     */
-
 
903
    public void setEarliestDeliveryDate(XMLGregorianCalendar earliestDeliveryDate) {
-
 
904
        this.earliestDeliveryDate = earliestDeliveryDate;
-
 
905
    }
-
 
906
 
-
 
907
    /**
-
 
908
     * Check to see if EarliestDeliveryDate is set.
-
 
909
     *
-
 
910
     * @return true if EarliestDeliveryDate is set.
-
 
911
     */
-
 
912
    public boolean isSetEarliestDeliveryDate() {
-
 
913
        return earliestDeliveryDate != null;
-
 
914
    }
-
 
915
    
-
 
916
    /**
-
 
917
     * Get the value of LatestDeliveryDate.
-
 
918
     *
-
 
919
     * @return The value of LatestDeliveryDate.
-
 
920
     */
-
 
921
    public XMLGregorianCalendar getLatestDeliveryDate() {
-
 
922
        return latestDeliveryDate;
-
 
923
    }
-
 
924
 
-
 
925
    /**
-
 
926
     * Set the value of LatestDeliveryDate.
-
 
927
     *
-
 
928
     * @param latestDeliveryDate
-
 
929
     *            The new value to set.
-
 
930
     */
-
 
931
    public void setLatestDeliveryDate(XMLGregorianCalendar latestDeliveryDate) {
-
 
932
        this.latestDeliveryDate = latestDeliveryDate;
-
 
933
    }
-
 
934
 
-
 
935
    /**
-
 
936
     * Check to see if LatestDeliveryDate is set.
-
 
937
     *
-
 
938
     * @return true if LatestDeliveryDate is set.
-
 
939
     */
-
 
940
    public boolean isSetLatestDeliveryDate() {
-
 
941
        return latestDeliveryDate != null;
-
 
942
    }
-
 
943
    
-
 
944
    /**
747
     * Sets the value of the AmazonOrderId property.
945
     * Sets the value of the AmazonOrderId property.
748
     * 
946
     * 
749
     * @param value
947
     * @param value
750
     * @return
948
     * @return
751
     *     this instance
949
     *     this instance
Line 993... Line 1191...
993
    public Order withTFMShipmentStatus(String value) {
1191
    public Order withTFMShipmentStatus(String value) {
994
        setTFMShipmentStatus(value);
1192
        setTFMShipmentStatus(value);
995
        return this;
1193
        return this;
996
    }
1194
    }
997
    
1195
    
-
 
1196
    /**
-
 
1197
     * Set the value of CbaDisplayableShippingLabel, return this.
-
 
1198
     *
-
 
1199
     * @param cbaDisplayableShippingLabel
-
 
1200
     *             The new value to set.
-
 
1201
     *
-
 
1202
     * @return This instance.
-
 
1203
     */
-
 
1204
    public Order withCbaDisplayableShippingLabel(String cbaDisplayableShippingLabel) {
-
 
1205
        this.cbaDisplayableShippingLabel = cbaDisplayableShippingLabel;
-
 
1206
        return this;
-
 
1207
    }
998
 
1208
 
-
 
1209
    /**
-
 
1210
     * Set the value of OrderType, return this.
-
 
1211
     *
-
 
1212
     * @param orderType
-
 
1213
     *             The new value to set.
-
 
1214
     *
-
 
1215
     * @return This instance.
-
 
1216
     */
-
 
1217
    public Order withOrderType(String orderType) {
-
 
1218
        this.orderType = orderType;
-
 
1219
        return this;
-
 
1220
    }
-
 
1221
    
-
 
1222
    /**
-
 
1223
     * Set the value of EarliestShipDate, return this.
-
 
1224
     *
-
 
1225
     * @param earliestShipDate
-
 
1226
     *             The new value to set.
-
 
1227
     *
-
 
1228
     * @return This instance.
-
 
1229
     */
-
 
1230
    public Order withEarliestShipDate(XMLGregorianCalendar earliestShipDate) {
-
 
1231
        this.earliestShipDate = earliestShipDate;
-
 
1232
        return this;
-
 
1233
    }
-
 
1234
    
-
 
1235
    /**
-
 
1236
     * Set the value of LatestShipDate, return this.
-
 
1237
     *
-
 
1238
     * @param latestShipDate
-
 
1239
     *             The new value to set.
-
 
1240
     *
-
 
1241
     * @return This instance.
-
 
1242
     */
-
 
1243
    public Order withLatestShipDate(XMLGregorianCalendar latestShipDate) {
-
 
1244
        this.latestShipDate = latestShipDate;
-
 
1245
        return this;
-
 
1246
    }
-
 
1247
    
-
 
1248
    /**
-
 
1249
     * Set the value of EarliestDeliveryDate, return this.
-
 
1250
     *
-
 
1251
     * @param earliestDeliveryDate
-
 
1252
     *             The new value to set.
-
 
1253
     *
-
 
1254
     * @return This instance.
-
 
1255
     */
-
 
1256
    public Order withEarliestDeliveryDate(XMLGregorianCalendar earliestDeliveryDate) {
-
 
1257
        this.earliestDeliveryDate = earliestDeliveryDate;
-
 
1258
        return this;
-
 
1259
    }
-
 
1260
    
-
 
1261
    /**
-
 
1262
     * Set the value of LatestDeliveryDate, return this.
-
 
1263
     *
-
 
1264
     * @param latestDeliveryDate
-
 
1265
     *             The new value to set.
-
 
1266
     *
-
 
1267
     * @return This instance.
-
 
1268
     */
-
 
1269
    public Order withLatestDeliveryDate(XMLGregorianCalendar latestDeliveryDate) {
-
 
1270
        this.latestDeliveryDate = latestDeliveryDate;
-
 
1271
        return this;
-
 
1272
    }
999
 
1273
    
1000
    /**
1274
    /**
1001
     * 
1275
     * 
1002
     * XML fragment representation of this object
1276
     * XML fragment representation of this object
1003
     * 
1277
     * 
1004
     * @return XML fragment for this object. Name for outer
1278
     * @return XML fragment for this object. Name for outer
Line 1113... Line 1387...
1113
        if (isSetTFMShipmentStatus()) {
1387
        if (isSetTFMShipmentStatus()) {
1114
            xml.append("<TFMShipmentStatus>");
1388
            xml.append("<TFMShipmentStatus>");
1115
            xml.append(escapeXML(getTFMShipmentStatus()));
1389
            xml.append(escapeXML(getTFMShipmentStatus()));
1116
            xml.append("</TFMShipmentStatus>");
1390
            xml.append("</TFMShipmentStatus>");
1117
        }
1391
        }
-
 
1392
        
-
 
1393
        if (isSetCbaDisplayableShippingLabel()) {
-
 
1394
        	xml.append("<CbaDisplayableShippingLabel>");
-
 
1395
            xml.append(escapeXML(getCbaDisplayableShippingLabel()));
-
 
1396
            xml.append("</CbaDisplayableShippingLabel>");
-
 
1397
        }
-
 
1398
        
-
 
1399
        if (isSetOrderType()) {
-
 
1400
        	xml.append("<OrderType>");
-
 
1401
            xml.append(escapeXML(getOrderType()));
-
 
1402
            xml.append("</OrderType>");
-
 
1403
        }
-
 
1404
        
-
 
1405
        if (isSetEarliestShipDate()) {
-
 
1406
            xml.append("<EarliestShipDate>");
-
 
1407
            xml.append(getEarliestShipDate() + "");
-
 
1408
            xml.append("</EarliestShipDate>");
-
 
1409
        }
-
 
1410
        
-
 
1411
        if (isSetLatestShipDate()) {
-
 
1412
            xml.append("<LatestShipDate>");
-
 
1413
            xml.append(getLatestShipDate() + "");
-
 
1414
            xml.append("</LatestShipDate>");
-
 
1415
        }
-
 
1416
        
-
 
1417
        if (isSetEarliestDeliveryDate()) {
-
 
1418
            xml.append("<EarliestDeliveryDate>");
-
 
1419
            xml.append(getEarliestDeliveryDate() + "");
-
 
1420
            xml.append("</EarliestDeliveryDate>");
-
 
1421
        }
-
 
1422
        
-
 
1423
        if (isSetLatestDeliveryDate()) {
-
 
1424
            xml.append("<LatestDeliveryDate>");
-
 
1425
            xml.append(getLatestDeliveryDate() + "");
-
 
1426
            xml.append("</LatestDeliveryDate>");
-
 
1427
        }
1118
        return xml.toString();
1428
        return xml.toString();
1119
    }
1429
    }
1120
 
1430
 
1121
    /**
1431
    /**
1122
     * 
1432
     * 
Line 1320... Line 1630...
1320
            json.append(quoteJSON("TFMShipmentStatus"));
1630
            json.append(quoteJSON("TFMShipmentStatus"));
1321
            json.append(" : ");
1631
            json.append(" : ");
1322
            json.append(quoteJSON(getTFMShipmentStatus()));
1632
            json.append(quoteJSON(getTFMShipmentStatus()));
1323
            first = false;
1633
            first = false;
1324
        }
1634
        }
-
 
1635
        if (isSetCbaDisplayableShippingLabel()) {
-
 
1636
            if (!first) json.append(", ");
-
 
1637
            json.append(quoteJSON("CbaDisplayableShippingLabel"));
-
 
1638
            json.append(" : ");
-
 
1639
            json.append(quoteJSON(getCbaDisplayableShippingLabel()));
-
 
1640
            first = false;
-
 
1641
        }
-
 
1642
        if (isSetOrderType()) {
-
 
1643
            if (!first) json.append(", ");
-
 
1644
            json.append(quoteJSON("OrderType"));
-
 
1645
            json.append(" : ");
-
 
1646
            json.append(quoteJSON(getOrderType()));
-
 
1647
            first = false;
-
 
1648
        }
-
 
1649
        if (isSetOrderType()) {
-
 
1650
            if (!first) json.append(", ");
-
 
1651
            json.append(quoteJSON("OrderType"));
-
 
1652
            json.append(" : ");
-
 
1653
            json.append(quoteJSON(getOrderType()));
-
 
1654
            first = false;
-
 
1655
        }
-
 
1656
        if (isSetEarliestShipDate()) {
-
 
1657
            if (!first) json.append(", ");
-
 
1658
            json.append(quoteJSON("EarliestShipDate"));
-
 
1659
            json.append(" : ");
-
 
1660
            json.append(quoteJSON(getEarliestShipDate()+""));
-
 
1661
            first = false;
-
 
1662
        }
-
 
1663
        if (isSetLatestShipDate()) {
-
 
1664
            if (!first) json.append(", ");
-
 
1665
            json.append(quoteJSON("LatestShipDate"));
-
 
1666
            json.append(" : ");
-
 
1667
            json.append(quoteJSON(getLatestShipDate()+""));
-
 
1668
            first = false;
-
 
1669
        }
-
 
1670
        if (isSetEarliestDeliveryDate()) {
-
 
1671
            if (!first) json.append(", ");
-
 
1672
            json.append(quoteJSON("EarliestDeliveryDate"));
-
 
1673
            json.append(" : ");
-
 
1674
            json.append(quoteJSON(getEarliestDeliveryDate()+""));
-
 
1675
            first = false;
-
 
1676
        }
-
 
1677
        if (isSetLatestDeliveryDate()) {
-
 
1678
            if (!first) json.append(", ");
-
 
1679
            json.append(quoteJSON("LatestDeliveryDate"));
-
 
1680
            json.append(" : ");
-
 
1681
            json.append(quoteJSON(getLatestDeliveryDate()+""));
-
 
1682
            first = false;
-
 
1683
        }
1325
        return json.toString();
1684
        return json.toString();
1326
    }
1685
    }
1327
 
1686
 
1328
    /**
1687
    /**
1329
     *
1688
     *