Class FundingDetail

java.lang.Object
markets.alpaca.client.openapi.broker.model.FundingDetail
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class FundingDetail extends Object implements Serializable
Gets funding details that can be used to settle and collect funds in each available currency.
See Also:
  • Field Details

  • Constructor Details

    • FundingDetail

      public FundingDetail()
  • Method Details

    • accountHolderName

      public FundingDetail accountHolderName(@Nullable String accountHolderName)
    • getAccountHolderName

      @Nullable public String getAccountHolderName()
      Get accountHolderName
      Returns:
      accountHolderName
    • setAccountHolderName

      public void setAccountHolderName(@Nullable String accountHolderName)
    • accountNumber

      public FundingDetail accountNumber(@Nullable String accountNumber)
    • getAccountNumber

      @Nullable public String getAccountNumber()
      Get accountNumber
      Returns:
      accountNumber
    • setAccountNumber

      public void setAccountNumber(@Nullable String accountNumber)
    • accountNumberType

      public FundingDetail accountNumberType(@Nullable String accountNumberType)
    • getAccountNumberType

      @Nullable public String getAccountNumberType()
      Get accountNumberType
      Returns:
      accountNumberType
    • setAccountNumberType

      public void setAccountNumberType(@Nullable String accountNumberType)
    • bankAddress

      public FundingDetail bankAddress(@Nullable String bankAddress)
    • getBankAddress

      @Nullable public String getBankAddress()
      Get bankAddress
      Returns:
      bankAddress
    • setBankAddress

      public void setBankAddress(@Nullable String bankAddress)
    • bankCountry

      public FundingDetail bankCountry(@Nullable String bankCountry)
    • getBankCountry

      @Nullable public String getBankCountry()
      Get bankCountry
      Returns:
      bankCountry
    • setBankCountry

      public void setBankCountry(@Nullable String bankCountry)
    • bankName

      public FundingDetail bankName(@Nullable String bankName)
    • getBankName

      @Nullable public String getBankName()
      Get bankName
      Returns:
      bankName
    • setBankName

      public void setBankName(@Nullable String bankName)
    • currency

      public FundingDetail currency(@Nullable String currency)
    • getCurrency

      @Nullable public String getCurrency()
      Get currency
      Returns:
      currency
    • setCurrency

      public void setCurrency(@Nullable String currency)
    • paymentType

      public FundingDetail paymentType(@Nullable FundingDetailPaymentType paymentType)
    • getPaymentType

      @Nullable public FundingDetailPaymentType getPaymentType()
      Get paymentType
      Returns:
      paymentType
    • setPaymentType

      public void setPaymentType(@Nullable FundingDetailPaymentType paymentType)
    • routingCode

      public FundingDetail routingCode(@Nullable String routingCode)
    • getRoutingCode

      @Nullable public String getRoutingCode()
      Get routingCode
      Returns:
      routingCode
    • setRoutingCode

      public void setRoutingCode(@Nullable String routingCode)
    • routingCodeType

      public FundingDetail routingCodeType(@Nullable FundingDetailRoutingCodeType routingCodeType)
    • getRoutingCodeType

      @Nullable public FundingDetailRoutingCodeType getRoutingCodeType()
      Get routingCodeType
      Returns:
      routingCodeType
    • setRoutingCodeType

      public void setRoutingCodeType(@Nullable FundingDetailRoutingCodeType routingCodeType)
    • putAdditionalProperty

      public FundingDetail 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 FundingDetail 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 FundingDetail
    • fromJson

      public static FundingDetail fromJson(String jsonString) throws IOException
      Create an instance of FundingDetail given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of FundingDetail
      Throws:
      IOException - if the JSON string is invalid with respect to FundingDetail
    • toJson

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