Class TransferFee
java.lang.Object
markets.alpaca.client.openapi.broker.model.TransferFee
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class TransferFee
extends Object
implements Serializable
TransferFee
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamount(BigDecimal amount) booleanstatic TransferFeeCreate an instance of TransferFee given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get amount\"USD\" // US Dollar \"JPY\" // Japanese Yen \"EUR\" // Euro \"CAD\" // Canadian Dollar \"GBP\" // British Pound Sterling \"CHF\" // Swiss Franc \"TRY\" // Turkish Lira \"AUD\" // Australian Dollar \"CZK\" // Czech Koruna \"SEK\" // Swedish Krona \"DKK\" // Danish Krone \"SGD\" // Singapore Dollar \"HKD\" // Hong Kong Dollar \"HUF\" // Hungarian Forint \"NZD\" // New Zealand Dollar \"NOK\" // Norwegian Krone \"PLN\" // Poland ZłotyGet paymentTypegetType()Get typeinthashCode()paymentType(FeePaymentType paymentType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAmount(BigDecimal amount) voidsetCurrency(String currency) voidsetPaymentType(FeePaymentType paymentType) voidtoJson()Convert an instance of TransferFee 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_AMOUNT
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_PAYMENT_TYPE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransferFee
public TransferFee()
-
-
Method Details
-
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
\"USD\" // US Dollar \"JPY\" // Japanese Yen \"EUR\" // Euro \"CAD\" // Canadian Dollar \"GBP\" // British Pound Sterling \"CHF\" // Swiss Franc \"TRY\" // Turkish Lira \"AUD\" // Australian Dollar \"CZK\" // Czech Koruna \"SEK\" // Swedish Krona \"DKK\" // Danish Krone \"SGD\" // Singapore Dollar \"HKD\" // Hong Kong Dollar \"HUF\" // Hungarian Forint \"NZD\" // New Zealand Dollar \"NOK\" // Norwegian Krone \"PLN\" // Poland Złoty- Returns:
- currency
-
setCurrency
-
paymentType
-
getPaymentType
Get paymentType- Returns:
- paymentType
-
setPaymentType
-
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 TransferFee 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 TransferFee
-
fromJson
Create an instance of TransferFee given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferFee
- Throws:
IOException- if the JSON string is invalid with respect to TransferFee
-
toJson
Convert an instance of TransferFee to an JSON string- Returns:
- JSON string
-