📄 _transaction.java
字号:
/**
* _Transaction.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.amazon.xml.AWSECommerceService;
public class _Transaction implements java.io.Serializable {
private java.lang.String transactionId;
private java.lang.String sellerId;
private java.lang.String condition;
private java.lang.String transactionDate;
private java.lang.String transactionDateEpoch;
private java.lang.String sellerName;
private com.amazon.xml.AWSECommerceService._Transaction_Totals totals;
private com.amazon.xml.AWSECommerceService._Transaction_TransactionItems transactionItems;
private com.amazon.xml.AWSECommerceService._Transaction_Shipments shipments;
public _Transaction() {
}
public java.lang.String getTransactionId() {
return transactionId;
}
public void setTransactionId(java.lang.String transactionId) {
this.transactionId = transactionId;
}
public java.lang.String getSellerId() {
return sellerId;
}
public void setSellerId(java.lang.String sellerId) {
this.sellerId = sellerId;
}
public java.lang.String getCondition() {
return condition;
}
public void setCondition(java.lang.String condition) {
this.condition = condition;
}
public java.lang.String getTransactionDate() {
return transactionDate;
}
public void setTransactionDate(java.lang.String transactionDate) {
this.transactionDate = transactionDate;
}
public java.lang.String getTransactionDateEpoch() {
return transactionDateEpoch;
}
public void setTransactionDateEpoch(java.lang.String transactionDateEpoch) {
this.transactionDateEpoch = transactionDateEpoch;
}
public java.lang.String getSellerName() {
return sellerName;
}
public void setSellerName(java.lang.String sellerName) {
this.sellerName = sellerName;
}
public com.amazon.xml.AWSECommerceService._Transaction_Totals getTotals() {
return totals;
}
public void setTotals(com.amazon.xml.AWSECommerceService._Transaction_Totals totals) {
this.totals = totals;
}
public com.amazon.xml.AWSECommerceService._Transaction_TransactionItems getTransactionItems() {
return transactionItems;
}
public void setTransactionItems(com.amazon.xml.AWSECommerceService._Transaction_TransactionItems transactionItems) {
this.transactionItems = transactionItems;
}
public com.amazon.xml.AWSECommerceService._Transaction_Shipments getShipments() {
return shipments;
}
public void setShipments(com.amazon.xml.AWSECommerceService._Transaction_Shipments shipments) {
this.shipments = shipments;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof _Transaction)) return false;
_Transaction other = (_Transaction) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.transactionId==null && other.getTransactionId()==null) ||
(this.transactionId!=null &&
this.transactionId.equals(other.getTransactionId()))) &&
((this.sellerId==null && other.getSellerId()==null) ||
(this.sellerId!=null &&
this.sellerId.equals(other.getSellerId()))) &&
((this.condition==null && other.getCondition()==null) ||
(this.condition!=null &&
this.condition.equals(other.getCondition()))) &&
((this.transactionDate==null && other.getTransactionDate()==null) ||
(this.transactionDate!=null &&
this.transactionDate.equals(other.getTransactionDate()))) &&
((this.transactionDateEpoch==null && other.getTransactionDateEpoch()==null) ||
(this.transactionDateEpoch!=null &&
this.transactionDateEpoch.equals(other.getTransactionDateEpoch()))) &&
((this.sellerName==null && other.getSellerName()==null) ||
(this.sellerName!=null &&
this.sellerName.equals(other.getSellerName()))) &&
((this.totals==null && other.getTotals()==null) ||
(this.totals!=null &&
this.totals.equals(other.getTotals()))) &&
((this.transactionItems==null && other.getTransactionItems()==null) ||
(this.transactionItems!=null &&
this.transactionItems.equals(other.getTransactionItems()))) &&
((this.shipments==null && other.getShipments()==null) ||
(this.shipments!=null &&
this.shipments.equals(other.getShipments())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTransactionId() != null) {
_hashCode += getTransactionId().hashCode();
}
if (getSellerId() != null) {
_hashCode += getSellerId().hashCode();
}
if (getCondition() != null) {
_hashCode += getCondition().hashCode();
}
if (getTransactionDate() != null) {
_hashCode += getTransactionDate().hashCode();
}
if (getTransactionDateEpoch() != null) {
_hashCode += getTransactionDateEpoch().hashCode();
}
if (getSellerName() != null) {
_hashCode += getSellerName().hashCode();
}
if (getTotals() != null) {
_hashCode += getTotals().hashCode();
}
if (getTransactionItems() != null) {
_hashCode += getTransactionItems().hashCode();
}
if (getShipments() != null) {
_hashCode += getShipments().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(_Transaction.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("transactionId");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TransactionId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("sellerId");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SellerId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("condition");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Condition"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("transactionDate");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TransactionDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("transactionDateEpoch");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TransactionDateEpoch"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("sellerName");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SellerName"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("totals");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Totals"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Totals"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("transactionItems");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TransactionItems"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>TransactionItems"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("shipments");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Shipments"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Shipments"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -