WebHook

Constructors

Link copied to clipboard
public void WebHook()
Constructs a new empty instance.
public void WebHook(String json)
Constructs a new instance from the given JSON String.
public void WebHook(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 WebHook(WebHook 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
public final static Parcelable.Creator<WebHook> CREATOR
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
public void clearApp()
Clears the 'app' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearCashAdjustment()
Clears the 'cashAdjustment' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearCustomers()
Clears the 'customers' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearEmployees()
Clears the 'employees' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearExports()
Clears the 'exports' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearInventory()
Clears the 'inventory' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMerchants()
Clears the 'merchants' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOrders()
Clears the 'orders' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPayments()
Clears the 'payments' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSecret()
Clears the 'secret' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearUrl()
Clears the 'url' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearValid()
Clears the 'valid' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearVerification()
Clears the 'verification' 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 abstract int describeContents()
public final int describeContents()
Link copied to clipboard
public Boolean getApp()
Link copied to clipboard
public final Bundle getBundle()
Gets a Bundle which can be used to get and set data attached to this instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Webhook subscription for employee create/update/delete
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
public Boolean getOrders()
Link copied to clipboard
Link copied to clipboard
public String getSecret()
A secret string included as a header in the HTTP request from Clover to the developer's web hook callback URL.
Link copied to clipboard
public String getUrl()
Link copied to clipboard
public Boolean getValid()
Link copied to clipboard
The verification code that was sent to the developer's web hook callback URL.
Link copied to clipboard
public boolean hasApp()
Checks whether the 'app' field has been set, however the value could be null
Link copied to clipboard
public boolean hasCashAdjustment()
Checks whether the 'cashAdjustment' field has been set, however the value could be null
Link copied to clipboard
public boolean hasCustomers()
Checks whether the 'customers' field has been set, however the value could be null
Link copied to clipboard
public boolean hasEmployees()
Checks whether the 'employees' field has been set, however the value could be null
Link copied to clipboard
public boolean hasExports()
Checks whether the 'exports' field has been set, however the value could be null
Link copied to clipboard
public boolean hasInventory()
Checks whether the 'inventory' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMerchants()
Checks whether the 'merchants' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOrders()
Checks whether the 'orders' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPayments()
Checks whether the 'payments' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSecret()
Checks whether the 'secret' field has been set, however the value could be null
Link copied to clipboard
public boolean hasUrl()
Checks whether the 'url' field has been set, however the value could be null
Link copied to clipboard
public boolean hasValid()
Checks whether the 'valid' field has been set, however the value could be null
Link copied to clipboard
public boolean hasVerification()
Checks whether the 'verification' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotNullApp()
Checks whether the 'app' field is set and is not null
Link copied to clipboard
public boolean isNotNullCashAdjustment()
Checks whether the 'cashAdjustment' field is set and is not null
Link copied to clipboard
public boolean isNotNullCustomers()
Checks whether the 'customers' field is set and is not null
Link copied to clipboard
public boolean isNotNullEmployees()
Checks whether the 'employees' field is set and is not null
Link copied to clipboard
public boolean isNotNullExports()
Checks whether the 'exports' field is set and is not null
Link copied to clipboard
public boolean isNotNullInventory()
Checks whether the 'inventory' field is set and is not null
Link copied to clipboard
public boolean isNotNullMerchants()
Checks whether the 'merchants' field is set and is not null
Link copied to clipboard
public boolean isNotNullOrders()
Checks whether the 'orders' field is set and is not null
Link copied to clipboard
public boolean isNotNullPayments()
Checks whether the 'payments' field is set and is not null
Link copied to clipboard
public boolean isNotNullSecret()
Checks whether the 'secret' field is set and is not null
Link copied to clipboard
public boolean isNotNullUrl()
Checks whether the 'url' field is set and is not null
Link copied to clipboard
public boolean isNotNullValid()
Checks whether the 'valid' field is set and is not null
Link copied to clipboard
public boolean isNotNullVerification()
Checks whether the 'verification' field is set and is not null
Link copied to clipboard
public void mergeChanges(WebHook 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
public WebHook setApp(Boolean app)
Sets the field 'app'.
Link copied to clipboard
public WebHook setCashAdjustment(Boolean cashAdjustment)
Sets the field 'cashAdjustment'.
Link copied to clipboard
public WebHook setCustomers(Boolean customers)
Sets the field 'customers'.
Link copied to clipboard
public WebHook setEmployees(Boolean employees)
Sets the field 'employees'.
Link copied to clipboard
public WebHook setExports(Boolean exports)
Sets the field 'exports'.
Link copied to clipboard
public WebHook setInventory(Boolean inventory)
Sets the field 'inventory'.
Link copied to clipboard
public WebHook setMerchants(Boolean merchants)
Sets the field 'merchants'.
Link copied to clipboard
public WebHook setOrders(Boolean orders)
Sets the field 'orders'.
Link copied to clipboard
public WebHook setPayments(Boolean payments)
Sets the field 'payments'.
Link copied to clipboard
public WebHook setSecret(String secret)
Sets the field 'secret'.
Link copied to clipboard
public WebHook setUrl(String url)
Sets the field 'url'.
Link copied to clipboard
public WebHook setValid(Boolean valid)
Sets the field 'valid'.
Link copied to clipboard
public WebHook setVerification(String verification)
Sets the field 'verification'.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public void validate()
Link copied to clipboard
public abstract void writeToParcel(Parcel p, int p1)
public final void writeToParcel(Parcel dest, int flags)