Class AcatsContraAccountDetails
java.lang.Object
markets.alpaca.client.openapi.broker.model.AcatsContraAccountDetails
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class AcatsContraAccountDetails
extends Object
implements Serializable
Contra account details
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) brokerName(String brokerName) brokerNumber(String brokerNumber) customerName(String customerName) customerTaxId(String customerTaxId) booleanstatic AcatsContraAccountDetailsCreate an instance of AcatsContraAccountDetails given an JSON stringAccount number at the contra brokerReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the contra broker (non-functional, used for auditability and display purposes)Clearing number of the contra brokerName on the account at the contra brokerTax ID on the account at the contra brokerinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountNumber(String accountNumber) voidsetBrokerName(String brokerName) voidsetBrokerNumber(String brokerNumber) voidsetCustomerName(String customerName) voidsetCustomerTaxId(String customerTaxId) toJson()Convert an instance of AcatsContraAccountDetails 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_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_BROKER_NAME
- See Also:
-
SERIALIZED_NAME_BROKER_NUMBER
- See Also:
-
SERIALIZED_NAME_CUSTOMER_NAME
- See Also:
-
SERIALIZED_NAME_CUSTOMER_TAX_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AcatsContraAccountDetails
public AcatsContraAccountDetails()
-
-
Method Details
-
accountNumber
-
getAccountNumber
Account number at the contra broker- Returns:
- accountNumber
-
setAccountNumber
-
brokerName
-
getBrokerName
Name of the contra broker (non-functional, used for auditability and display purposes)- Returns:
- brokerName
-
setBrokerName
-
brokerNumber
-
getBrokerNumber
Clearing number of the contra broker- Returns:
- brokerNumber
-
setBrokerNumber
-
customerName
-
getCustomerName
Name on the account at the contra broker- Returns:
- customerName
-
setCustomerName
-
customerTaxId
-
getCustomerTaxId
Tax ID on the account at the contra broker- Returns:
- customerTaxId
-
setCustomerTaxId
-
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 AcatsContraAccountDetails 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 AcatsContraAccountDetails
-
fromJson
Create an instance of AcatsContraAccountDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AcatsContraAccountDetails
- Throws:
IOException- if the JSON string is invalid with respect to AcatsContraAccountDetails
-
toJson
Convert an instance of AcatsContraAccountDetails to an JSON string- Returns:
- JSON string
-