Package com.clover.sdk.v3.billing
Class DeviceCountInfo
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.billing.DeviceCountInfo
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class DeviceCountInfo extends GenericParcelable implements Validator, JSONifiable
Deprecated.This is a Clover private internal use class and should not be used. There are no connectors available to get this data from Clover services.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeviceCountInfo.Constraints
Deprecated.-
Nested classes/interfaces inherited from interface com.clover.sdk.JSONifiable
JSONifiable.Creator<T>
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<DeviceCountInfo>
CREATOR
Deprecated.static JSONifiable.Creator<DeviceCountInfo>
JSON_CREATOR
Deprecated.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description DeviceCountInfo()
Deprecated.Constructs a new empty instance.protected
DeviceCountInfo(boolean noInit)
Deprecated.Constructs a new empty instance.DeviceCountInfo(DeviceCountInfo src)
Deprecated.Constructs a new instance that is a deep copy of the source instance.DeviceCountInfo(String json)
Deprecated.Constructs a new instance from the given JSON String.DeviceCountInfo(JSONObject jsonObject)
Deprecated.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clearNumBambooleafs()
Deprecated.Clears the 'numBambooleafs' field, the 'has' method for this field will now return falsevoid
clearNumBayleafs()
Deprecated.Clears the 'numBayleafs' field, the 'has' method for this field will now return falsevoid
clearNumGMCs()
Deprecated.Clears the 'numGMCs' field, the 'has' method for this field will now return falsevoid
clearNumGoldenoaks()
Deprecated.Clears the 'numGoldenoaks' field, the 'has' method for this field will now return falsevoid
clearNumMinis()
Deprecated.Clears the 'numMinis' field, the 'has' method for this field will now return falsevoid
clearNumMobiles()
Deprecated.Clears the 'numMobiles' field, the 'has' method for this field will now return falsevoid
clearNumStations()
Deprecated.Clears the 'numStations' field, the 'has' method for this field will now return falsevoid
clearTotalDevices()
Deprecated.Clears the 'totalDevices' field, the 'has' method for this field will now return falseboolean
containsChanges()
Deprecated.Returns true if this instance has any changes.DeviceCountInfo
copyChanges()
Deprecated.Create a copy of this instance that contains only fields that were set after the constructor was called.protected GenericClient
getGenericClient()
Deprecated.JSONObject
getJSONObject()
Deprecated.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.Long
getNumBambooleafs()
Deprecated.Long
getNumBayleafs()
Deprecated.Long
getNumGMCs()
Deprecated.Long
getNumGoldenoaks()
Deprecated.Long
getNumMinis()
Deprecated.Long
getNumMobiles()
Deprecated.Long
getNumStations()
Deprecated.Long
getTotalDevices()
Deprecated.boolean
hasNumBambooleafs()
Deprecated.Checks whether the 'numBambooleafs' field has been set, however the value could be nullboolean
hasNumBayleafs()
Deprecated.Checks whether the 'numBayleafs' field has been set, however the value could be nullboolean
hasNumGMCs()
Deprecated.Checks whether the 'numGMCs' field has been set, however the value could be nullboolean
hasNumGoldenoaks()
Deprecated.Checks whether the 'numGoldenoaks' field has been set, however the value could be nullboolean
hasNumMinis()
Deprecated.Checks whether the 'numMinis' field has been set, however the value could be nullboolean
hasNumMobiles()
Deprecated.Checks whether the 'numMobiles' field has been set, however the value could be nullboolean
hasNumStations()
Deprecated.Checks whether the 'numStations' field has been set, however the value could be nullboolean
hasTotalDevices()
Deprecated.Checks whether the 'totalDevices' field has been set, however the value could be nullboolean
isNotNullNumBambooleafs()
Deprecated.Checks whether the 'numBambooleafs' field is set and is not nullboolean
isNotNullNumBayleafs()
Deprecated.Checks whether the 'numBayleafs' field is set and is not nullboolean
isNotNullNumGMCs()
Deprecated.Checks whether the 'numGMCs' field is set and is not nullboolean
isNotNullNumGoldenoaks()
Deprecated.Checks whether the 'numGoldenoaks' field is set and is not nullboolean
isNotNullNumMinis()
Deprecated.Checks whether the 'numMinis' field is set and is not nullboolean
isNotNullNumMobiles()
Deprecated.Checks whether the 'numMobiles' field is set and is not nullboolean
isNotNullNumStations()
Deprecated.Checks whether the 'numStations' field is set and is not nullboolean
isNotNullTotalDevices()
Deprecated.Checks whether the 'totalDevices' field is set and is not nullvoid
mergeChanges(DeviceCountInfo src)
Deprecated.Copy all the changed fields from the given source to this instance.void
resetChangeLog()
Deprecated.Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.DeviceCountInfo
setNumBambooleafs(Long numBambooleafs)
Deprecated.Sets the field 'numBambooleafs'.DeviceCountInfo
setNumBayleafs(Long numBayleafs)
Deprecated.Sets the field 'numBayleafs'.DeviceCountInfo
setNumGMCs(Long numGMCs)
Deprecated.Sets the field 'numGMCs'.DeviceCountInfo
setNumGoldenoaks(Long numGoldenoaks)
Deprecated.Sets the field 'numGoldenoaks'.DeviceCountInfo
setNumMinis(Long numMinis)
Deprecated.Sets the field 'numMinis'.DeviceCountInfo
setNumMobiles(Long numMobiles)
Deprecated.Sets the field 'numMobiles'.DeviceCountInfo
setNumStations(Long numStations)
Deprecated.Sets the field 'numStations'.DeviceCountInfo
setTotalDevices(Long totalDevices)
Deprecated.Sets the field 'totalDevices'.void
validate()
Deprecated.-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<DeviceCountInfo> CREATOR
Deprecated.
-
JSON_CREATOR
public static final JSONifiable.Creator<DeviceCountInfo> JSON_CREATOR
Deprecated.
-
-
Constructor Detail
-
DeviceCountInfo
public DeviceCountInfo()
Deprecated.Constructs a new empty instance.
-
DeviceCountInfo
protected DeviceCountInfo(boolean noInit)
Deprecated.Constructs a new empty instance.
-
DeviceCountInfo
public DeviceCountInfo(String json) throws IllegalArgumentException
Deprecated.Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
DeviceCountInfo
public DeviceCountInfo(JSONObject jsonObject)
Deprecated.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.
-
DeviceCountInfo
public DeviceCountInfo(DeviceCountInfo src)
Deprecated.Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
-
-
Method Detail
-
getTotalDevices
public Long getTotalDevices()
Deprecated.
-
getNumStations
public Long getNumStations()
Deprecated.
-
getNumMobiles
public Long getNumMobiles()
Deprecated.
-
getNumMinis
public Long getNumMinis()
Deprecated.
-
getNumBayleafs
public Long getNumBayleafs()
Deprecated.
-
getNumBambooleafs
public Long getNumBambooleafs()
Deprecated.
-
getNumGMCs
public Long getNumGMCs()
Deprecated.
-
getNumGoldenoaks
public Long getNumGoldenoaks()
Deprecated.
-
getGenericClient
protected GenericClient getGenericClient()
Deprecated.- Specified by:
getGenericClient
in classGenericParcelable
-
getJSONObject
public JSONObject getJSONObject()
Deprecated.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.- Specified by:
getJSONObject
in interfaceJSONifiable
-
isNotNullTotalDevices
public boolean isNotNullTotalDevices()
Deprecated.Checks whether the 'totalDevices' field is set and is not null
-
isNotNullNumStations
public boolean isNotNullNumStations()
Deprecated.Checks whether the 'numStations' field is set and is not null
-
isNotNullNumMobiles
public boolean isNotNullNumMobiles()
Deprecated.Checks whether the 'numMobiles' field is set and is not null
-
isNotNullNumMinis
public boolean isNotNullNumMinis()
Deprecated.Checks whether the 'numMinis' field is set and is not null
-
isNotNullNumBayleafs
public boolean isNotNullNumBayleafs()
Deprecated.Checks whether the 'numBayleafs' field is set and is not null
-
isNotNullNumBambooleafs
public boolean isNotNullNumBambooleafs()
Deprecated.Checks whether the 'numBambooleafs' field is set and is not null
-
isNotNullNumGMCs
public boolean isNotNullNumGMCs()
Deprecated.Checks whether the 'numGMCs' field is set and is not null
-
isNotNullNumGoldenoaks
public boolean isNotNullNumGoldenoaks()
Deprecated.Checks whether the 'numGoldenoaks' field is set and is not null
-
hasTotalDevices
public boolean hasTotalDevices()
Deprecated.Checks whether the 'totalDevices' field has been set, however the value could be null
-
hasNumStations
public boolean hasNumStations()
Deprecated.Checks whether the 'numStations' field has been set, however the value could be null
-
hasNumMobiles
public boolean hasNumMobiles()
Deprecated.Checks whether the 'numMobiles' field has been set, however the value could be null
-
hasNumMinis
public boolean hasNumMinis()
Deprecated.Checks whether the 'numMinis' field has been set, however the value could be null
-
hasNumBayleafs
public boolean hasNumBayleafs()
Deprecated.Checks whether the 'numBayleafs' field has been set, however the value could be null
-
hasNumBambooleafs
public boolean hasNumBambooleafs()
Deprecated.Checks whether the 'numBambooleafs' field has been set, however the value could be null
-
hasNumGMCs
public boolean hasNumGMCs()
Deprecated.Checks whether the 'numGMCs' field has been set, however the value could be null
-
hasNumGoldenoaks
public boolean hasNumGoldenoaks()
Deprecated.Checks whether the 'numGoldenoaks' field has been set, however the value could be null
-
setTotalDevices
public DeviceCountInfo setTotalDevices(Long totalDevices)
Deprecated.Sets the field 'totalDevices'.
-
setNumStations
public DeviceCountInfo setNumStations(Long numStations)
Deprecated.Sets the field 'numStations'.
-
setNumMobiles
public DeviceCountInfo setNumMobiles(Long numMobiles)
Deprecated.Sets the field 'numMobiles'.
-
setNumMinis
public DeviceCountInfo setNumMinis(Long numMinis)
Deprecated.Sets the field 'numMinis'.
-
setNumBayleafs
public DeviceCountInfo setNumBayleafs(Long numBayleafs)
Deprecated.Sets the field 'numBayleafs'.
-
setNumBambooleafs
public DeviceCountInfo setNumBambooleafs(Long numBambooleafs)
Deprecated.Sets the field 'numBambooleafs'.
-
setNumGMCs
public DeviceCountInfo setNumGMCs(Long numGMCs)
Deprecated.Sets the field 'numGMCs'.
-
setNumGoldenoaks
public DeviceCountInfo setNumGoldenoaks(Long numGoldenoaks)
Deprecated.Sets the field 'numGoldenoaks'.
-
clearTotalDevices
public void clearTotalDevices()
Deprecated.Clears the 'totalDevices' field, the 'has' method for this field will now return false
-
clearNumStations
public void clearNumStations()
Deprecated.Clears the 'numStations' field, the 'has' method for this field will now return false
-
clearNumMobiles
public void clearNumMobiles()
Deprecated.Clears the 'numMobiles' field, the 'has' method for this field will now return false
-
clearNumMinis
public void clearNumMinis()
Deprecated.Clears the 'numMinis' field, the 'has' method for this field will now return false
-
clearNumBayleafs
public void clearNumBayleafs()
Deprecated.Clears the 'numBayleafs' field, the 'has' method for this field will now return false
-
clearNumBambooleafs
public void clearNumBambooleafs()
Deprecated.Clears the 'numBambooleafs' field, the 'has' method for this field will now return false
-
clearNumGMCs
public void clearNumGMCs()
Deprecated.Clears the 'numGMCs' field, the 'has' method for this field will now return false
-
clearNumGoldenoaks
public void clearNumGoldenoaks()
Deprecated.Clears the 'numGoldenoaks' field, the 'has' method for this field will now return false
-
containsChanges
public boolean containsChanges()
Deprecated.Returns true if this instance has any changes.
-
resetChangeLog
public void resetChangeLog()
Deprecated.Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
-
copyChanges
public DeviceCountInfo copyChanges()
Deprecated.Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(DeviceCountInfo src)
Deprecated.Copy all the changed fields from the given source to this instance.
-
-