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.The Associate who made the change in the context of a Business Unit.ID of the API Client that made the change.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.voidsetAssociate(Reference associate) The Associate who made the change in the context of a Business Unit.voidsetClientId(String clientId) ID of the API Client that made the change.voidsetCustomer(Reference customer) 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.toString()Methods 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". - If the change was made by an Associate, the value is
"associate".
- Specified by:
getTypein interfaceModifiedBy- Returns:
- type
- If the change was made by a user, the value is
-
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
-
getAnonymousId
Present only if the change was made using a token from an anonymous session.
- Specified by:
getAnonymousIdin interfaceModifiedBy- Returns:
- anonymousId
-
getCustomer
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
-
getAssociate
The Associate who made the change in the context of a Business Unit. Present only if the Associate acts on behalf of a company using the associate endpoints.
- Specified by:
getAssociatein interfaceModifiedBy- Returns:
- associate
-
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". - If the change was made by an Associate, the value is
"associate".
- Specified by:
setTypein interfaceModifiedBy- Parameters:
type- value to be set
- If the change was made by a user, the value is
-
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
-
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
-
setCustomer
Description copied from interface:ModifiedByThe 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
-
setAssociate
Description copied from interface:ModifiedByThe Associate who made the change in the context of a Business Unit. Present only if the Associate acts on behalf of a company using the associate endpoints.
- Specified by:
setAssociatein interfaceModifiedBy- Parameters:
associate- 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
public int hashCode() -
toString
-