Package com.adyen.model.balanceplatform
Class AssociationListing
- java.lang.Object
-
- com.adyen.model.balanceplatform.AssociationListing
-
public class AssociationListing extends Object
AssociationListing
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_ENTITY_IDstatic StringJSON_PROPERTY_ENTITY_TYPEstatic StringJSON_PROPERTY_SCA_DEVICE_IDstatic StringJSON_PROPERTY_SCA_DEVICE_NAMEstatic StringJSON_PROPERTY_SCA_DEVICE_TYPEstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description AssociationListing()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationListingcreatedAt(OffsetDateTime createdAt)The date and time when the association was created.AssociationListingentityId(String entityId)The unique identifier of the entity.AssociationListingentityType(ScaEntityType entityType)entityTypebooleanequals(Object o)Return true if this AssociationListing object is equal to o.static AssociationListingfromJson(String jsonString)Create an instance of AssociationListing given an JSON stringOffsetDateTimegetCreatedAt()The date and time when the association was created.StringgetEntityId()The unique identifier of the entity.ScaEntityTypegetEntityType()Get entityTypeMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetScaDeviceId()The unique identifier of the SCA device.StringgetScaDeviceName()The human-readable name for the SCA device that was registered.ScaDeviceTypegetScaDeviceType()Get scaDeviceTypeAssociationStatusgetStatus()Get statusinthashCode()AssociationListingincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.AssociationListingscaDeviceId(String scaDeviceId)The unique identifier of the SCA device.AssociationListingscaDeviceName(String scaDeviceName)The human-readable name for the SCA device that was registered.AssociationListingscaDeviceType(ScaDeviceType scaDeviceType)scaDeviceTypevoidsetCreatedAt(OffsetDateTime createdAt)The date and time when the association was created.voidsetEntityId(String entityId)The unique identifier of the entity.voidsetEntityType(ScaEntityType entityType)entityTypevoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetScaDeviceId(String scaDeviceId)The unique identifier of the SCA device.voidsetScaDeviceName(String scaDeviceName)The human-readable name for the SCA device that was registered.voidsetScaDeviceType(ScaDeviceType scaDeviceType)scaDeviceTypevoidsetStatus(AssociationStatus status)statusAssociationListingstatus(AssociationStatus status)statusStringtoJson()Convert an instance of AssociationListing to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTITY_ID
public static final String JSON_PROPERTY_ENTITY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTITY_TYPE
public static final String JSON_PROPERTY_ENTITY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCA_DEVICE_ID
public static final String JSON_PROPERTY_SCA_DEVICE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCA_DEVICE_NAME
public static final String JSON_PROPERTY_SCA_DEVICE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCA_DEVICE_TYPE
public static final String JSON_PROPERTY_SCA_DEVICE_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
createdAt
public AssociationListing createdAt(OffsetDateTime createdAt)
The date and time when the association was created.- Parameters:
createdAt- The date and time when the association was created.- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getCreatedAt
public OffsetDateTime getCreatedAt()
The date and time when the association was created.- Returns:
- createdAt The date and time when the association was created.
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
The date and time when the association was created.- Parameters:
createdAt- The date and time when the association was created.
-
entityId
public AssociationListing entityId(String entityId)
The unique identifier of the entity.- Parameters:
entityId- The unique identifier of the entity.- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getEntityId
public String getEntityId()
The unique identifier of the entity.- Returns:
- entityId The unique identifier of the entity.
-
setEntityId
public void setEntityId(String entityId)
The unique identifier of the entity.- Parameters:
entityId- The unique identifier of the entity.
-
entityType
public AssociationListing entityType(ScaEntityType entityType)
entityType- Parameters:
entityType-- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getEntityType
public ScaEntityType getEntityType()
Get entityType- Returns:
- entityType
-
setEntityType
public void setEntityType(ScaEntityType entityType)
entityType- Parameters:
entityType-
-
scaDeviceId
public AssociationListing scaDeviceId(String scaDeviceId)
The unique identifier of the SCA device.- Parameters:
scaDeviceId- The unique identifier of the SCA device.- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getScaDeviceId
public String getScaDeviceId()
The unique identifier of the SCA device.- Returns:
- scaDeviceId The unique identifier of the SCA device.
-
setScaDeviceId
public void setScaDeviceId(String scaDeviceId)
The unique identifier of the SCA device.- Parameters:
scaDeviceId- The unique identifier of the SCA device.
-
scaDeviceName
public AssociationListing scaDeviceName(String scaDeviceName)
The human-readable name for the SCA device that was registered.- Parameters:
scaDeviceName- The human-readable name for the SCA device that was registered.- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getScaDeviceName
public String getScaDeviceName()
The human-readable name for the SCA device that was registered.- Returns:
- scaDeviceName The human-readable name for the SCA device that was registered.
-
setScaDeviceName
public void setScaDeviceName(String scaDeviceName)
The human-readable name for the SCA device that was registered.- Parameters:
scaDeviceName- The human-readable name for the SCA device that was registered.
-
scaDeviceType
public AssociationListing scaDeviceType(ScaDeviceType scaDeviceType)
scaDeviceType- Parameters:
scaDeviceType-- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getScaDeviceType
public ScaDeviceType getScaDeviceType()
Get scaDeviceType- Returns:
- scaDeviceType
-
setScaDeviceType
public void setScaDeviceType(ScaDeviceType scaDeviceType)
scaDeviceType- Parameters:
scaDeviceType-
-
status
public AssociationListing status(AssociationStatus status)
status- Parameters:
status-- Returns:
- the current
AssociationListinginstance, allowing for method chaining
-
getStatus
public AssociationStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(AssociationStatus status)
status- Parameters:
status-
-
includeNullValues
public AssociationListing includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this AssociationListing object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static AssociationListing fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AssociationListing given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AssociationListing
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AssociationListing
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AssociationListing to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-