Class BookTransferCreateParams.Body
-
- All Implemented Interfaces:
public final class BookTransferCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBookTransferCreateParams.Body.BuilderA builder for Body.
-
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 BookTransferCreateParams.Categorycategory()Category of the book transfer final StringfromFinancialAccountToken()Globally unique identifier for the financial account or card that will send the funds. final Stringsubtype()The program specific subtype code for the specified category/type. final StringtoFinancialAccountToken()Globally unique identifier for the financial account or card that will receive the funds. final BookTransferCreateParams.Typetype()Type of book_transfer 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<BookTransferCreateParams.Category>_category()Category of the book transfer final JsonField<String>_fromFinancialAccountToken()Globally unique identifier for the financial account or card that will send the funds. final JsonField<String>_subtype()The program specific subtype code for the specified category/type. final JsonField<String>_toFinancialAccountToken()Globally unique identifier for the financial account or card that will receive the funds. final JsonField<BookTransferCreateParams.Type>_type()Type of book_transfer 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>_additionalProperties()final BookTransferCreateParams.Bodyvalidate()final BookTransferCreateParams.Body.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BookTransferCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
category
final BookTransferCreateParams.Category category()
Category of the book transfer
-
fromFinancialAccountToken
final String fromFinancialAccountToken()
Globally unique identifier for the financial account or card that will send the funds. Accepted type dependent on the program's use case.
-
toFinancialAccountToken
final String toFinancialAccountToken()
Globally unique identifier for the financial account or card that will receive the funds. Accepted type dependent on the program's use case.
-
type
final BookTransferCreateParams.Type type()
Type of book_transfer
-
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.
-
_category
final JsonField<BookTransferCreateParams.Category> _category()
Category of the book transfer
-
_fromFinancialAccountToken
final JsonField<String> _fromFinancialAccountToken()
Globally unique identifier for the financial account or card that will send the funds. Accepted type dependent on the program's use case.
-
_subtype
final JsonField<String> _subtype()
The program specific subtype code for the specified category/type.
-
_toFinancialAccountToken
final JsonField<String> _toFinancialAccountToken()
Globally unique identifier for the financial account or card that will receive the funds. Accepted type dependent on the program's use case.
-
_type
final JsonField<BookTransferCreateParams.Type> _type()
Type of book_transfer
-
_token
final JsonField<String> _token()
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BookTransferCreateParams.Body validate()
-
toBuilder
final BookTransferCreateParams.Body.Builder toBuilder()
-
builder
final static BookTransferCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.amount() .category() .fromFinancialAccountToken() .subtype() .toFinancialAccountToken() .type()
-
-
-
-