Package com.adyen.model.transferwebhooks
Class BankAccountV3AccountIdentification
- java.lang.Object
-
- com.adyen.model.transferwebhooks.AbstractOpenApiSchema
-
- com.adyen.model.transferwebhooks.BankAccountV3AccountIdentification
-
public class BankAccountV3AccountIdentification extends AbstractOpenApiSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccountV3AccountIdentification.BankAccountV3AccountIdentificationDeserializerstatic classBankAccountV3AccountIdentification.BankAccountV3AccountIdentificationSerializer
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BankAccountV3AccountIdentificationfromJson(String jsonString)Create an instance of BankAccountV3AccountIdentification 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 BankAccountV3AccountIdentification to an JSON string-
Methods inherited from class com.adyen.model.transferwebhooks.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
-
-
-
Constructor Detail
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification()
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(AULocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(BRLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(CALocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(CZLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(DKLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(HKLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(HULocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(IbanAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(NOLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(NZLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(NumberAndBicAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(PLLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(SELocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(SGLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(UKLocalAccountIdentification o)
-
BankAccountV3AccountIdentification
public BankAccountV3AccountIdentification(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 BankAccountV3AccountIdentification fromJson(String jsonString) throws IOException
Create an instance of BankAccountV3AccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountV3AccountIdentification
- Throws:
IOException- if the JSON string is invalid with respect to BankAccountV3AccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountV3AccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-