Package com.clover.common.payments
Class TerminalManagementStandard
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.common.payments.TerminalManagementStandard
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class TerminalManagementStandard extends GenericParcelable implements Validator, JSONifiable
This is an auto-generated Clover data object.Fields
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TerminalManagementStandard.Constraints
-
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<TerminalManagementStandard>
CREATOR
static JSONifiable.Creator<TerminalManagementStandard>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description TerminalManagementStandard()
Constructs a new empty instance.protected
TerminalManagementStandard(boolean noInit)
Constructs a new empty instance.TerminalManagementStandard(TerminalManagementStandard src)
Constructs a new instance that is a deep copy of the source instance.TerminalManagementStandard(String json)
Constructs a new instance from the given JSON String.TerminalManagementStandard(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAssessmentIdentifier()
Clears the 'assessmentIdentifier' field, the 'has' method for this field will now return falsevoid
clearAssigner()
Clears the 'assigner' field, the 'has' method for this field will now return falsevoid
clearComponent()
Clears the 'component' field, the 'has' method for this field will now return falsevoid
clearIdentification()
Clears the 'identification' field, the 'has' method for this field will now return falsevoid
clearIssuer()
Clears the 'issuer' field, the 'has' method for this field will now return falsevoid
clearType()
Clears the 'type' field, the 'has' method for this field will now return falsevoid
clearVersion()
Clears the 'version' field, the 'has' method for this field will now return falseboolean
containsChanges()
Returns true if this instance has any changes.TerminalManagementStandard
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.String
getAssessmentIdentifier()
approval number or other identifier for the assessmentString
getAssigner()
the assessment assignerString
getComponent()
The compnent this standard applies to (e.g.protected GenericClient
getGenericClient()
String
getIdentification()
The standard identifier e.g.String
getIssuer()
The standard issuerJSONObject
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.String
getType()
assessment type for the standardString
getVersion()
The standard versionboolean
hasAssessmentIdentifier()
Checks whether the 'assessmentIdentifier' field has been set, however the value could be nullboolean
hasAssigner()
Checks whether the 'assigner' field has been set, however the value could be nullboolean
hasComponent()
Checks whether the 'component' field has been set, however the value could be nullboolean
hasIdentification()
Checks whether the 'identification' field has been set, however the value could be nullboolean
hasIssuer()
Checks whether the 'issuer' field has been set, however the value could be nullboolean
hasType()
Checks whether the 'type' field has been set, however the value could be nullboolean
hasVersion()
Checks whether the 'version' field has been set, however the value could be nullboolean
isNotNullAssessmentIdentifier()
Checks whether the 'assessmentIdentifier' field is set and is not nullboolean
isNotNullAssigner()
Checks whether the 'assigner' field is set and is not nullboolean
isNotNullComponent()
Checks whether the 'component' field is set and is not nullboolean
isNotNullIdentification()
Checks whether the 'identification' field is set and is not nullboolean
isNotNullIssuer()
Checks whether the 'issuer' field is set and is not nullboolean
isNotNullType()
Checks whether the 'type' field is set and is not nullboolean
isNotNullVersion()
Checks whether the 'version' field is set and is not nullvoid
mergeChanges(TerminalManagementStandard src)
Copy all the changed fields from the given source to this instance.void
resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.TerminalManagementStandard
setAssessmentIdentifier(String assessmentIdentifier)
Sets the field 'assessmentIdentifier'.TerminalManagementStandard
setAssigner(String assigner)
Sets the field 'assigner'.TerminalManagementStandard
setComponent(String component)
Sets the field 'component'.TerminalManagementStandard
setIdentification(String identification)
Sets the field 'identification'.TerminalManagementStandard
setIssuer(String issuer)
Sets the field 'issuer'.TerminalManagementStandard
setType(String type)
Sets the field 'type'.TerminalManagementStandard
setVersion(String version)
Sets the field 'version'.void
validate()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<TerminalManagementStandard> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<TerminalManagementStandard> JSON_CREATOR
-
-
Constructor Detail
-
TerminalManagementStandard
public TerminalManagementStandard()
Constructs a new empty instance.
-
TerminalManagementStandard
protected TerminalManagementStandard(boolean noInit)
Constructs a new empty instance.
-
TerminalManagementStandard
public TerminalManagementStandard(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
TerminalManagementStandard
public TerminalManagementStandard(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.
-
TerminalManagementStandard
public TerminalManagementStandard(TerminalManagementStandard src)
Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
-
-
Method Detail
-
getComponent
public String getComponent()
The compnent this standard applies to (e.g. C-2)
-
getIdentification
public String getIdentification()
The standard identifier e.g. EMV ICC Specifications
-
getVersion
public String getVersion()
The standard version
-
getIssuer
public String getIssuer()
The standard issuer
-
getType
public String getType()
assessment type for the standard
-
getAssigner
public String getAssigner()
the assessment assigner
-
getAssessmentIdentifier
public String getAssessmentIdentifier()
approval number or other identifier for the assessment
-
getGenericClient
protected GenericClient getGenericClient()
- Specified by:
getGenericClient
in classGenericParcelable
-
getJSONObject
public 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.- Specified by:
getJSONObject
in interfaceJSONifiable
-
isNotNullComponent
public boolean isNotNullComponent()
Checks whether the 'component' field is set and is not null
-
isNotNullIdentification
public boolean isNotNullIdentification()
Checks whether the 'identification' field is set and is not null
-
isNotNullVersion
public boolean isNotNullVersion()
Checks whether the 'version' field is set and is not null
-
isNotNullIssuer
public boolean isNotNullIssuer()
Checks whether the 'issuer' field is set and is not null
-
isNotNullType
public boolean isNotNullType()
Checks whether the 'type' field is set and is not null
-
isNotNullAssigner
public boolean isNotNullAssigner()
Checks whether the 'assigner' field is set and is not null
-
isNotNullAssessmentIdentifier
public boolean isNotNullAssessmentIdentifier()
Checks whether the 'assessmentIdentifier' field is set and is not null
-
hasComponent
public boolean hasComponent()
Checks whether the 'component' field has been set, however the value could be null
-
hasIdentification
public boolean hasIdentification()
Checks whether the 'identification' field has been set, however the value could be null
-
hasVersion
public boolean hasVersion()
Checks whether the 'version' field has been set, however the value could be null
-
hasIssuer
public boolean hasIssuer()
Checks whether the 'issuer' field has been set, however the value could be null
-
hasType
public boolean hasType()
Checks whether the 'type' field has been set, however the value could be null
-
hasAssigner
public boolean hasAssigner()
Checks whether the 'assigner' field has been set, however the value could be null
-
hasAssessmentIdentifier
public boolean hasAssessmentIdentifier()
Checks whether the 'assessmentIdentifier' field has been set, however the value could be null
-
setComponent
public TerminalManagementStandard setComponent(String component)
Sets the field 'component'.
-
setIdentification
public TerminalManagementStandard setIdentification(String identification)
Sets the field 'identification'.
-
setVersion
public TerminalManagementStandard setVersion(String version)
Sets the field 'version'.
-
setIssuer
public TerminalManagementStandard setIssuer(String issuer)
Sets the field 'issuer'.
-
setType
public TerminalManagementStandard setType(String type)
Sets the field 'type'.
-
setAssigner
public TerminalManagementStandard setAssigner(String assigner)
Sets the field 'assigner'.
-
setAssessmentIdentifier
public TerminalManagementStandard setAssessmentIdentifier(String assessmentIdentifier)
Sets the field 'assessmentIdentifier'.
-
clearComponent
public void clearComponent()
Clears the 'component' field, the 'has' method for this field will now return false
-
clearIdentification
public void clearIdentification()
Clears the 'identification' field, the 'has' method for this field will now return false
-
clearVersion
public void clearVersion()
Clears the 'version' field, the 'has' method for this field will now return false
-
clearIssuer
public void clearIssuer()
Clears the 'issuer' field, the 'has' method for this field will now return false
-
clearType
public void clearType()
Clears the 'type' field, the 'has' method for this field will now return false
-
clearAssigner
public void clearAssigner()
Clears the 'assigner' field, the 'has' method for this field will now return false
-
clearAssessmentIdentifier
public void clearAssessmentIdentifier()
Clears the 'assessmentIdentifier' field, the 'has' method for this field will now return false
-
containsChanges
public boolean containsChanges()
Returns true if this instance has any changes.
-
resetChangeLog
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
-
copyChanges
public TerminalManagementStandard copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(TerminalManagementStandard src)
Copy all the changed fields from the given source to this instance.
-
-