Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * DeleteTagRequest.java
3
 *
4
 * This file was auto-generated from WSDL
5
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6
 */
7
 
8
package com.fedex.ship.stub;
9
 
10
public class DeleteTagRequest  implements java.io.Serializable {
11
    /* Descriptive data to be used in authentication of the sender's
12
     * identity (and right to use FedEx web services). */
13
    private com.fedex.ship.stub.WebAuthenticationDetail webAuthenticationDetail;
14
 
15
    /* Descriptive data identifying the client submitting the transaction. */
16
    private com.fedex.ship.stub.ClientDetail clientDetail;
17
 
18
    /* Descriptive data for this customer transaction. The TransactionDetail
19
     * from the request is echoed back to the caller in the corresponding
20
     * reply. */
21
    private com.fedex.ship.stub.TransactionDetail transactionDetail;
22
 
23
    /* Identifies the version/level of a service operation expected
24
     * by a caller (in each request) and performed by the callee (in each
25
     * reply). */
26
    private com.fedex.ship.stub.VersionId version;
27
 
28
    /* Only used for tags which had FedEx Express services. */
29
    private java.lang.String dispatchLocationId;
30
 
31
    /* Only used for tags which had FedEx Express services. */
32
    private java.util.Date dispatchDate;
33
 
34
    /* If the original ProcessTagRequest specified third-party payment,
35
     * then the delete request must contain the same pay type and payor account
36
     * number for security purposes. */
37
    private com.fedex.ship.stub.Payment payment;
38
 
39
    /* Also known as Pickup Confirmation Number or Dispatch Number */
40
    private java.lang.String confirmationNumber;
41
 
42
    public DeleteTagRequest() {
43
    }
44
 
45
    public DeleteTagRequest(
46
           com.fedex.ship.stub.WebAuthenticationDetail webAuthenticationDetail,
47
           com.fedex.ship.stub.ClientDetail clientDetail,
48
           com.fedex.ship.stub.TransactionDetail transactionDetail,
49
           com.fedex.ship.stub.VersionId version,
50
           java.lang.String dispatchLocationId,
51
           java.util.Date dispatchDate,
52
           com.fedex.ship.stub.Payment payment,
53
           java.lang.String confirmationNumber) {
54
           this.webAuthenticationDetail = webAuthenticationDetail;
55
           this.clientDetail = clientDetail;
56
           this.transactionDetail = transactionDetail;
57
           this.version = version;
58
           this.dispatchLocationId = dispatchLocationId;
59
           this.dispatchDate = dispatchDate;
60
           this.payment = payment;
61
           this.confirmationNumber = confirmationNumber;
62
    }
63
 
64
 
65
    /**
66
     * Gets the webAuthenticationDetail value for this DeleteTagRequest.
67
     * 
68
     * @return webAuthenticationDetail   * Descriptive data to be used in authentication of the sender's
69
     * identity (and right to use FedEx web services).
70
     */
71
    public com.fedex.ship.stub.WebAuthenticationDetail getWebAuthenticationDetail() {
72
        return webAuthenticationDetail;
73
    }
74
 
75
 
76
    /**
77
     * Sets the webAuthenticationDetail value for this DeleteTagRequest.
78
     * 
79
     * @param webAuthenticationDetail   * Descriptive data to be used in authentication of the sender's
80
     * identity (and right to use FedEx web services).
81
     */
82
    public void setWebAuthenticationDetail(com.fedex.ship.stub.WebAuthenticationDetail webAuthenticationDetail) {
83
        this.webAuthenticationDetail = webAuthenticationDetail;
84
    }
85
 
86
 
87
    /**
88
     * Gets the clientDetail value for this DeleteTagRequest.
89
     * 
90
     * @return clientDetail   * Descriptive data identifying the client submitting the transaction.
91
     */
92
    public com.fedex.ship.stub.ClientDetail getClientDetail() {
93
        return clientDetail;
94
    }
95
 
96
 
97
    /**
98
     * Sets the clientDetail value for this DeleteTagRequest.
99
     * 
100
     * @param clientDetail   * Descriptive data identifying the client submitting the transaction.
101
     */
102
    public void setClientDetail(com.fedex.ship.stub.ClientDetail clientDetail) {
103
        this.clientDetail = clientDetail;
104
    }
105
 
106
 
107
    /**
108
     * Gets the transactionDetail value for this DeleteTagRequest.
109
     * 
110
     * @return transactionDetail   * Descriptive data for this customer transaction. The TransactionDetail
111
     * from the request is echoed back to the caller in the corresponding
112
     * reply.
113
     */
114
    public com.fedex.ship.stub.TransactionDetail getTransactionDetail() {
115
        return transactionDetail;
116
    }
117
 
118
 
119
    /**
120
     * Sets the transactionDetail value for this DeleteTagRequest.
121
     * 
122
     * @param transactionDetail   * Descriptive data for this customer transaction. The TransactionDetail
123
     * from the request is echoed back to the caller in the corresponding
124
     * reply.
125
     */
126
    public void setTransactionDetail(com.fedex.ship.stub.TransactionDetail transactionDetail) {
127
        this.transactionDetail = transactionDetail;
128
    }
129
 
130
 
131
    /**
132
     * Gets the version value for this DeleteTagRequest.
133
     * 
134
     * @return version   * Identifies the version/level of a service operation expected
135
     * by a caller (in each request) and performed by the callee (in each
136
     * reply).
137
     */
138
    public com.fedex.ship.stub.VersionId getVersion() {
139
        return version;
140
    }
141
 
142
 
143
    /**
144
     * Sets the version value for this DeleteTagRequest.
145
     * 
146
     * @param version   * Identifies the version/level of a service operation expected
147
     * by a caller (in each request) and performed by the callee (in each
148
     * reply).
149
     */
150
    public void setVersion(com.fedex.ship.stub.VersionId version) {
151
        this.version = version;
152
    }
153
 
154
 
155
    /**
156
     * Gets the dispatchLocationId value for this DeleteTagRequest.
157
     * 
158
     * @return dispatchLocationId   * Only used for tags which had FedEx Express services.
159
     */
160
    public java.lang.String getDispatchLocationId() {
161
        return dispatchLocationId;
162
    }
163
 
164
 
165
    /**
166
     * Sets the dispatchLocationId value for this DeleteTagRequest.
167
     * 
168
     * @param dispatchLocationId   * Only used for tags which had FedEx Express services.
169
     */
170
    public void setDispatchLocationId(java.lang.String dispatchLocationId) {
171
        this.dispatchLocationId = dispatchLocationId;
172
    }
173
 
174
 
175
    /**
176
     * Gets the dispatchDate value for this DeleteTagRequest.
177
     * 
178
     * @return dispatchDate   * Only used for tags which had FedEx Express services.
179
     */
180
    public java.util.Date getDispatchDate() {
181
        return dispatchDate;
182
    }
183
 
184
 
185
    /**
186
     * Sets the dispatchDate value for this DeleteTagRequest.
187
     * 
188
     * @param dispatchDate   * Only used for tags which had FedEx Express services.
189
     */
190
    public void setDispatchDate(java.util.Date dispatchDate) {
191
        this.dispatchDate = dispatchDate;
192
    }
193
 
194
 
195
    /**
196
     * Gets the payment value for this DeleteTagRequest.
197
     * 
198
     * @return payment   * If the original ProcessTagRequest specified third-party payment,
199
     * then the delete request must contain the same pay type and payor account
200
     * number for security purposes.
201
     */
202
    public com.fedex.ship.stub.Payment getPayment() {
203
        return payment;
204
    }
205
 
206
 
207
    /**
208
     * Sets the payment value for this DeleteTagRequest.
209
     * 
210
     * @param payment   * If the original ProcessTagRequest specified third-party payment,
211
     * then the delete request must contain the same pay type and payor account
212
     * number for security purposes.
213
     */
214
    public void setPayment(com.fedex.ship.stub.Payment payment) {
215
        this.payment = payment;
216
    }
217
 
218
 
219
    /**
220
     * Gets the confirmationNumber value for this DeleteTagRequest.
221
     * 
222
     * @return confirmationNumber   * Also known as Pickup Confirmation Number or Dispatch Number
223
     */
224
    public java.lang.String getConfirmationNumber() {
225
        return confirmationNumber;
226
    }
227
 
228
 
229
    /**
230
     * Sets the confirmationNumber value for this DeleteTagRequest.
231
     * 
232
     * @param confirmationNumber   * Also known as Pickup Confirmation Number or Dispatch Number
233
     */
234
    public void setConfirmationNumber(java.lang.String confirmationNumber) {
235
        this.confirmationNumber = confirmationNumber;
236
    }
237
 
238
    private java.lang.Object __equalsCalc = null;
239
    public synchronized boolean equals(java.lang.Object obj) {
240
        if (!(obj instanceof DeleteTagRequest)) return false;
241
        DeleteTagRequest other = (DeleteTagRequest) obj;
242
        if (obj == null) return false;
243
        if (this == obj) return true;
244
        if (__equalsCalc != null) {
245
            return (__equalsCalc == obj);
246
        }
247
        __equalsCalc = obj;
248
        boolean _equals;
249
        _equals = true && 
250
            ((this.webAuthenticationDetail==null && other.getWebAuthenticationDetail()==null) || 
251
             (this.webAuthenticationDetail!=null &&
252
              this.webAuthenticationDetail.equals(other.getWebAuthenticationDetail()))) &&
253
            ((this.clientDetail==null && other.getClientDetail()==null) || 
254
             (this.clientDetail!=null &&
255
              this.clientDetail.equals(other.getClientDetail()))) &&
256
            ((this.transactionDetail==null && other.getTransactionDetail()==null) || 
257
             (this.transactionDetail!=null &&
258
              this.transactionDetail.equals(other.getTransactionDetail()))) &&
259
            ((this.version==null && other.getVersion()==null) || 
260
             (this.version!=null &&
261
              this.version.equals(other.getVersion()))) &&
262
            ((this.dispatchLocationId==null && other.getDispatchLocationId()==null) || 
263
             (this.dispatchLocationId!=null &&
264
              this.dispatchLocationId.equals(other.getDispatchLocationId()))) &&
265
            ((this.dispatchDate==null && other.getDispatchDate()==null) || 
266
             (this.dispatchDate!=null &&
267
              this.dispatchDate.equals(other.getDispatchDate()))) &&
268
            ((this.payment==null && other.getPayment()==null) || 
269
             (this.payment!=null &&
270
              this.payment.equals(other.getPayment()))) &&
271
            ((this.confirmationNumber==null && other.getConfirmationNumber()==null) || 
272
             (this.confirmationNumber!=null &&
273
              this.confirmationNumber.equals(other.getConfirmationNumber())));
274
        __equalsCalc = null;
275
        return _equals;
276
    }
277
 
278
    private boolean __hashCodeCalc = false;
279
    public synchronized int hashCode() {
280
        if (__hashCodeCalc) {
281
            return 0;
282
        }
283
        __hashCodeCalc = true;
284
        int _hashCode = 1;
285
        if (getWebAuthenticationDetail() != null) {
286
            _hashCode += getWebAuthenticationDetail().hashCode();
287
        }
288
        if (getClientDetail() != null) {
289
            _hashCode += getClientDetail().hashCode();
290
        }
291
        if (getTransactionDetail() != null) {
292
            _hashCode += getTransactionDetail().hashCode();
293
        }
294
        if (getVersion() != null) {
295
            _hashCode += getVersion().hashCode();
296
        }
297
        if (getDispatchLocationId() != null) {
298
            _hashCode += getDispatchLocationId().hashCode();
299
        }
300
        if (getDispatchDate() != null) {
301
            _hashCode += getDispatchDate().hashCode();
302
        }
303
        if (getPayment() != null) {
304
            _hashCode += getPayment().hashCode();
305
        }
306
        if (getConfirmationNumber() != null) {
307
            _hashCode += getConfirmationNumber().hashCode();
308
        }
309
        __hashCodeCalc = false;
310
        return _hashCode;
311
    }
312
 
313
    // Type metadata
314
    private static org.apache.axis.description.TypeDesc typeDesc =
315
        new org.apache.axis.description.TypeDesc(DeleteTagRequest.class, true);
316
 
317
    static {
318
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DeleteTagRequest"));
319
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
320
        elemField.setFieldName("webAuthenticationDetail");
321
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "WebAuthenticationDetail"));
322
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "WebAuthenticationDetail"));
323
        elemField.setNillable(false);
