AuthResponse

public class AuthResponse extends PaymentResponse

This is an auto-generated Clover data object.

The response to an authorization request

Fields

Constructors

Link copied to clipboard
public void AuthResponse()
Constructs a new empty instance.
public void AuthResponse(String json)
Constructs a new instance from the given JSON String.
public void AuthResponse(JSONObject jsonObject)
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be reflected in this instance and vice-versa.
public void AuthResponse(AuthResponse src)
Constructs a new instance that is a deep copy of the source instance.

Types

Link copied to clipboard
public interface Constraints

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
public void clearIsAuth()
Clears the 'isAuth' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearIsPreAuth()
Clears the 'isPreAuth' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearIsSale()
Clears the 'isSale' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMessage()
Clears the 'message' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPayment()
Clears the 'payment' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearReason()
Clears the 'reason' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearResult()
Clears the 'result' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSignature()
Clears the 'signature' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSuccess()
Clears the 'success' field, the 'has' method for this field will now return false
Link copied to clipboard
public boolean containsChanges()
Returns true if this instance has any changes.
Link copied to clipboard
Create a copy of this instance that contains only fields that were set after the constructor was called.
Link copied to clipboard
public final int describeContents()
Link copied to clipboard
public final Bundle getBundle()
Link copied to clipboard
public Boolean getIsAuth()
Link copied to clipboard
Link copied to clipboard
public Boolean getIsSale()
Link copied to clipboard
public abstract JSONObject getJSONObject()

Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be reflected in this instance and vice-versa.
Link copied to clipboard
public String getMessage()
Detailed information about result.
Link copied to clipboard
The payment from the sale
Link copied to clipboard
public String getReason()
Optional information about result.
Link copied to clipboard
The result of the requested operation.
Link copied to clipboard
Link copied to clipboard
If true then the requested operation succeeded
Link copied to clipboard
public boolean hasIsAuth()
Checks whether the 'isAuth' field has been set, however the value could be null
Link copied to clipboard
public boolean hasIsPreAuth()
Checks whether the 'isPreAuth' field has been set, however the value could be null
Link copied to clipboard
public boolean hasIsSale()
Checks whether the 'isSale' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMessage()
Checks whether the 'message' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPayment()
Checks whether the 'payment' field has been set, however the value could be null
Link copied to clipboard
public boolean hasReason()
Checks whether the 'reason' field has been set, however the value could be null
Link copied to clipboard
public boolean hasResult()
Checks whether the 'result' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSignature()
Checks whether the 'signature' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSuccess()
Checks whether the 'success' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotNullIsAuth()
Checks whether the 'isAuth' field is set and is not null
Link copied to clipboard
public boolean isNotNullIsPreAuth()
Checks whether the 'isPreAuth' field is set and is not null
Link copied to clipboard
public boolean isNotNullIsSale()
Checks whether the 'isSale' field is set and is not null
Link copied to clipboard
public boolean isNotNullMessage()
Checks whether the 'message' field is set and is not null
Link copied to clipboard
public boolean isNotNullPayment()
Checks whether the 'payment' field is set and is not null
Link copied to clipboard
public boolean isNotNullReason()
Checks whether the 'reason' field is set and is not null
Link copied to clipboard
public boolean isNotNullResult()
Checks whether the 'result' field is set and is not null
Link copied to clipboard
public boolean isNotNullSignature()
Checks whether the 'signature' field is set and is not null
Link copied to clipboard
public boolean isNotNullSuccess()
Checks whether the 'success' field is set and is not null
Link copied to clipboard
public void mergeChanges(AuthResponse src)
public void mergeChanges(BaseResponse src)
public void mergeChanges(PaymentResponse src)
Copy all the changed fields from the given source to this instance.
Link copied to clipboard
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
Link copied to clipboard
Sets the field 'isAuth'.
Link copied to clipboard
Sets the field 'isPreAuth'.
Link copied to clipboard
Sets the field 'isSale'.
Link copied to clipboard
public BaseResponse setMessage(String message)
Sets the field 'message'.
Link copied to clipboard
Sets the field 'payment'.
Link copied to clipboard
public BaseResponse setReason(String reason)
Sets the field 'reason'.
Link copied to clipboard
Sets the field 'result'.
Link copied to clipboard
Sets the field 'signature'.
Link copied to clipboard
public BaseResponse setSuccess(Boolean success)
Sets the field 'success'.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public abstract void validate()
public void validate()
Link copied to clipboard
public final void writeToParcel(Parcel dest, int flags)