Class Beneficiary
java.lang.Object
markets.alpaca.client.openapi.broker.model.Beneficiary
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class Beneficiary
extends Object
implements Serializable
Beneficiary of an account
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondateOfBirth(String dateOfBirth) booleanfamilyName(String familyName) static BeneficiaryCreate an instance of Beneficiary given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get dateOfBirthGet familyNameGet givenNameGet middleNameGet relationshipGet sharePctgetTaxId()Get taxIdGet taxIdTypegetType()Get typeinthashCode()middleName(String middleName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationship(String relationship) voidsetDateOfBirth(String dateOfBirth) voidsetFamilyName(String familyName) voidsetGivenName(String givenName) voidsetMiddleName(String middleName) voidsetRelationship(String relationship) voidsetSharePct(String sharePct) voidvoidsetTaxIdType(String taxIdType) voidtoJson()Convert an instance of Beneficiary 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_DATE_OF_BIRTH
- See Also:
-
SERIALIZED_NAME_FAMILY_NAME
- See Also:
-
SERIALIZED_NAME_GIVEN_NAME
- See Also:
-
SERIALIZED_NAME_MIDDLE_NAME
- See Also:
-
SERIALIZED_NAME_RELATIONSHIP
- See Also:
-
SERIALIZED_NAME_SHARE_PCT
- See Also:
-
SERIALIZED_NAME_TAX_ID
- See Also:
-
SERIALIZED_NAME_TAX_ID_TYPE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Beneficiary
public Beneficiary()
-
-
Method Details
-
dateOfBirth
-
getDateOfBirth
Get dateOfBirth- Returns:
- dateOfBirth
-
setDateOfBirth
-
familyName
-
getFamilyName
Get familyName- Returns:
- familyName
-
setFamilyName
-
givenName
-
getGivenName
Get givenName- Returns:
- givenName
-
setGivenName
-
middleName
-
getMiddleName
Get middleName- Returns:
- middleName
-
setMiddleName
-
relationship
-
getRelationship
Get relationship- Returns:
- relationship
-
setRelationship
-
taxId
-
getTaxId
Get taxId- Returns:
- taxId
-
setTaxId
-
taxIdType
-
getTaxIdType
Get taxIdType- Returns:
- taxIdType
-
setTaxIdType
-
type
-
getType
Get type- Returns:
- type
-
setType
-
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 Beneficiary 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 Beneficiary
-
fromJson
Create an instance of Beneficiary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Beneficiary
- Throws:
IOException- if the JSON string is invalid with respect to Beneficiary
-
toJson
Convert an instance of Beneficiary to an JSON string- Returns:
- JSON string
-