Class TransferCreateParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class TransferCreateParams implements Params
Transfer funds between two financial accounts or between a financial account and card
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransferCreateParams.Bodypublic final classTransferCreateParams.BuilderA builder for TransferCreateParams.
-
Method Summary
Modifier and Type Method Description final Longamount()Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). final Stringfrom()Globally unique identifier for the financial account or card that will send the funds. final Stringto()Globally unique identifier for the financial account or card that will receive the funds. final Optional<String>token()Customer-provided token that will serve as an idempotency token. final Optional<String>memo()Optional descriptor for the transfer. final JsonField<Long>_amount()Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). final JsonField<String>_from()Globally unique identifier for the financial account or card that will send the funds. final JsonField<String>_to()Globally unique identifier for the financial account or card that will receive the funds. final JsonField<String>_token()Customer-provided token that will serve as an idempotency token. final JsonField<String>_memo()Optional descriptor for the transfer. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final TransferCreateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TransferCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of TransferCreateParams. -
-
Method Detail
-
amount
final Long amount()
Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). This should always be a positive value.
-
from
final String from()
Globally unique identifier for the financial account or card that will send the funds. Accepted type dependent on the program's use case.
-
to
final String to()
Globally unique identifier for the financial account or card that will receive the funds. Accepted type dependent on the program's use case.
-
token
final Optional<String> token()
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
-
_amount
final JsonField<Long> _amount()
Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). This should always be a positive value.
-
_from
final JsonField<String> _from()
Globally unique identifier for the financial account or card that will send the funds. Accepted type dependent on the program's use case.
-
_to
final JsonField<String> _to()
Globally unique identifier for the financial account or card that will receive the funds. Accepted type dependent on the program's use case.
-
_token
final JsonField<String> _token()
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
toBuilder
final TransferCreateParams.Builder toBuilder()
-
builder
final static TransferCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of TransferCreateParams.
The following fields are required:
.amount() .from() .to()
-
-
-
-