Package model
Class CreateTransferRequest
java.lang.Object
model.CreateTransferRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateTransferRequest
extends Object
Create a `transfer`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumName of the gateway that processed this `transfer`.static enumDetails how the card details were entered.static enumDetails the operation that'll be performed in the transaction. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_3dSecureAuthentication(CreateAuthorizationRequest3dSecureAuthentication _3dSecureAuthentication) additionalPurchaseData(AdditionalPurchaseData additionalPurchaseData) adjustmentRequest(Boolean adjustmentRequest) configOverride(Map<String, String> configOverride) destination(String destination) deviceConfiguration(ConfigurationDetails deviceConfiguration) booleanstatic CreateTransferRequestCreate an instance of CreateTransferRequest given an JSON stringgateway(CreateTransferRequest.GatewayEnum gateway) Get _3dSecureAuthenticationGet additionalPurchaseDataDetails if the `transfer` was created to adjust funds.The total amount that will be debited in cents (e.g.Get configOverrideGet currencyID of the `Payment Instrument` where funds will be sent.The ID of the activated device.Get deviceConfigurationgetFee()The amount of the `Transfer` you'd like to collect as your fee in cents.Name of the gateway that processed this `transfer`.A randomly generated value that'll be associated with the request.Details how the card details were entered.ID of the `Merchant` the `Transfer` was created under.ID of the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.Details the operation that'll be performed in the transaction.Get paymentInstrumentName of the transaction processor.ID of the `Payment Instrument` where funds get debited.The description of the transaction that appears on the buyer's bank or card statement.getTags()Key value pair for annotating custom meta data (e.g.inthashCode()idempotencyId(String idempotencyId) inputMethod(CreateTransferRequest.InputMethodEnum inputMethod) merchantIdentity(String merchantIdentity) operationKey(CreateTransferRequest.OperationKeyEnum operationKey) paymentInstrument(CardPresentInstrumentForm paymentInstrument) putConfigOverrideItem(String key, String configOverrideItem) putTagsItem(String key, String tagsItem) voidset3dSecureAuthentication(CreateAuthorizationRequest3dSecureAuthentication _3dSecureAuthentication) voidsetAdditionalPurchaseData(AdditionalPurchaseData additionalPurchaseData) voidsetAdjustmentRequest(Boolean adjustmentRequest) voidvoidsetConfigOverride(Map<String, String> configOverride) voidsetCurrency(Currency currency) voidsetDestination(String destination) voidvoidsetDeviceConfiguration(ConfigurationDetails deviceConfiguration) voidvoidvoidsetIdempotencyId(String idempotencyId) voidsetInputMethod(CreateTransferRequest.InputMethodEnum inputMethod) voidsetMerchant(String merchant) voidsetMerchantIdentity(String merchantIdentity) voidsetOperationKey(CreateTransferRequest.OperationKeyEnum operationKey) voidsetPaymentInstrument(CardPresentInstrumentForm paymentInstrument) voidsetProcessor(String processor) voidvoidsetStatementDescriptor(String statementDescriptor) voidstatementDescriptor(String statementDescriptor) toJson()Convert an instance of CreateTransferRequest to an JSON stringtoString()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_ADJUSTMENT_REQUEST
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_CONFIG_OVERRIDE
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DESTINATION
- See Also:
-
SERIALIZED_NAME_DEVICE
- See Also:
-
SERIALIZED_NAME_DEVICE_CONFIGURATION
- See Also:
-
SERIALIZED_NAME_FEE
- See Also:
-
SERIALIZED_NAME_GATEWAY
- See Also:
-
SERIALIZED_NAME_3D_SECURE_AUTHENTICATION
- See Also:
-
SERIALIZED_NAME_IDEMPOTENCY_ID
- See Also:
-
SERIALIZED_NAME_INPUT_METHOD
- See Also:
-
SERIALIZED_NAME_MERCHANT
- See Also:
-
SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
-
SERIALIZED_NAME_OPERATION_KEY
- See Also:
-
SERIALIZED_NAME_PAYMENT_INSTRUMENT
- See Also:
-
SERIALIZED_NAME_PROCESSOR
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
SERIALIZED_NAME_STATEMENT_DESCRIPTOR
- See Also:
-
SERIALIZED_NAME_ADDITIONAL_PURCHASE_DATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateTransferRequest
public CreateTransferRequest()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
adjustmentRequest
-
getAdjustmentRequest
Details if the `transfer` was created to adjust funds.- Returns:
- adjustmentRequest
-
setAdjustmentRequest
-
amount
-
getAmount
The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).- Returns:
- amount
-
setAmount
-
configOverride
-
putConfigOverrideItem
-
getConfigOverride
Get configOverride- Returns:
- configOverride
-
setConfigOverride
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
destination
-
getDestination
ID of the `Payment Instrument` where funds will be sent.- Returns:
- destination
-
setDestination
-
device
-
getDevice
The ID of the activated device.- Returns:
- device
-
setDevice
-
deviceConfiguration
-
getDeviceConfiguration
Get deviceConfiguration- Returns:
- deviceConfiguration
-
setDeviceConfiguration
-
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
-
gateway
-
getGateway
Name of the gateway that processed this `transfer`. (Finix Core only).- Returns:
- gateway
-
setGateway
-
_3dSecureAuthentication
public CreateTransferRequest _3dSecureAuthentication(CreateAuthorizationRequest3dSecureAuthentication _3dSecureAuthentication) -
get3dSecureAuthentication
Get _3dSecureAuthentication- Returns:
- _3dSecureAuthentication
-
set3dSecureAuthentication
public void set3dSecureAuthentication(CreateAuthorizationRequest3dSecureAuthentication _3dSecureAuthentication) -
idempotencyId
-
getIdempotencyId
A randomly generated value that'll be associated with the request.- Returns:
- idempotencyId
-
setIdempotencyId
-
inputMethod
-
getInputMethod
Details how the card details were entered.- Returns:
- inputMethod
-
setInputMethod
-
merchant
-
getMerchant
ID of the `Merchant` the `Transfer` was created under.- Returns:
- merchant
-
setMerchant
-
merchantIdentity
-
getMerchantIdentity
ID of the `Identity` the `Merchant` was created under and the `Transfer` was submitted with.- Returns:
- merchantIdentity
-
setMerchantIdentity
-
operationKey
-
getOperationKey
Details the operation that'll be performed in the transaction.- Returns:
- operationKey
-
setOperationKey
-
paymentInstrument
-
getPaymentInstrument
Get paymentInstrument- Returns:
- paymentInstrument
-
setPaymentInstrument
-
processor
-
getProcessor
Name of the transaction processor.- Returns:
- processor
-
setProcessor
-
source
-
getSource
ID of the `Payment Instrument` where funds get debited.- Returns:
- source
-
setSource
-
statementDescriptor
-
getStatementDescriptor
The description of the transaction that appears on the buyer's bank or card statement.- Returns:
- statementDescriptor
-
setStatementDescriptor
-
additionalPurchaseData
-
getAdditionalPurchaseData
Get additionalPurchaseData- Returns:
- additionalPurchaseData
-
setAdditionalPurchaseData
-
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 CreateTransferRequest
-
fromJson
Create an instance of CreateTransferRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateTransferRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateTransferRequest
-
toJson
Convert an instance of CreateTransferRequest to an JSON string- Returns:
- JSON string
-