Package model
Class Transfer
java.lang.Object
model.Transfer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class Transfer
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe stauts of the `Transfer`.static enumAdditional information describing the `payment_type`.static enumType of `Transfer`. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMessagesItem(String messagesItem) application(String application) cardPresentDetails(CardPresentDetails cardPresentDetails) createdAt(OffsetDateTime createdAt) destination(String destination) booleanexternallyFunded(String externallyFunded) failureCode(String failureCode) failureMessage(String failureMessage) static TransferCreate an instance of Transfer given an JSON stringThe total amount that will be debited in cents (e.g.The ID of the resource.Get cardPresentDetailsTimestamp of when the object was created.Get currencyThe ID of the destination.The ID of the resource.Details if the Transfer will be settled externally by card processors.When a transfer is declined.A human-readable description of why the transaction was declined.getFee()The amount of the `Transfer` you'd like to collect as your fee in cents.Get feeTypegetId()The ID of the `Transfer` resource.ID to [idempotently](#section/Idempotency-Requests) identifty the transfer.The ID of the identity.getLinks()Get linksThe ID of the resource.Get messagesgetRaw()Raw response from the processorTimestamp of when the `Transfer` is ready to be settled at.The ID of the resource.getState()The stauts of the `Transfer`.The description of the merchant that appears on the buyer's bank or card statement.Additional information describing the `payment_type`.getTags()Key value pair for annotating custom meta data (e.g.Trace ID of the `Transfer`.getType()Type of `Transfer`.Timestamp of when the object was last updated.inthashCode()idempotencyId(String idempotencyId) links(TransferLinks links) merchantIdentity(String merchantIdentity) putTagsItem(String key, String tagsItem) readyToSettleAt(OffsetDateTime readyToSettleAt) voidvoidsetApplication(String application) voidsetCardPresentDetails(CardPresentDetails cardPresentDetails) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCurrency(Currency currency) voidsetDestination(String destination) voidvoidsetExternallyFunded(String externallyFunded) voidsetFailureCode(String failureCode) voidsetFailureMessage(String failureMessage) voidvoidsetFeeType(FeeType feeType) voidvoidsetIdempotencyId(String idempotencyId) voidsetIdentity(String identity) voidsetLinks(TransferLinks links) voidsetMerchantIdentity(String merchantIdentity) voidsetMessages(List<String> messages) voidvoidsetReadyToSettleAt(OffsetDateTime readyToSettleAt) voidvoidsetState(Transfer.StateEnum state) voidsetStatementDescriptor(String statementDescriptor) voidsetSubtype(Transfer.SubtypeEnum subtype) voidvoidsetTraceId(String traceId) voidsetType(Transfer.TypeEnum type) voidsetUpdatedAt(OffsetDateTime updatedAt) state(Transfer.StateEnum state) statementDescriptor(String statementDescriptor) subtype(Transfer.SubtypeEnum subtype) toJson()Convert an instance of Transfer to an JSON stringtoString()type(Transfer.TypeEnum type) updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_CARD_PRESENT_DETAILS
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DESTINATION
- See Also:
-
SERIALIZED_NAME_DEVICE
- See Also:
-
SERIALIZED_NAME_FEE
- See Also:
-
SERIALIZED_NAME_FEE_TYPE
- See Also:
-
SERIALIZED_NAME_IDEMPOTENCY_ID
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
-
SERIALIZED_NAME_MESSAGES
- See Also:
-
SERIALIZED_NAME_RAW
- See Also:
-
SERIALIZED_NAME_READY_TO_SETTLE_AT
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_STATEMENT_DESCRIPTOR
- See Also:
-
SERIALIZED_NAME_SUBTYPE
- See Also:
-
SERIALIZED_NAME_TRACE_ID
- See Also:
-
SERIALIZED_NAME_EXTERNALLY_FUNDED
- See Also:
-
SERIALIZED_NAME_FAILURE_CODE
- See Also:
-
SERIALIZED_NAME_FAILURE_MESSAGE
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Transfer
public Transfer()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
type
-
getType
Type of `Transfer`.- Returns:
- type
-
setType
-
id
-
getId
The ID of the `Transfer` resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
amount
-
getAmount
The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).- Returns:
- amount
-
setAmount
-
application
-
getApplication
The ID of the resource.- Returns:
- application
-
setApplication
-
cardPresentDetails
-
getCardPresentDetails
Get cardPresentDetails- Returns:
- cardPresentDetails
-
setCardPresentDetails
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
destination
-
getDestination
The ID of the destination.- Returns:
- destination
-
setDestination
-
device
-
getDevice
The ID of the resource.- Returns:
- device
-
setDevice
-
fee
-
getFee
The amount of the `Transfer` you'd like to collect as your fee in cents. Defaults to zero (must be less than or equal to the `amount`).- Returns:
- fee
-
setFee
-
feeType
-
getFeeType
Get feeType- Returns:
- feeType
-
setFeeType
-
idempotencyId
-
getIdempotencyId
ID to [idempotently](#section/Idempotency-Requests) identifty the transfer.- Returns:
- idempotencyId
-
setIdempotencyId
-
identity
-
getIdentity
The ID of the identity.- Returns:
- identity
-
setIdentity
-
merchantIdentity
-
getMerchantIdentity
The ID of the resource.- Returns:
- merchantIdentity
-
setMerchantIdentity
-
messages
-
addMessagesItem
-
getMessages
Get messages- Returns:
- messages
-
setMessages
-
raw
-
getRaw
Raw response from the processor- Returns:
- raw
-
setRaw
-
readyToSettleAt
-
getReadyToSettleAt
Timestamp of when the `Transfer` is ready to be settled at.- Returns:
- readyToSettleAt
-
setReadyToSettleAt
-
source
-
getSource
The ID of the resource.- Returns:
- source
-
setSource
-
state
-
getState
The stauts of the `Transfer`.- Returns:
- state
-
setState
-
statementDescriptor
-
getStatementDescriptor
The description of the merchant that appears on the buyer's bank or card statement.- Returns:
- statementDescriptor
-
setStatementDescriptor
-
subtype
-
getSubtype
Additional information describing the `payment_type`.- Returns:
- subtype
-
setSubtype
-
traceId
-
getTraceId
Trace ID of the `Transfer`. The processor sends back the `trace_id` so you can track the `transfer` end-to-end.- Returns:
- traceId
-
setTraceId
-
externallyFunded
-
getExternallyFunded
Details if the Transfer will be settled externally by card processors.- Returns:
- externallyFunded
-
setExternallyFunded
-
failureCode
-
getFailureCode
When a transfer is declined. This is the code of the failure so the decline can be handled programmatically.- Returns:
- failureCode
-
setFailureCode
-
failureMessage
-
getFailureMessage
A human-readable description of why the transaction was declined. This will also include a suggestion on how to complete the payment.- Returns:
- failureMessage
-
setFailureMessage
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Transfer
-
fromJson
Create an instance of Transfer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Transfer
- Throws:
IOException- if the JSON string is invalid with respect to Transfer
-
toJson
Convert an instance of Transfer to an JSON string- Returns:
- JSON string
-