Class ModifiedByImpl
- All Implemented Interfaces:
ModifiedBy,io.vrap.rmf.base.client.ModelBase
Information about the user or API Client who performed the change. This is a variant of LastModifiedBy.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPresent only if the change was made using a token from an anonymous session.ID of the API Client that made the change.Reference to the Customer who made the change.getId()ID of the Merchant Center user who made the change.trueif the change was made using the Merchant Center or ImpEx.getType()Indicates who performed the change.inthashCode()voidsetAnonymousId(String anonymousId) Present only if the change was made using a token from an anonymous session.voidsetClientId(String clientId) ID of the API Client that made the change.voidsetCustomer(Reference customer) Reference to the Customer who made the change.voidID of the Merchant Center user who made the change.voidsetIsPlatformClient(Boolean isPlatformClient) trueif the change was made using the Merchant Center or ImpEx.voidIndicates who performed the change.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.change_history.ModifiedBy
withModifiedBy
-
Constructor Details
-
ModifiedByImpl
public ModifiedByImpl()create empty instance
-
-
Method Details
-
getId
ID of the Merchant Center user who made the change.
Present only if the change was made in the Merchant Center.
- Specified by:
getIdin interfaceModifiedBy- Returns:
- id
-
getType
Indicates who performed the change.
- If the change was made by a user, the value is
"user". - If the change was made by an API Client with or without an external user ID, the value is
"external-user".
- Specified by:
getTypein interfaceModifiedBy- Returns:
- type
- If the change was made by a user, the value is
-
getCustomer
Reference to the Customer who made the change.
Present only if the change was made using a token from the password flow.
- Specified by:
getCustomerin interfaceModifiedBy- Returns:
- customer
-
getAnonymousId
Present only if the change was made using a token from an anonymous session.
- Specified by:
getAnonymousIdin interfaceModifiedBy- Returns:
- anonymousId
-
getClientId
ID of the API Client that made the change.
Present only if the change was made using an API Client.
- Specified by:
getClientIdin interfaceModifiedBy- Returns:
- clientId
-
getIsPlatformClient
trueif the change was made using the Merchant Center or ImpEx.- Specified by:
getIsPlatformClientin interfaceModifiedBy- Returns:
- isPlatformClient
-
setId
Description copied from interface:ModifiedByID of the Merchant Center user who made the change.
Present only if the change was made in the Merchant Center.
- Specified by:
setIdin interfaceModifiedBy- Parameters:
id- value to be set
-
setType
Description copied from interface:ModifiedByIndicates who performed the change.
- If the change was made by a user, the value is
"user". - If the change was made by an API Client with or without an external user ID, the value is
"external-user".
- Specified by:
setTypein interfaceModifiedBy- Parameters:
type- value to be set
- If the change was made by a user, the value is
-
setCustomer
Description copied from interface:ModifiedByReference to the Customer who made the change.
Present only if the change was made using a token from the password flow.
- Specified by:
setCustomerin interfaceModifiedBy- Parameters:
customer- value to be set
-
setAnonymousId
Description copied from interface:ModifiedByPresent only if the change was made using a token from an anonymous session.
- Specified by:
setAnonymousIdin interfaceModifiedBy- Parameters:
anonymousId- value to be set
-
setClientId
Description copied from interface:ModifiedByID of the API Client that made the change.
Present only if the change was made using an API Client.
- Specified by:
setClientIdin interfaceModifiedBy- Parameters:
clientId- value to be set
-
setIsPlatformClient
Description copied from interface:ModifiedBytrueif the change was made using the Merchant Center or ImpEx.- Specified by:
setIsPlatformClientin interfaceModifiedBy- Parameters:
isPlatformClient- value to be set
-
equals
-
hashCode
-