Class SimulatedIncomingWire
java.lang.Object
markets.alpaca.client.openapi.broker.model.SimulatedIncomingWire
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.28.0")
public class SimulatedIncomingWire
extends Object
implements Serializable
A simulated incoming wire transfer created with `POST /v1/testing/incoming_wires`. Available in the sandbox environment only.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) amount(BigDecimal amount) batchProcessedAt(OffsetDateTime batchProcessedAt) correspondent(String correspondent) createAt(OffsetDateTime createAt) delayUntil(OffsetDateTime delayUntil) booleanstatic SimulatedIncomingWireCreate an instance of SimulatedIncomingWire given an JSON stringAccount number of the destination account.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Amount of the incoming wire.Not currently populated.Your 4-character correspondent code.Timestamp when the incoming wire was created.\"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łotyThe `delay_until` value from the request, or `null` if none was sent.getId()The incoming wire ID.Get statusThe `wire_instructions` value from the request.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountNumber(String accountNumber) voidsetAmount(BigDecimal amount) voidsetBatchProcessedAt(OffsetDateTime batchProcessedAt) voidsetCorrespondent(String correspondent) voidsetCreateAt(OffsetDateTime createAt) voidsetCurrency(String currency) voidsetDelayUntil(OffsetDateTime delayUntil) voidvoidsetStatus(TransferStatus status) voidsetWireInstructions(String wireInstructions) status(TransferStatus status) toJson()Convert an instance of SimulatedIncomingWire to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwireInstructions(String wireInstructions)
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_BATCH_PROCESSED_AT
- See Also:
-
SERIALIZED_NAME_CORRESPONDENT
- See Also:
-
SERIALIZED_NAME_CREATE_AT
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DELAY_UNTIL
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_WIRE_INSTRUCTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SimulatedIncomingWire
public SimulatedIncomingWire()
-
-
Method Details
-
accountNumber
-
getAccountNumber
Account number of the destination account.- Returns:
- accountNumber
-
setAccountNumber
-
amount
-
getAmount
Amount of the incoming wire.- Returns:
- amount
-
setAmount
-
batchProcessedAt
-
getBatchProcessedAt
Not currently populated. Always returns the zero time `0001-01-01T00:00:00Z`.- Returns:
- batchProcessedAt
-
setBatchProcessedAt
-
correspondent
-
getCorrespondent
Your 4-character correspondent code.- Returns:
- correspondent
-
setCorrespondent
-
createAt
-
getCreateAt
Timestamp when the incoming wire was created.- Returns:
- createAt
-
setCreateAt
-
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
-
delayUntil
-
getDelayUntil
The `delay_until` value from the request, or `null` if none was sent. Not used to delay processing.- Returns:
- delayUntil
-
setDelayUntil
-
id
-
getId
The incoming wire ID.- Returns:
- id
-
setId
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
wireInstructions
-
getWireInstructions
The `wire_instructions` value from the request.- Returns:
- wireInstructions
-
setWireInstructions
-
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 SimulatedIncomingWire 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 SimulatedIncomingWire
-
fromJson
Create an instance of SimulatedIncomingWire given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SimulatedIncomingWire
- Throws:
IOException- if the JSON string is invalid with respect to SimulatedIncomingWire
-
toJson
Convert an instance of SimulatedIncomingWire to an JSON string- Returns:
- JSON string
-