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:
  • Field Details

    • SERIALIZED_NAME_INTERMEDIARY_BANK1_BIC

      public static final String SERIALIZED_NAME_INTERMEDIARY_BANK1_BIC
      See Also:
    • SERIALIZED_NAME_INTERMEDIARY_BANK2_BIC

      public static final String SERIALIZED_NAME_INTERMEDIARY_BANK2_BIC
      See Also:
    • SERIALIZED_NAME_INTERMEDIARY_BANK3_BIC

      public static final String SERIALIZED_NAME_INTERMEDIARY_BANK3_BIC
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • BankAdditionalFields

      public BankAdditionalFields()
  • Method Details

    • intermediaryBank1Bic

      public BankAdditionalFields intermediaryBank1Bic(@Nullable String intermediaryBank1Bic)
    • getIntermediaryBank1Bic

      @Nullable public String getIntermediaryBank1Bic()
      The primary intermediary (correspondent) bank to be used when routing the international wire transfer to the beneficiary bank.
      Returns:
      intermediaryBank1Bic
    • setIntermediaryBank1Bic

      public void setIntermediaryBank1Bic(@Nullable String intermediaryBank1Bic)
    • intermediaryBank2Bic

      public BankAdditionalFields intermediaryBank2Bic(@Nullable String intermediaryBank2Bic)
    • getIntermediaryBank2Bic

      @Nullable public String getIntermediaryBank2Bic()
      An additional intermediary bank to be used if the wire transfer requires multiple correspondent banks before reaching the beneficiary bank.
      Returns:
      intermediaryBank2Bic
    • setIntermediaryBank2Bic

      public void setIntermediaryBank2Bic(@Nullable String intermediaryBank2Bic)
    • intermediaryBank3Bic

      public BankAdditionalFields intermediaryBank3Bic(@Nullable String intermediaryBank3Bic)
    • getIntermediaryBank3Bic

      @Nullable public String 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

      public void setIntermediaryBank3Bic(@Nullable String intermediaryBank3Bic)
    • putAdditionalProperty

      public BankAdditionalFields putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the BankAdditionalFields instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static BankAdditionalFields fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of BankAdditionalFields to an JSON string
      Returns:
      JSON string