public com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_PortType getwsVaultSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub _stub = new com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub(portAddress, this); _stub.setPortName(getwsVaultSoapWSDDServiceName()); return _stub; } catch (org.apache.axis.AxisFault e) { return null; } }
public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getUPDATE_CREDIT_CARD_DATAResult() != null) { _hashCode += getUPDATE_CREDIT_CARD_DATAResult().hashCode(); } __hashCodeCalc = false; return _hashCode; }
public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getUPDATE_CREDIT_CARD_EXPIRATION_DATEResult() != null) { _hashCode += getUPDATE_CREDIT_CARD_EXPIRATION_DATEResult().hashCode(); } __hashCodeCalc = false; return _hashCode; }
public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getM_ID() != null) { _hashCode += getM_ID().hashCode(); } if (getM_KEY() != null) { _hashCode += getM_KEY().hashCode(); } if (getGUID() != null) { _hashCode += getGUID().hashCode(); } if (getEXPIRATION_DATE() != null) { _hashCode += getEXPIRATION_DATE().hashCode(); } __hashCodeCalc = false; return _hashCode; }
@Override public boolean canStoreCreditCards() throws IOException { try { return new WsVaultLocator().getwsVaultSoap().VERIFY_SERVICE( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey) ); } catch(ServiceException err) { throw new LocalizedIOException(err, accessor, "MerchantServicesProvider.canStoreCreditCards.ioException"); } catch(RemoteException err) { throw new LocalizedIOException(err, accessor, "MerchantServicesProvider.canStoreCreditCards.ioException"); } }
@Override public void deleteCreditCard(CreditCard creditCard) throws IOException { try { boolean success = new WsVaultLocator().getwsVaultSoap().DELETE_DATA( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey), emptyStringIfNull(creditCard.getProviderUniqueId()) ); if(!success) throw new LocalizedIOException(accessor, "MerchantServicesProvider.deleteCreditCard.notSuccessful"); } catch(ServiceException err) { throw new IOException(err); } catch(RemoteException err) { throw new IOException(err); } }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof UPDATE_CREDIT_CARD_EXPIRATION_DATEResponse)) return false; UPDATE_CREDIT_CARD_EXPIRATION_DATEResponse other = (UPDATE_CREDIT_CARD_EXPIRATION_DATEResponse) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.UPDATE_CREDIT_CARD_EXPIRATION_DATEResult==null && other.getUPDATE_CREDIT_CARD_EXPIRATION_DATEResult()==null) || (this.UPDATE_CREDIT_CARD_EXPIRATION_DATEResult!=null && this.UPDATE_CREDIT_CARD_EXPIRATION_DATEResult.equals(other.getUPDATE_CREDIT_CARD_EXPIRATION_DATEResult()))); __equalsCalc = null; return _equals; }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof UPDATE_CREDIT_CARD_DATAResponse)) return false; UPDATE_CREDIT_CARD_DATAResponse other = (UPDATE_CREDIT_CARD_DATAResponse) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.UPDATE_CREDIT_CARD_DATAResult==null && other.getUPDATE_CREDIT_CARD_DATAResult()==null) || (this.UPDATE_CREDIT_CARD_DATAResult!=null && this.UPDATE_CREDIT_CARD_DATAResult.equals(other.getUPDATE_CREDIT_CARD_DATAResult()))); __equalsCalc = null; return _equals; }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof INSERT_BULK_DATAResponse)) return false; INSERT_BULK_DATAResponse other = (INSERT_BULK_DATAResponse) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.INSERT_BULK_DATAResult==null && other.getINSERT_BULK_DATAResult()==null) || (this.INSERT_BULK_DATAResult!=null && java.util.Arrays.equals(this.INSERT_BULK_DATAResult, other.getINSERT_BULK_DATAResult()))); __equalsCalc = null; return _equals; }
/** * Set the endpoint address for the specified port name. */ public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { setEndpointAddress(portName.getLocalPart(), address); }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof UPDATE_CREDIT_CARD_DATAResponseUPDATE_CREDIT_CARD_DATAResult)) return false; UPDATE_CREDIT_CARD_DATAResponseUPDATE_CREDIT_CARD_DATAResult other = (UPDATE_CREDIT_CARD_DATAResponseUPDATE_CREDIT_CARD_DATAResult) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this._any==null && other.get_any()==null) || (this._any!=null && java.util.Arrays.equals(this._any, other.get_any()))); __equalsCalc = null; return _equals; }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof SELECT_BULK_DATAResponse)) return false; SELECT_BULK_DATAResponse other = (SELECT_BULK_DATAResponse) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.SELECT_BULK_DATAResult==null && other.getSELECT_BULK_DATAResult()==null) || (this.SELECT_BULK_DATAResult!=null && java.util.Arrays.equals(this.SELECT_BULK_DATAResult, other.getSELECT_BULK_DATAResult()))); __equalsCalc = null; return _equals; }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof DataSet)) return false; DataSet other = (DataSet) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this._any==null && other.get_any()==null) || (this._any!=null && java.util.Arrays.equals(this._any, other.get_any()))); __equalsCalc = null; return _equals; }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof INSERT_CREDIT_CARD_DATAResponseINSERT_CREDIT_CARD_DATAResult)) return false; INSERT_CREDIT_CARD_DATAResponseINSERT_CREDIT_CARD_DATAResult other = (INSERT_CREDIT_CARD_DATAResponseINSERT_CREDIT_CARD_DATAResult) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this._any==null && other.get_any()==null) || (this._any!=null && java.util.Arrays.equals(this._any, other.get_any()))); __equalsCalc = null; return _equals; }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof UPDATE_CREDIT_CARD_EXPIRATION_DATEResponseUPDATE_CREDIT_CARD_EXPIRATION_DATEResult)) return false; UPDATE_CREDIT_CARD_EXPIRATION_DATEResponseUPDATE_CREDIT_CARD_EXPIRATION_DATEResult other = (UPDATE_CREDIT_CARD_EXPIRATION_DATEResponseUPDATE_CREDIT_CARD_EXPIRATION_DATEResult) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this._any==null && other.get_any()==null) || (this._any!=null && java.util.Arrays.equals(this._any, other.get_any()))); __equalsCalc = null; return _equals; }
public com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_PortType getwsVaultSoap() throws javax.xml.rpc.ServiceException { java.net.URL endpoint; try { endpoint = new java.net.URL(wsVaultSoap_address); } catch (java.net.MalformedURLException e) { throw new javax.xml.rpc.ServiceException(e); } return getwsVaultSoap(endpoint); }
/** * Set the endpoint address for the specified port name. */ public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { if ("wsVaultSoap".equals(portName)) { setwsVaultSoapEndpointAddress(address); } else { // Unknown Port Name throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); } }
/** * For the given interface, get the stub implementation. * If this service has no port for the given interface, * then ServiceException is thrown. */ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { try { if (com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_PortType.class.isAssignableFrom(serviceEndpointInterface)) { com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub _stub = new com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub(new java.net.URL(wsVaultSoap_address), this); _stub.setPortName(getwsVaultSoapWSDDServiceName()); return _stub; } } catch (java.lang.Throwable t) { throw new javax.xml.rpc.ServiceException(t); } throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); }
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof BULK_RESULT)) return false; BULK_RESULT other = (BULK_RESULT) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.GUID==null && other.getGUID()==null) || (this.GUID!=null && this.GUID.equals(other.getGUID()))) && ((this.data==null && other.getData()==null) || (this.data!=null && this.data.equals(other.getData()))); __equalsCalc = null; return _equals; }