📄 chargebonus.java
字号:
/**
* ChargeBonus.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.payment.charge.v1_0.local;
public class ChargeBonus implements java.io.Serializable {
private java.lang.String userAccount;
private java.math.BigInteger amount;
private java.lang.String billText;
private java.lang.String msgID;
private java.lang.String tradeIdentifier;
public ChargeBonus() {
}
public java.lang.String getUserAccount() {
return userAccount;
}
public void setUserAccount(java.lang.String userAccount) {
this.userAccount = userAccount;
}
public java.math.BigInteger getAmount() {
return amount;
}
public void setAmount(java.math.BigInteger amount) {
this.amount = amount;
}
public java.lang.String getBillText() {
return billText;
}
public void setBillText(java.lang.String billText) {
this.billText = billText;
}
public java.lang.String getMsgID() {
return msgID;
}
public void setMsgID(java.lang.String msgID) {
this.msgID = msgID;
}
public java.lang.String getTradeIdentifier() {
return tradeIdentifier;
}
public void setTradeIdentifier(java.lang.String tradeIdentifier) {
this.tradeIdentifier = tradeIdentifier;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ChargeBonus)) return false;
ChargeBonus other = (ChargeBonus) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.userAccount==null && other.getUserAccount()==null) ||
(this.userAccount!=null &&
this.userAccount.equals(other.getUserAccount()))) &&
((this.amount==null && other.getAmount()==null) ||
(this.amount!=null &&
this.amount.equals(other.getAmount()))) &&
((this.billText==null && other.getBillText()==null) ||
(this.billText!=null &&
this.billText.equals(other.getBillText()))) &&
((this.msgID==null && other.getMsgID()==null) ||
(this.msgID!=null &&
this.msgID.equals(other.getMsgID()))) &&
((this.tradeIdentifier==null && other.getTradeIdentifier()==null) ||
(this.tradeIdentifier!=null &&
this.tradeIdentifier.equals(other.getTradeIdentifier())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getUserAccount() != null) {
_hashCode += getUserAccount().hashCode();
}
if (getAmount() != null) {
_hashCode += getAmount().hashCode();
}
if (getBillText() != null) {
_hashCode += getBillText().hashCode();
}
if (getMsgID() != null) {
_hashCode += getMsgID().hashCode();
}
if (getTradeIdentifier() != null) {
_hashCode += getTradeIdentifier().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ChargeBonus.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/charge/v1_0/local", "chargeBonus"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("userAccount");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/charge/v1_0/local", "userAccount"));
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("amount");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/charge/v1_0/local", "amount"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("billText");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/charge/v1_0/local", "billText"));
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("msgID");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/charge/v1_0/local", "msgID"));
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("tradeIdentifier");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/charge/v1_0/local", "tradeIdentifier"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
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 + -