324
        typeDesc.addFieldDesc(elemField);
325
        elemField = new org.apache.axis.description.ElementDesc();
326
        elemField.setFieldName("clientDetail");
327
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ClientDetail"));
328
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ClientDetail"));
329
        elemField.setNillable(false);
330
        typeDesc.addFieldDesc(elemField);
331
        elemField = new org.apache.axis.description.ElementDesc();
332
        elemField.setFieldName("transactionDetail");
333
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransactionDetail"));
334
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransactionDetail"));
335
        elemField.setMinOccurs(0);
336
        elemField.setNillable(false);
337
        typeDesc.addFieldDesc(elemField);
338
        elemField = new org.apache.axis.description.ElementDesc();
339
        elemField.setFieldName("version");
340
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Version"));
341
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VersionId"));
342
        elemField.setNillable(false);
343
        typeDesc.addFieldDesc(elemField);
344
        elemField = new org.apache.axis.description.ElementDesc();
345
        elemField.setFieldName("dispatchLocationId");
346
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DispatchLocationId"));
347
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
348
        elemField.setMinOccurs(0);
349
        elemField.setNillable(false);
350
        typeDesc.addFieldDesc(elemField);
351
        elemField = new org.apache.axis.description.ElementDesc();
352
        elemField.setFieldName("dispatchDate");
353
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DispatchDate"));
354
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "date"));
355
        elemField.setMinOccurs(0);
356
        elemField.setNillable(false);
357
        typeDesc.addFieldDesc(elemField);
358
        elemField = new org.apache.axis.description.ElementDesc();
359
        elemField.setFieldName("payment");
360
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Payment"));
361
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Payment"));
362
        elemField.setNillable(false);
363
        typeDesc.addFieldDesc(elemField);
364
        elemField = new org.apache.axis.description.ElementDesc();
365
        elemField.setFieldName("confirmationNumber");
366
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ConfirmationNumber"));
367
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
368
        elemField.setNillable(false);
369
        typeDesc.addFieldDesc(elemField);
370
    }
371
 
372
    /**
373
     * Return type metadata object
374
     */
375
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
376
        return typeDesc;
377
    }
378
 
379
    /**
380
     * Get Custom Serializer
381
     */
382
    public static org.apache.axis.encoding.Serializer getSerializer(
383
           java.lang.String mechType, 
384
           java.lang.Class _javaType,  
385
           javax.xml.namespace.QName _xmlType) {
386
        return 
387
          new  org.apache.axis.encoding.ser.BeanSerializer(
388
            _javaType, _xmlType, typeDesc);
389
    }
390
 
391
    /**
392
     * Get Custom Deserializer
393
     */
394
    public static org.apache.axis.encoding.Deserializer getDeserializer(
395
           java.lang.String mechType, 
396
           java.lang.Class _javaType,  
397
           javax.xml.namespace.QName _xmlType) {
398
        return 
399
          new  org.apache.axis.encoding.ser.BeanDeserializer(
400
            _javaType, _xmlType, typeDesc);
401
    }
402
 
403
}