Package com.adyen.model.marketpayaccount
Class MigrationData
- java.lang.Object
-
- com.adyen.model.marketpayaccount.MigrationData
-
public class MigrationData extends Object
MigrationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_IDstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_MIGRATEDstatic StringJSON_PROPERTY_MIGRATED_ACCOUNTSstatic StringJSON_PROPERTY_MIGRATED_SHAREHOLDERSstatic StringJSON_PROPERTY_MIGRATED_STORESstatic StringJSON_PROPERTY_MIGRATION_DATE
-
Constructor Summary
Constructors Constructor Description MigrationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationDataaccountHolderId(String accountHolderId)MigrationDataaddMigratedAccountsItem(MigratedAccounts migratedAccountsItem)MigrationDataaddMigratedShareholdersItem(MigratedShareholders migratedShareholdersItem)MigrationDataaddMigratedStoresItem(MigratedStores migratedStoresItem)MigrationDatabalancePlatform(String balancePlatform)booleanequals(Object o)Return true if this MigrationData object is equal to o.static MigrationDatafromJson(String jsonString)Create an instance of MigrationData given an JSON stringStringgetAccountHolderId()The unique identifier of the account holder in the balance platform.StringgetBalancePlatform()The unique identifier of the balance platfrom to which the account holder was migrated.BooleangetMigrated()Set to **true** if the account holder has been migrated.List<MigratedAccounts>getMigratedAccounts()Contains the mapping of virtual account codes (classic integration) to the balance account codes (balance platform) associated with the migrated account holder.List<MigratedShareholders>getMigratedShareholders()Contains the mapping of shareholders associated with the migrated legal entities.List<MigratedStores>getMigratedStores()Contains the mapping of business lines and stores associated with the migrated account holder.OffsetDateTimegetMigrationDate()The date when account holder was migrated.inthashCode()MigrationDatamigrated(Boolean migrated)MigrationDatamigratedAccounts(List<MigratedAccounts> migratedAccounts)MigrationDatamigratedShareholders(List<MigratedShareholders> migratedShareholders)MigrationDatamigratedStores(List<MigratedStores> migratedStores)MigrationDatamigrationDate(OffsetDateTime migrationDate)voidsetAccountHolderId(String accountHolderId)voidsetBalancePlatform(String balancePlatform)voidsetMigrated(Boolean migrated)voidsetMigratedAccounts(List<MigratedAccounts> migratedAccounts)voidsetMigratedShareholders(List<MigratedShareholders> migratedShareholders)voidsetMigratedStores(List<MigratedStores> migratedStores)voidsetMigrationDate(OffsetDateTime migrationDate)StringtoJson()Convert an instance of MigrationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_ID
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATED
public static final String JSON_PROPERTY_MIGRATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATED_ACCOUNTS
public static final String JSON_PROPERTY_MIGRATED_ACCOUNTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATED_SHAREHOLDERS
public static final String JSON_PROPERTY_MIGRATED_SHAREHOLDERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATED_STORES
public static final String JSON_PROPERTY_MIGRATED_STORES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATION_DATE
public static final String JSON_PROPERTY_MIGRATION_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderId
public MigrationData accountHolderId(String accountHolderId)
-
getAccountHolderId
public String getAccountHolderId()
The unique identifier of the account holder in the balance platform.- Returns:
- accountHolderId
-
setAccountHolderId
public void setAccountHolderId(String accountHolderId)
-
balancePlatform
public MigrationData balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platfrom to which the account holder was migrated.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
-
migrated
public MigrationData migrated(Boolean migrated)
-
getMigrated
public Boolean getMigrated()
Set to **true** if the account holder has been migrated.- Returns:
- migrated
-
setMigrated
public void setMigrated(Boolean migrated)
-
migratedAccounts
public MigrationData migratedAccounts(List<MigratedAccounts> migratedAccounts)
-
addMigratedAccountsItem
public MigrationData addMigratedAccountsItem(MigratedAccounts migratedAccountsItem)
-
getMigratedAccounts
public List<MigratedAccounts> getMigratedAccounts()
Contains the mapping of virtual account codes (classic integration) to the balance account codes (balance platform) associated with the migrated account holder.- Returns:
- migratedAccounts
-
setMigratedAccounts
public void setMigratedAccounts(List<MigratedAccounts> migratedAccounts)
-
migratedShareholders
public MigrationData migratedShareholders(List<MigratedShareholders> migratedShareholders)
-
addMigratedShareholdersItem
public MigrationData addMigratedShareholdersItem(MigratedShareholders migratedShareholdersItem)
-
getMigratedShareholders
public List<MigratedShareholders> getMigratedShareholders()
Contains the mapping of shareholders associated with the migrated legal entities.- Returns:
- migratedShareholders
-
setMigratedShareholders
public void setMigratedShareholders(List<MigratedShareholders> migratedShareholders)
-
migratedStores
public MigrationData migratedStores(List<MigratedStores> migratedStores)
-
addMigratedStoresItem
public MigrationData addMigratedStoresItem(MigratedStores migratedStoresItem)
-
getMigratedStores
public List<MigratedStores> getMigratedStores()
Contains the mapping of business lines and stores associated with the migrated account holder.- Returns:
- migratedStores
-
setMigratedStores
public void setMigratedStores(List<MigratedStores> migratedStores)
-
migrationDate
public MigrationData migrationDate(OffsetDateTime migrationDate)
-
getMigrationDate
public OffsetDateTime getMigrationDate()
The date when account holder was migrated.- Returns:
- migrationDate
-
setMigrationDate
public void setMigrationDate(OffsetDateTime migrationDate)
-
equals
public boolean equals(Object o)
Return true if this MigrationData object is equal to o.
-
fromJson
public static MigrationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of MigrationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MigrationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to MigrationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of MigrationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-