p12f.exe.pasarelapagos.objects.data
Class DataFileResponse
java.lang.Object
p12f.exe.pasarelapagos.objects.data.DataFileResponse
- All Implemented Interfaces:
- java.io.Serializable
- public class DataFileResponse
- extends java.lang.Object
- implements java.io.Serializable
Clase que encapsula las respuestas del API de ficheros.
- Author:
- dbenitof
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataFileResponse
public DataFileResponse()
getResponse
public java.lang.String getResponse()
- Returns:
- the response
setResponse
public void setResponse(java.lang.String response)
- Parameters:
response
- the response to set
getResponseCode
public int getResponseCode()
- Returns:
- the responseCode
setResponseCode
public void setResponseCode(int responseCode)
- Parameters:
responseCode
- the responseCode to set
toXML
public java.lang.String toXML()
throws com.ejie.r01f.xml.marshalling.XOMarshallerException
- Convierte un Objeto DataFileResponse a XML.
- Returns:
- String que contiene el XML.
- Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException
getObject
public static DataFileResponse getObject(java.lang.String xml)
throws com.ejie.r01f.xml.marshalling.XOMarshallerException
- Convierte un XML en un objeto DataFileResponse.
- Returns:
- Objeto DataFile construido a partir del XML.
- Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException