Class BankAdditionalFields
java.lang.Object
markets.alpaca.client.openapi.broker.model.BankAdditionalFields
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class BankAdditionalFields
extends Object
implements Serializable
Additional wire instructions used to explicitly specify intermediary (correspondent) banks for international wire transfers. If omitted, intermediary banks may be automatically selected by downstream institutions, which can result in delays or additional charges.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic BankAdditionalFieldsCreate an instance of BankAdditionalFields given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The primary intermediary (correspondent) bank to be used when routing the international wire transfer to the beneficiary bank.An additional intermediary bank to be used if the wire transfer requires multiple correspondent banks before reaching the beneficiary bank.A tertiary intermediary bank used in complex international wire routes that require three correspondent banks prior to reaching the beneficiary bank.inthashCode()intermediaryBank1Bic(String intermediaryBank1Bic) intermediaryBank2Bic(String intermediaryBank2Bic) intermediaryBank3Bic(String intermediaryBank3Bic) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIntermediaryBank1Bic(String intermediaryBank1Bic) voidsetIntermediaryBank2Bic(String intermediaryBank2Bic) voidsetIntermediaryBank3Bic(String intermediaryBank3Bic) toJson()Convert an instance of BankAdditionalFields to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_INTERMEDIARY_BANK1_BIC
- See Also:
-
SERIALIZED_NAME_INTERMEDIARY_BANK2_BIC
- See Also:
-
SERIALIZED_NAME_INTERMEDIARY_BANK3_BIC
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BankAdditionalFields
public BankAdditionalFields()
-
-
Method Details
-
intermediaryBank1Bic
-
getIntermediaryBank1Bic
The primary intermediary (correspondent) bank to be used when routing the international wire transfer to the beneficiary bank.- Returns:
- intermediaryBank1Bic
-
setIntermediaryBank1Bic
-
intermediaryBank2Bic
-
getIntermediaryBank2Bic
An additional intermediary bank to be used if the wire transfer requires multiple correspondent banks before reaching the beneficiary bank.- Returns:
- intermediaryBank2Bic
-
setIntermediaryBank2Bic
-
intermediaryBank3Bic
-
getIntermediaryBank3Bic
A tertiary intermediary bank used in complex international wire routes that require three correspondent banks prior to reaching the beneficiary bank.- Returns:
- intermediaryBank3Bic
-
setIntermediaryBank3Bic
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the BankAdditionalFields instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to BankAdditionalFields
-
fromJson
Create an instance of BankAdditionalFields given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAdditionalFields
- Throws:
IOException- if the JSON string is invalid with respect to BankAdditionalFields
-
toJson
Convert an instance of BankAdditionalFields to an JSON string- Returns:
- JSON string
-