Package com.adyen.model.balanceplatform
Class BankAccountAccountIdentification
- java.lang.Object
-
- com.adyen.model.balanceplatform.AbstractOpenApiSchema
-
- com.adyen.model.balanceplatform.BankAccountAccountIdentification
-
public class BankAccountAccountIdentification extends AbstractOpenApiSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccountAccountIdentification.BankAccountAccountIdentificationDeserializerstatic classBankAccountAccountIdentification.BankAccountAccountIdentificationSerializer
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BankAccountAccountIdentificationfromJson(String jsonString)Create an instance of BankAccountAccountIdentification given an JSON stringObjectgetActualInstance()Get the actual instance, which can be the following: AULocalAccountIdentification, BRLocalAccountIdentification, CALocalAccountIdentification, CZLocalAccountIdentification, DKLocalAccountIdentification, HKLocalAccountIdentification, HULocalAccountIdentification, IbanAccountIdentification, NOLocalAccountIdentification, NZLocalAccountIdentification, NumberAndBicAccountIdentification, PLLocalAccountIdentification, SELocalAccountIdentification, SGLocalAccountIdentification, UKLocalAccountIdentification, USLocalAccountIdentificationAULocalAccountIdentificationgetAULocalAccountIdentification()Get the actual instance of `AULocalAccountIdentification`.BRLocalAccountIdentificationgetBRLocalAccountIdentification()Get the actual instance of `BRLocalAccountIdentification`.CALocalAccountIdentificationgetCALocalAccountIdentification()Get the actual instance of `CALocalAccountIdentification`.CZLocalAccountIdentificationgetCZLocalAccountIdentification()Get the actual instance of `CZLocalAccountIdentification`.DKLocalAccountIdentificationgetDKLocalAccountIdentification()Get the actual instance of `DKLocalAccountIdentification`.HKLocalAccountIdentificationgetHKLocalAccountIdentification()Get the actual instance of `HKLocalAccountIdentification`.HULocalAccountIdentificationgetHULocalAccountIdentification()Get the actual instance of `HULocalAccountIdentification`.IbanAccountIdentificationgetIbanAccountIdentification()Get the actual instance of `IbanAccountIdentification`.NOLocalAccountIdentificationgetNOLocalAccountIdentification()Get the actual instance of `NOLocalAccountIdentification`.NumberAndBicAccountIdentificationgetNumberAndBicAccountIdentification()Get the actual instance of `NumberAndBicAccountIdentification`.NZLocalAccountIdentificationgetNZLocalAccountIdentification()Get the actual instance of `NZLocalAccountIdentification`.PLLocalAccountIdentificationgetPLLocalAccountIdentification()Get the actual instance of `PLLocalAccountIdentification`.Map<String,jakarta.ws.rs.core.GenericType>getSchemas()Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectSELocalAccountIdentificationgetSELocalAccountIdentification()Get the actual instance of `SELocalAccountIdentification`.SGLocalAccountIdentificationgetSGLocalAccountIdentification()Get the actual instance of `SGLocalAccountIdentification`.UKLocalAccountIdentificationgetUKLocalAccountIdentification()Get the actual instance of `UKLocalAccountIdentification`.USLocalAccountIdentificationgetUSLocalAccountIdentification()Get the actual instance of `USLocalAccountIdentification`.voidsetActualInstance(Object instance)Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: AULocalAccountIdentification, BRLocalAccountIdentification, CALocalAccountIdentification, CZLocalAccountIdentification, DKLocalAccountIdentification, HKLocalAccountIdentification, HULocalAccountIdentification, IbanAccountIdentification, NOLocalAccountIdentification, NZLocalAccountIdentification, NumberAndBicAccountIdentification, PLLocalAccountIdentification, SELocalAccountIdentification, SGLocalAccountIdentification, UKLocalAccountIdentification, USLocalAccountIdentification It could be an instance of the 'oneOf' schemas.StringtoJson()Convert an instance of BankAccountAccountIdentification to an JSON string-
Methods inherited from class com.adyen.model.balanceplatform.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
-
-
-
Constructor Detail
-
BankAccountAccountIdentification
public BankAccountAccountIdentification()
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(AULocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(BRLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(CALocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(CZLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(DKLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(HKLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(HULocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(IbanAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(NOLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(NZLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(NumberAndBicAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(PLLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(SELocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(SGLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(UKLocalAccountIdentification o)
-
BankAccountAccountIdentification
public BankAccountAccountIdentification(USLocalAccountIdentification o)
-
-
Method Detail
-
getSchemas
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: AULocalAccountIdentification, BRLocalAccountIdentification, CALocalAccountIdentification, CZLocalAccountIdentification, DKLocalAccountIdentification, HKLocalAccountIdentification, HULocalAccountIdentification, IbanAccountIdentification, NOLocalAccountIdentification, NZLocalAccountIdentification, NumberAndBicAccountIdentification, PLLocalAccountIdentification, SELocalAccountIdentification, SGLocalAccountIdentification, UKLocalAccountIdentification, USLocalAccountIdentification It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
public Object getActualInstance()
Get the actual instance, which can be the following: AULocalAccountIdentification, BRLocalAccountIdentification, CALocalAccountIdentification, CZLocalAccountIdentification, DKLocalAccountIdentification, HKLocalAccountIdentification, HULocalAccountIdentification, IbanAccountIdentification, NOLocalAccountIdentification, NZLocalAccountIdentification, NumberAndBicAccountIdentification, PLLocalAccountIdentification, SELocalAccountIdentification, SGLocalAccountIdentification, UKLocalAccountIdentification, USLocalAccountIdentification- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (AULocalAccountIdentification, BRLocalAccountIdentification, CALocalAccountIdentification, CZLocalAccountIdentification, DKLocalAccountIdentification, HKLocalAccountIdentification, HULocalAccountIdentification, IbanAccountIdentification, NOLocalAccountIdentification, NZLocalAccountIdentification, NumberAndBicAccountIdentification, PLLocalAccountIdentification, SELocalAccountIdentification, SGLocalAccountIdentification, UKLocalAccountIdentification, USLocalAccountIdentification)
-
getAULocalAccountIdentification
public AULocalAccountIdentification getAULocalAccountIdentification() throws ClassCastException
Get the actual instance of `AULocalAccountIdentification`. If the actual instance is not `AULocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `AULocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `AULocalAccountIdentification`
-
getBRLocalAccountIdentification
public BRLocalAccountIdentification getBRLocalAccountIdentification() throws ClassCastException
Get the actual instance of `BRLocalAccountIdentification`. If the actual instance is not `BRLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `BRLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `BRLocalAccountIdentification`
-
getCALocalAccountIdentification
public CALocalAccountIdentification getCALocalAccountIdentification() throws ClassCastException
Get the actual instance of `CALocalAccountIdentification`. If the actual instance is not `CALocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `CALocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `CALocalAccountIdentification`
-
getCZLocalAccountIdentification
public CZLocalAccountIdentification getCZLocalAccountIdentification() throws ClassCastException
Get the actual instance of `CZLocalAccountIdentification`. If the actual instance is not `CZLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `CZLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `CZLocalAccountIdentification`
-
getDKLocalAccountIdentification
public DKLocalAccountIdentification getDKLocalAccountIdentification() throws ClassCastException
Get the actual instance of `DKLocalAccountIdentification`. If the actual instance is not `DKLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DKLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `DKLocalAccountIdentification`
-
getHKLocalAccountIdentification
public HKLocalAccountIdentification getHKLocalAccountIdentification() throws ClassCastException
Get the actual instance of `HKLocalAccountIdentification`. If the actual instance is not `HKLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `HKLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `HKLocalAccountIdentification`
-
getHULocalAccountIdentification
public HULocalAccountIdentification getHULocalAccountIdentification() throws ClassCastException
Get the actual instance of `HULocalAccountIdentification`. If the actual instance is not `HULocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `HULocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `HULocalAccountIdentification`
-
getIbanAccountIdentification
public IbanAccountIdentification getIbanAccountIdentification() throws ClassCastException
Get the actual instance of `IbanAccountIdentification`. If the actual instance is not `IbanAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IbanAccountIdentification`
- Throws:
ClassCastException- if the instance is not `IbanAccountIdentification`
-
getNOLocalAccountIdentification
public NOLocalAccountIdentification getNOLocalAccountIdentification() throws ClassCastException
Get the actual instance of `NOLocalAccountIdentification`. If the actual instance is not `NOLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `NOLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `NOLocalAccountIdentification`
-
getNZLocalAccountIdentification
public NZLocalAccountIdentification getNZLocalAccountIdentification() throws ClassCastException
Get the actual instance of `NZLocalAccountIdentification`. If the actual instance is not `NZLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `NZLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `NZLocalAccountIdentification`
-
getNumberAndBicAccountIdentification
public NumberAndBicAccountIdentification getNumberAndBicAccountIdentification() throws ClassCastException
Get the actual instance of `NumberAndBicAccountIdentification`. If the actual instance is not `NumberAndBicAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `NumberAndBicAccountIdentification`
- Throws:
ClassCastException- if the instance is not `NumberAndBicAccountIdentification`
-
getPLLocalAccountIdentification
public PLLocalAccountIdentification getPLLocalAccountIdentification() throws ClassCastException
Get the actual instance of `PLLocalAccountIdentification`. If the actual instance is not `PLLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `PLLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `PLLocalAccountIdentification`
-
getSELocalAccountIdentification
public SELocalAccountIdentification getSELocalAccountIdentification() throws ClassCastException
Get the actual instance of `SELocalAccountIdentification`. If the actual instance is not `SELocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SELocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `SELocalAccountIdentification`
-
getSGLocalAccountIdentification
public SGLocalAccountIdentification getSGLocalAccountIdentification() throws ClassCastException
Get the actual instance of `SGLocalAccountIdentification`. If the actual instance is not `SGLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SGLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `SGLocalAccountIdentification`
-
getUKLocalAccountIdentification
public UKLocalAccountIdentification getUKLocalAccountIdentification() throws ClassCastException
Get the actual instance of `UKLocalAccountIdentification`. If the actual instance is not `UKLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UKLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `UKLocalAccountIdentification`
-
getUSLocalAccountIdentification
public USLocalAccountIdentification getUSLocalAccountIdentification() throws ClassCastException
Get the actual instance of `USLocalAccountIdentification`. If the actual instance is not `USLocalAccountIdentification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `USLocalAccountIdentification`
- Throws:
ClassCastException- if the instance is not `USLocalAccountIdentification`
-
fromJson
public static BankAccountAccountIdentification fromJson(String jsonString) throws IOException
Create an instance of BankAccountAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountAccountIdentification
- Throws:
IOException- if the JSON string is invalid with respect to BankAccountAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-