CustomerInfo
This is an auto-generated Clover data object.
Represents a customer that is linked to an external system. This customer may be persisted in Clover, or it may not.
Fields
Constructors
Link copied to clipboard
Constructs a new empty instance.
Constructs a new instance from the given JSON String.
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.
Properties
Functions
Link copied to clipboard
Clears the 'customer' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'displayString' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'externalId' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'externalSystemName' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'extras' field, the 'has' method for this field will now return false
Link copied to clipboard
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
Link copied to clipboard
The customer object that Clover uses.
Link copied to clipboard
A custom way to display this customer for an external system
Link copied to clipboard
an id for an external system to use to reference this Customer.
Link copied to clipboard
The name of the external system that 'owns' this.
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
Checks whether the 'customer' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'displayString' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'externalId' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'externalSystemName' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'extras' field is set and is not null and is not empty
Link copied to clipboard
Checks whether the 'customer' field is set and is not null
Link copied to clipboard
Checks whether the 'displayString' field is set and is not null
Link copied to clipboard
Checks whether the 'externalId' field is set and is not null
Link copied to clipboard
Checks whether the 'externalSystemName' field is set and is not null
Link copied to clipboard
Checks whether the 'extras' field is set and is not null
Link copied to clipboard
Copy all the changed fields from the given source to this instance.
Link copied to clipboard
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 'customer'.
Link copied to clipboard
Sets the field 'displayString'.
Link copied to clipboard
Sets the field 'externalId'.
Link copied to clipboard
Sets the field 'externalSystemName'.
Link copied to clipboard