public class ReverseResponse extends Entity implements HasStatus
| Modifier and Type | Field and Description |
|---|---|
Transaction |
payment
Si el reverso fue exitoso, se almacena como una nueva transacción.
|
protected Status |
status
Estado de la solicitud será APROBADO si se ha realizado el reverso de lo contrario puede ser RECHAZADA.
|
| Constructor and Description |
|---|
ReverseResponse(org.json.JSONObject object) |
ReverseResponse(Status status) |
ReverseResponse(Transaction payment,
Status status) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
getPayment()
Retorna el parámetro payment}
|
Status |
getStatus()
Retorna el parámetro status
|
boolean |
isSuccessful() |
void |
setStatus(Status status) |
org.json.JSONObject |
toJsonObject() |
checkMissingFields, filterJSONObject, getValidator, isValid, isValid, setValidatorpublic Transaction payment
protected Status status
public ReverseResponse(Status status)
public ReverseResponse(org.json.JSONObject object)
public ReverseResponse(Transaction payment, Status status)
public Transaction getPayment()
paymentpublic Status getStatus()
public boolean isSuccessful()
public org.json.JSONObject toJsonObject()
toJsonObject in class Entity