Class InstantFunding

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class InstantFunding extends Object implements Serializable
InstantFunding
See Also:
  • Field Details

  • Constructor Details

    • InstantFunding

      public InstantFunding()
  • Method Details

    • accountNo

      public InstantFunding accountNo(@Nonnull String accountNo)
    • getAccountNo

      @Nonnull public String getAccountNo()
      Get accountNo
      Returns:
      accountNo
    • setAccountNo

      public void setAccountNo(@Nonnull String accountNo)
    • amount

      public InstantFunding amount(@Nonnull BigDecimal amount)
    • getAmount

      @Nonnull public BigDecimal getAmount()
      Get amount
      Returns:
      amount
    • setAmount

      public void setAmount(@Nonnull BigDecimal amount)
    • createdAt

      public InstantFunding createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • deadline

      public InstantFunding deadline(@Nonnull LocalDate deadline)
    • getDeadline

      @Nonnull public LocalDate getDeadline()
      Get deadline
      Returns:
      deadline
    • setDeadline

      public void setDeadline(@Nonnull LocalDate deadline)
    • fees

      public InstantFunding fees(@Nonnull List<IFFee> fees)
    • addFeesItem

      public InstantFunding addFeesItem(IFFee feesItem)
    • getFees

      @Nonnull public List<IFFee> getFees()
      Get fees
      Returns:
      fees
    • setFees

      public void setFees(@Nonnull List<IFFee> fees)
    • id

      public InstantFunding id(@Nonnull UUID id)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nonnull UUID id)
    • interests

      public InstantFunding interests(@Nonnull List<Interest> interests)
    • addInterestsItem

      public InstantFunding addInterestsItem(Interest interestsItem)
    • getInterests

      @Nonnull public List<Interest> getInterests()
      Get interests
      Returns:
      interests
    • setInterests

      public void setInterests(@Nonnull List<Interest> interests)
    • remainingPayable

      public InstantFunding remainingPayable(@Nonnull BigDecimal remainingPayable)
    • getRemainingPayable

      @Nonnull public BigDecimal getRemainingPayable()
      Get remainingPayable
      Returns:
      remainingPayable
    • setRemainingPayable

      public void setRemainingPayable(@Nonnull BigDecimal remainingPayable)
    • sourceAccountNo

      public InstantFunding sourceAccountNo(@Nonnull String sourceAccountNo)
    • getSourceAccountNo

      @Nonnull public String getSourceAccountNo()
      Get sourceAccountNo
      Returns:
      sourceAccountNo
    • setSourceAccountNo

      public void setSourceAccountNo(@Nonnull String sourceAccountNo)
    • status

      public InstantFunding status(@Nonnull InstantFundingStatus status)
    • getStatus

      @Nonnull public InstantFundingStatus getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull InstantFundingStatus status)
    • systemDate

      public InstantFunding systemDate(@Nonnull LocalDate systemDate)
    • getSystemDate

      @Nonnull public LocalDate getSystemDate()
      Get systemDate
      Returns:
      systemDate
    • setSystemDate

      public void setSystemDate(@Nonnull LocalDate systemDate)
    • totalInterest

      public InstantFunding totalInterest(@Nonnull BigDecimal totalInterest)
    • getTotalInterest

      @Nonnull public BigDecimal getTotalInterest()
      Get totalInterest
      Returns:
      totalInterest
    • setTotalInterest

      public void setTotalInterest(@Nonnull BigDecimal totalInterest)
    • putAdditionalProperty

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

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

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