DeviceTotalStats

Constructors

Link copied to clipboard
public void DeviceTotalStats()
Constructs a new empty instance.
public void DeviceTotalStats(String json)
Constructs a new instance from the given JSON String.
public void DeviceTotalStats(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 clearCardTotals()
Clears the 'cardTotals' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDeviceId()
Clears the 'deviceId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDeviceName()
Clears the 'deviceName' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDeviceSerial()
Clears the 'deviceSerial' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearGiftCardCashOuts()
Clears the 'giftCardCashOuts' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearGiftCardLoads()
Clears the 'giftCardLoads' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearNet()
Clears the 'net' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearRefunds()
Clears the 'refunds' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSales()
Clears the 'sales' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTax()
Clears the 'tax' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTerminalId()
Clears the 'terminalId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTips()
Clears the 'tips' 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 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
public Long getDeviceId()
Device ID corresponding to these stats
Link copied to clipboard
Device name corresponding to these stats
Link copied to clipboard
Device serial number corresponding to these stats
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Terminal ID of Device corresponding to these stats
Link copied to clipboard
Link copied to clipboard
public boolean hasCardTotals()
Checks whether the 'cardTotals' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDeviceId()
Checks whether the 'deviceId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDeviceName()
Checks whether the 'deviceName' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDeviceSerial()
Checks whether the 'deviceSerial' field has been set, however the value could be null
Link copied to clipboard
public boolean hasGiftCardCashOuts()
Checks whether the 'giftCardCashOuts' field has been set, however the value could be null
Link copied to clipboard
public boolean hasGiftCardLoads()
Checks whether the 'giftCardLoads' field has been set, however the value could be null
Link copied to clipboard
public boolean hasNet()
Checks whether the 'net' field has been set, however the value could be null
Link copied to clipboard
public boolean hasRefunds()
Checks whether the 'refunds' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSales()
Checks whether the 'sales' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTax()
Checks whether the 'tax' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTerminalId()
Checks whether the 'terminalId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTips()
Checks whether the 'tips' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotEmptyCardTotals()
Checks whether the 'cardTotals' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotNullCardTotals()
Checks whether the 'cardTotals' field is set and is not null
Link copied to clipboard
public boolean isNotNullDeviceId()
Checks whether the 'deviceId' field is set and is not null
Link copied to clipboard
public boolean isNotNullDeviceName()
Checks whether the 'deviceName' field is set and is not null
Link copied to clipboard
public boolean isNotNullDeviceSerial()
Checks whether the 'deviceSerial' field is set and is not null
Link copied to clipboard
public boolean isNotNullGiftCardCashOuts()
Checks whether the 'giftCardCashOuts' field is set and is not null
Link copied to clipboard
public boolean isNotNullGiftCardLoads()
Checks whether the 'giftCardLoads' field is set and is not null
Link copied to clipboard
public boolean isNotNullNet()
Checks whether the 'net' field is set and is not null
Link copied to clipboard
public boolean isNotNullRefunds()
Checks whether the 'refunds' field is set and is not null
Link copied to clipboard
public boolean isNotNullSales()
Checks whether the 'sales' field is set and is not null
Link copied to clipboard
public boolean isNotNullTax()
Checks whether the 'tax' field is set and is not null
Link copied to clipboard
public boolean isNotNullTerminalId()
Checks whether the 'terminalId' field is set and is not null
Link copied to clipboard
public boolean isNotNullTips()
Checks whether the 'tips' field is set and is not null
Link copied to clipboard
public void mergeChanges(DeviceTotalStats 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 'cardTotals'.
Link copied to clipboard
public DeviceTotalStats setDeviceId(Long deviceId)
Sets the field 'deviceId'.
Link copied to clipboard
Sets the field 'deviceName'.
Link copied to clipboard
public DeviceTotalStats setDeviceSerial(String deviceSerial)
Sets the field 'deviceSerial'.
Link copied to clipboard
Sets the field 'giftCardCashOuts'.
Link copied to clipboard
Sets the field 'giftCardLoads'.
Link copied to clipboard
Sets the field 'net'.
Link copied to clipboard
Sets the field 'refunds'.
Link copied to clipboard
Sets the field 'sales'.
Link copied to clipboard
Sets the field 'tax'.
Link copied to clipboard
Sets the field 'terminalId'.
Link copied to clipboard
Sets the field 'tips'.
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)