Class AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder
-
- All Implemented Interfaces:
public final class AccountActivityRetrieveTransactionResponse.PaymentTransaction.BuilderA builder for PaymentTransaction.
-
-
Method Summary
-
-
Method Detail
-
token
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder token(String token)
Unique identifier for the transaction
-
token
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.PaymentTransaction.Builder category(AccountActivityRetrieveTransactionResponse.PaymentTransaction.TransactionCategory category)
Transaction category
-
category
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder category(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.PaymentTransaction.Builder created(OffsetDateTime created)
ISO 8601 timestamp of when the transaction was created
-
created
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
descriptor
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder descriptor(String descriptor)
Transaction descriptor
-
descriptor
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
direction
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder direction(AccountActivityRetrieveTransactionResponse.PaymentTransaction.Direction direction)
Transfer direction
-
direction
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder direction(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.Direction> direction)
Sets Builder.direction to an arbitrary JSON value.
You should usually call Builder.direction with a well-typed Direction value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
events
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder events(List<AccountActivityRetrieveTransactionResponse.PaymentTransaction.PaymentEvent> events)
List of transaction events
-
events
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder events(JsonField<List<AccountActivityRetrieveTransactionResponse.PaymentTransaction.PaymentEvent>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<PaymentEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder addEvent(AccountActivityRetrieveTransactionResponse.PaymentTransaction.PaymentEvent event)
Adds a single PaymentEvent to events.
-
family
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder family(AccountActivityRetrieveTransactionResponse.PaymentTransaction.TransactionFamilyTypes family)
-
family
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder family(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.PaymentTransaction.Builder financialAccountToken(String financialAccountToken)
Financial account token
-
financialAccountToken
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
method
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder method(AccountActivityRetrieveTransactionResponse.PaymentTransaction.Method method)
Transfer method
-
method
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder method(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.Method> method)
Sets Builder.method to an arbitrary JSON value.
You should usually call Builder.method with a well-typed Method value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
methodAttributes
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder methodAttributes(AccountActivityRetrieveTransactionResponse.PaymentTransaction.MethodAttributes methodAttributes)
Method-specific attributes
-
methodAttributes
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder methodAttributes(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.MethodAttributes> methodAttributes)
Sets Builder.methodAttributes to an arbitrary JSON value.
You should usually call Builder.methodAttributes with a well-typed MethodAttributes value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
methodAttributes
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder methodAttributes(AccountActivityRetrieveTransactionResponse.PaymentTransaction.MethodAttributes.AchMethodAttributes ach)
Alias for calling methodAttributes with
MethodAttributes.ofAch(ach).
-
methodAttributes
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder methodAttributes(AccountActivityRetrieveTransactionResponse.PaymentTransaction.MethodAttributes.WireMethodAttributes wire)
Alias for calling methodAttributes with
MethodAttributes.ofWire(wire).
-
pendingAmount
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder pendingAmount(Long pendingAmount)
Pending amount in cents
-
pendingAmount
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
relatedAccountTokens
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder relatedAccountTokens(AccountActivityRetrieveTransactionResponse.PaymentTransaction.RelatedAccountTokens relatedAccountTokens)
Related account tokens for the transaction
-
relatedAccountTokens
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder relatedAccountTokens(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.RelatedAccountTokens> relatedAccountTokens)
Sets Builder.relatedAccountTokens to an arbitrary JSON value.
You should usually call Builder.relatedAccountTokens with a well-typed RelatedAccountTokens value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
result
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder result(AccountActivityRetrieveTransactionResponse.PaymentTransaction.TransactionResult result)
Transaction result
-
result
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder result(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.PaymentTransaction.Builder settledAmount(Long settledAmount)
Settled amount in cents
-
settledAmount
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
source
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder source(AccountActivityRetrieveTransactionResponse.PaymentTransaction.Source source)
Transaction source
-
source
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder source(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.Source> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed Source value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder status(AccountActivityRetrieveTransactionResponse.PaymentTransaction.TransactionStatus status)
The status of the transaction
-
status
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder status(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.PaymentTransaction.Builder updated(OffsetDateTime updated)
ISO 8601 timestamp of when the transaction was last updated
-
updated
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
currency
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder currency(String currency)
Currency of the transaction in ISO 4217 format
-
currency
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.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.
-
expectedReleaseDate
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder expectedReleaseDate(LocalDate expectedReleaseDate)
Expected release date for the transaction
-
expectedReleaseDate
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder expectedReleaseDate(Optional<LocalDate> expectedReleaseDate)
Alias for calling Builder.expectedReleaseDate with
expectedReleaseDate.orElse(null).
-
expectedReleaseDate
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder expectedReleaseDate(JsonField<LocalDate> expectedReleaseDate)
Sets Builder.expectedReleaseDate to an arbitrary JSON value.
You should usually call Builder.expectedReleaseDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalBankAccountToken
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder externalBankAccountToken(String externalBankAccountToken)
External bank account token
-
externalBankAccountToken
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder externalBankAccountToken(Optional<String> externalBankAccountToken)
Alias for calling Builder.externalBankAccountToken with
externalBankAccountToken.orElse(null).
-
externalBankAccountToken
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder externalBankAccountToken(JsonField<String> externalBankAccountToken)
Sets Builder.externalBankAccountToken to an arbitrary JSON value.
You should usually call Builder.externalBankAccountToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder type(AccountActivityRetrieveTransactionResponse.PaymentTransaction.TransferType type)
-
type
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder type(JsonField<AccountActivityRetrieveTransactionResponse.PaymentTransaction.TransferType> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed TransferType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userDefinedId
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder userDefinedId(String userDefinedId)
User-defined identifier
-
userDefinedId
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder userDefinedId(Optional<String> userDefinedId)
Alias for calling Builder.userDefinedId with
userDefinedId.orElse(null).
-
userDefinedId
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder userDefinedId(JsonField<String> userDefinedId)
Sets Builder.userDefinedId to an arbitrary JSON value.
You should usually call Builder.userDefinedId 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 AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AccountActivityRetrieveTransactionResponse.PaymentTransaction.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AccountActivityRetrieveTransactionResponse.PaymentTransaction build()
Returns an immutable instance of PaymentTransaction.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .category() .created() .descriptor() .direction() .events() .family() .financialAccountToken() .method() .methodAttributes() .pendingAmount() .relatedAccountTokens() .result() .settledAmount() .source() .status() .updated()
-
-
-
-