Class AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder
-
- All Implemented Interfaces:
public final class AccountActivityRetrieveTransactionResponse.FinancialTransaction.BuilderA builder for FinancialTransaction.
-
-
Method Summary
-
-
Method Detail
-
token
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder token(String token)
Unique identifier for the transaction
-
token
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.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.
-
category
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder category(AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionCategory category)
Transaction category
-
category
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder category(JsonField<AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionCategory> category)
Sets Builder.category to an arbitrary JSON value.
You should usually call Builder.category with a well-typed TransactionCategory value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder created(OffsetDateTime created)
ISO 8601 timestamp of when the transaction was created
-
created
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currency
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder currency(String currency)
Currency of the transaction, represented in ISO 4217 format
-
currency
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder currency(JsonField<String> currency)
Sets Builder.currency to an arbitrary JSON value.
You should usually call Builder.currency with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
descriptor
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder descriptor(String descriptor)
Transaction descriptor
-
descriptor
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder descriptor(JsonField<String> descriptor)
Sets Builder.descriptor to an arbitrary JSON value.
You should usually call Builder.descriptor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
events
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder events(List<AccountActivityRetrieveTransactionResponse.FinancialTransaction.FinancialEvent> events)
List of transaction events
-
events
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder events(JsonField<List<AccountActivityRetrieveTransactionResponse.FinancialTransaction.FinancialEvent>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<FinancialEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder addEvent(AccountActivityRetrieveTransactionResponse.FinancialTransaction.FinancialEvent event)
Adds a single FinancialEvent to events.
-
family
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder family(AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionFamilyTypes family)
-
family
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder family(JsonField<AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionFamilyTypes> family)
Sets Builder.family to an arbitrary JSON value.
You should usually call Builder.family with a well-typed TransactionFamilyTypes value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
financialAccountToken
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder financialAccountToken(String financialAccountToken)
Financial account token associated with the transaction
-
financialAccountToken
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder financialAccountToken(JsonField<String> financialAccountToken)
Sets Builder.financialAccountToken to an arbitrary JSON value.
You should usually call Builder.financialAccountToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pendingAmount
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder pendingAmount(Long pendingAmount)
Pending amount in cents
-
pendingAmount
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder pendingAmount(JsonField<Long> pendingAmount)
Sets Builder.pendingAmount to an arbitrary JSON value.
You should usually call Builder.pendingAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
result
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder result(AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionResult result)
Transaction result
-
result
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder result(JsonField<AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionResult> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed TransactionResult value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
settledAmount
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder settledAmount(Long settledAmount)
Settled amount in cents
-
settledAmount
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder settledAmount(JsonField<Long> settledAmount)
Sets Builder.settledAmount to an arbitrary JSON value.
You should usually call Builder.settledAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder status(AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionStatus status)
The status of the transaction
-
status
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder status(JsonField<AccountActivityRetrieveTransactionResponse.FinancialTransaction.TransactionStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed TransactionStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updated
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder updated(OffsetDateTime updated)
ISO 8601 timestamp of when the transaction was last updated
-
updated
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder updated(JsonField<OffsetDateTime> updated)
Sets Builder.updated to an arbitrary JSON value.
You should usually call Builder.updated with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AccountActivityRetrieveTransactionResponse.FinancialTransaction.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AccountActivityRetrieveTransactionResponse.FinancialTransaction build()
Returns an immutable instance of FinancialTransaction.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .category() .created() .currency() .descriptor() .events() .family() .financialAccountToken() .pendingAmount() .result() .settledAmount() .status() .updated()
-
-
-
-