Class TransferCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class TransferCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
Modifier and Type Method Description final TransferCreateParams.Body.Builderfrom(String from)Globally unique identifier for the financial account or card that will send the funds. final TransferCreateParams.Body.Builderfrom(JsonField<String> from)Sets Builder.from to an arbitrary JSON value. final TransferCreateParams.Body.Builderamount(Long amount)Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). final TransferCreateParams.Body.Builderamount(JsonField<Long> amount)Sets Builder.amount to an arbitrary JSON value. final TransferCreateParams.Body.Builderto(String to)Globally unique identifier for the financial account or card that will receive the funds. final TransferCreateParams.Body.Builderto(JsonField<String> to)Sets Builder.to to an arbitrary JSON value. final TransferCreateParams.Body.Buildertoken(String token)Customer-provided token that will serve as an idempotency token. final TransferCreateParams.Body.Buildertoken(JsonField<String> token)Sets Builder.token to an arbitrary JSON value. final TransferCreateParams.Body.Buildermemo(String memo)Optional descriptor for the transfer. final TransferCreateParams.Body.Buildermemo(JsonField<String> memo)Sets Builder.memo to an arbitrary JSON value. final TransferCreateParams.Body.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final TransferCreateParams.Body.BuilderputAdditionalProperty(String key, JsonValue value)final TransferCreateParams.Body.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final TransferCreateParams.Body.BuilderremoveAdditionalProperty(String key)final TransferCreateParams.Body.BuilderremoveAllAdditionalProperties(Set<String> keys)final TransferCreateParams.Bodybuild()Returns an immutable instance of Body. -
-
Method Detail
-
from
final TransferCreateParams.Body.Builder from(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.
-
from
final TransferCreateParams.Body.Builder from(JsonField<String> from)
Sets Builder.from to an arbitrary JSON value.
You should usually call Builder.from with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
amount
final TransferCreateParams.Body.Builder amount(Long amount)
Amount to be transferred in the currency’s smallest unit (e.g., cents for USD). This should always be a positive value.
-
amount
final TransferCreateParams.Body.Builder amount(JsonField<Long> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
to
final TransferCreateParams.Body.Builder to(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.
-
to
final TransferCreateParams.Body.Builder to(JsonField<String> to)
Sets Builder.to to an arbitrary JSON value.
You should usually call Builder.to with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
token
final TransferCreateParams.Body.Builder token(String token)
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
-
token
final TransferCreateParams.Body.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
memo
final TransferCreateParams.Body.Builder memo(String memo)
Optional descriptor for the transfer.
-
memo
final TransferCreateParams.Body.Builder memo(JsonField<String> memo)
Sets Builder.memo to an arbitrary JSON value.
You should usually call Builder.memo with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TransferCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TransferCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TransferCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TransferCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TransferCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TransferCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .from() .to()
-
-
-
-