Package model
Class CreateBalanceTransferRequest
java.lang.Object
model.CreateBalanceTransferRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateBalanceTransferRequest
extends Object
Create a `balance_transfer` resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumChoose the value that best applies to the account where funds will get credited.static enumChoose the value that best applies to the account where funds will get debited. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) destination(CreateBalanceTransferRequest.DestinationEnum destination) booleanstatic CreateBalanceTransferRequestCreate an instance of CreateBalanceTransferRequest given an JSON stringThe total amount that will be debited in cents (e.g.Get currencyAdditional information about the `balance_transfer` (e.g.Choose the value that best applies to the account where funds will get credited.Pass **LITLE_V1**; `balance_transfers` are only avalible for platforms with **LITLE_V1** credentials.Choose the value that best applies to the account where funds will get debited.getTags()Key value pair for annotating custom meta data (e.g.inthashCode()processorType(String processorType) putTagsItem(String key, String tagsItem) voidvoidsetCurrency(Currency currency) voidsetDescription(String description) voidvoidsetProcessorType(String processorType) voidvoidtoJson()Convert an instance of CreateBalanceTransferRequest 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_DESTINATION
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
SERIALIZED_NAME_PROCESSOR_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateBalanceTransferRequest
public CreateBalanceTransferRequest()
-
-
Method Details
-
description
-
getDescription
Additional information about the `balance_transfer` (e.g. **Transferring funds for Holidays**).- Returns:
- description
-
setDescription
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
destination
public CreateBalanceTransferRequest destination(CreateBalanceTransferRequest.DestinationEnum destination) -
getDestination
Choose the value that best applies to the account where funds will get credited.- Returns:
- destination
-
setDestination
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
amount
-
getAmount
The total amount that will be debited in cents (e.g. 100 cents to debit $1.00).- Returns:
- amount
-
setAmount
-
source
-
getSource
Choose the value that best applies to the account where funds will get debited.- Returns:
- source
-
setSource
-
processorType
-
getProcessorType
Pass **LITLE_V1**; `balance_transfers` are only avalible for platforms with **LITLE_V1** credentials.- Returns:
- processorType
-
setProcessorType
-
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 CreateBalanceTransferRequest
-
fromJson
Create an instance of CreateBalanceTransferRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateBalanceTransferRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateBalanceTransferRequest
-
toJson
Convert an instance of CreateBalanceTransferRequest to an JSON string- Returns:
- JSON string
-