RefundPaymentRequest

public class RefundPaymentRequest extends BaseRequest

This is an auto-generated Clover data object.

Fields

Constructors

Link copied to clipboard
public void RefundPaymentRequest()
Constructs a new empty instance.
public void RefundPaymentRequest(String json)
Constructs a new instance from the given JSON String.
public void RefundPaymentRequest(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.
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 clearAmount()
Clears the 'amount' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDisablePrinting()
Clears the 'disablePrinting' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'disableReceiptSelection' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearExtras()
Clears the 'extras' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearFullRefund()
Clears the 'fullRefund' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOrderId()
Clears the 'orderId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPaymentId()
Clears the 'paymentId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearRequestId()
Clears the 'requestId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearVersion()
Clears the 'version' 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 Long getAmount()
Amount to be refunded
Link copied to clipboard
public final Bundle getBundle()
Link copied to clipboard
If true, then do not print using the clover printer.
Link copied to clipboard
Do not show the receipt options screen
Link copied to clipboard
Extra pass-through data used by external systems.
Link copied to clipboard
If true, then it is a full refund.
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 getOrderId()
Unique identifier
Link copied to clipboard
Unique identifier
Link copied to clipboard
Identifier for the request
Link copied to clipboard
Identifier for the version
Link copied to clipboard
public boolean hasAmount()
Checks whether the 'amount' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDisablePrinting()
Checks whether the 'disablePrinting' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDisableReceiptSelection()
Checks whether the 'disableReceiptSelection' field has been set, however the value could be null
Link copied to clipboard
public boolean hasExtras()
Checks whether the 'extras' field has been set, however the value could be null
Link copied to clipboard
public boolean hasFullRefund()
Checks whether the 'fullRefund' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOrderId()
Checks whether the 'orderId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPaymentId()
Checks whether the 'paymentId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasRequestId()
Checks whether the 'requestId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasVersion()
Checks whether the 'version' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotEmptyExtras()
Checks whether the 'extras' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotNullAmount()
Checks whether the 'amount' field is set and is not null
Link copied to clipboard
public boolean isNotNullDisablePrinting()
Checks whether the 'disablePrinting' field is set and is not null
Link copied to clipboard
Checks whether the 'disableReceiptSelection' field is set and is not null
Link copied to clipboard
public boolean isNotNullExtras()
Checks whether the 'extras' field is set and is not null
Link copied to clipboard
public boolean isNotNullFullRefund()
Checks whether the 'fullRefund' field is set and is not null
Link copied to clipboard
public boolean isNotNullOrderId()
Checks whether the 'orderId' field is set and is not null
Link copied to clipboard
public boolean isNotNullPaymentId()
Checks whether the 'paymentId' field is set and is not null
Link copied to clipboard
public boolean isNotNullRequestId()
Checks whether the 'requestId' field is set and is not null
Link copied to clipboard
public boolean isNotNullVersion()
Checks whether the 'version' field is set and is not null
Link copied to clipboard
public void mergeChanges(BaseRequest 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 'amount'.
Link copied to clipboard
Sets the field 'disablePrinting'.
Link copied to clipboard
public RefundPaymentRequest setDisableReceiptSelection(Boolean disableReceiptSelection)
Sets the field 'disableReceiptSelection'.
Link copied to clipboard
Sets the field 'extras'.
Link copied to clipboard
Sets the field 'fullRefund'.
Link copied to clipboard
Sets the field 'orderId'.
Link copied to clipboard
Sets the field 'paymentId'.
Link copied to clipboard
public BaseRequest setRequestId(String requestId)
Sets the field 'requestId'.
Link copied to clipboard
public BaseRequest setVersion(Integer version)
Sets the field 'version'.
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)