Class PaymentCreateResponse
-
- All Implemented Interfaces:
public final class PaymentCreateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentCreateResponse.BuilderA builder for PaymentCreateResponse.
-
Method Summary
Modifier and Type Method Description final PaymenttoPayment()final Stringtoken()Globally unique identifier. final Payment.Categorycategory()Payment category final OffsetDateTimecreated()Date and time when the payment first occurred. final Stringcurrency()3-character alphabetic ISO 4217 code for the settling currency of the payment. final Stringdescriptor()A string that provides a description of the payment; may be useful to display to users. final Payment.Directiondirection()final List<Payment.PaymentEvent>events()A list of all payment events that have modified this payment. final Optional<String>externalBankAccountToken()final StringfinancialAccountToken()final Payment.Methodmethod()final Payment.PaymentMethodAttributesmethodAttributes()final LongpendingAmount()Pending amount of the payment in the currency's smallest unit (e.g., cents). final Payment.RelatedAccountTokensrelatedAccountTokens()Account tokens related to a payment transaction final Payment.Resultresult()APPROVED payments were successful while DECLINED payments were declined by Lithic or returned. final LongsettledAmount()Amount of the payment that has been settled in the currency's smallest unit (e.g., cents). final Payment.Sourcesource()final Payment.Statusstatus()Status types: DECLINED- The payment was declined.PENDING- The payment is being processed and has yet to settle or release (origination debit).RETURNED- The payment has been returned.SETTLED- The payment is completed.
final OffsetDateTimeupdated()Date and time when the financial transaction was last updated. final Optional<String>userDefinedId()final Optional<LocalDate>expectedReleaseDate()Date when the financial transaction expected to be released after settlement final Optional<Payment.TransferType>type()Payment type indicating the specific ACH message or Fedwire transfer type final Optional<Balance>balance()Balance final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<Payment.Category>_category()Returns the raw JSON value of category. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<String>_currency()Returns the raw JSON value of currency. final JsonField<String>_descriptor()Returns the raw JSON value of descriptor. final JsonField<Payment.Direction>_direction()Returns the raw JSON value of direction. final JsonField<List<Payment.PaymentEvent>>_events()Returns the raw JSON value of events. final JsonField<String>_externalBankAccountToken()Returns the raw JSON value of externalBankAccountToken. final JsonField<String>_financialAccountToken()Returns the raw JSON value of financialAccountToken. final JsonField<Payment.Method>_method()Returns the raw JSON value of method. final JsonField<Payment.PaymentMethodAttributes>_methodAttributes()Returns the raw JSON value of methodAttributes. final JsonField<Long>_pendingAmount()Returns the raw JSON value of pendingAmount. final JsonField<Payment.RelatedAccountTokens>_relatedAccountTokens()Returns the raw JSON value of relatedAccountTokens. final JsonField<Payment.Result>_result()Returns the raw JSON value of result. final JsonField<Long>_settledAmount()Returns the raw JSON value of settledAmount. final JsonField<Payment.Source>_source()Returns the raw JSON value of source. final JsonField<Payment.Status>_status()Returns the raw JSON value of status. final JsonField<OffsetDateTime>_updated()Returns the raw JSON value of updated. final JsonField<String>_userDefinedId()Returns the raw JSON value of userDefinedId. final JsonField<LocalDate>_expectedReleaseDate()Returns the raw JSON value of expectedReleaseDate. final JsonField<Payment.TransferType>_type()Returns the raw JSON value of type. final JsonField<Balance>_balance()Returns the raw JSON value of balance. final Map<String, JsonValue>_additionalProperties()final PaymentCreateResponse.BuildertoBuilder()final PaymentCreateResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PaymentCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PaymentCreateResponse. -
-
Method Detail
-
category
final Payment.Category category()
Payment category
-
created
final OffsetDateTime created()
Date and time when the payment first occurred. UTC time zone.
-
currency
final String currency()
3-character alphabetic ISO 4217 code for the settling currency of the payment.
-
descriptor
final String descriptor()
A string that provides a description of the payment; may be useful to display to users.
-
direction
final Payment.Direction direction()
-
events
final List<Payment.PaymentEvent> events()
A list of all payment events that have modified this payment.
-
externalBankAccountToken
final Optional<String> externalBankAccountToken()
-
financialAccountToken
final String financialAccountToken()
-
method
final Payment.Method method()
-
methodAttributes
final Payment.PaymentMethodAttributes methodAttributes()
-
pendingAmount
final Long pendingAmount()
Pending amount of the payment in the currency's smallest unit (e.g., cents). The value of this field will go to zero over time once the payment is settled.
-
relatedAccountTokens
final Payment.RelatedAccountTokens relatedAccountTokens()
Account tokens related to a payment transaction
-
result
final Payment.Result result()
APPROVED payments were successful while DECLINED payments were declined by Lithic or returned.
-
settledAmount
final Long settledAmount()
Amount of the payment that has been settled in the currency's smallest unit (e.g., cents).
-
source
final Payment.Source source()
-
status
final Payment.Status status()
Status types:
DECLINED- The payment was declined.PENDING- The payment is being processed and has yet to settle or release (origination debit).RETURNED- The payment has been returned.SETTLED- The payment is completed.
-
updated
final OffsetDateTime updated()
Date and time when the financial transaction was last updated. UTC time zone.
-
userDefinedId
final Optional<String> userDefinedId()
-
expectedReleaseDate
final Optional<LocalDate> expectedReleaseDate()
Date when the financial transaction expected to be released after settlement
-
type
final Optional<Payment.TransferType> type()
Payment type indicating the specific ACH message or Fedwire transfer type
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_category
final JsonField<Payment.Category> _category()
Returns the raw JSON value of category.
Unlike category, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_currency
final JsonField<String> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_descriptor
final JsonField<String> _descriptor()
Returns the raw JSON value of descriptor.
Unlike descriptor, this method doesn't throw if the JSON field has an unexpected type.
-
_direction
final JsonField<Payment.Direction> _direction()
Returns the raw JSON value of direction.
Unlike direction, this method doesn't throw if the JSON field has an unexpected type.
-
_events
final JsonField<List<Payment.PaymentEvent>> _events()
Returns the raw JSON value of events.
Unlike events, this method doesn't throw if the JSON field has an unexpected type.
-
_externalBankAccountToken
final JsonField<String> _externalBankAccountToken()
Returns the raw JSON value of externalBankAccountToken.
Unlike externalBankAccountToken, this method doesn't throw if the JSON field has an unexpected type.
-
_financialAccountToken
final JsonField<String> _financialAccountToken()
Returns the raw JSON value of financialAccountToken.
Unlike financialAccountToken, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<Payment.Method> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_methodAttributes
final JsonField<Payment.PaymentMethodAttributes> _methodAttributes()
Returns the raw JSON value of methodAttributes.
Unlike methodAttributes, this method doesn't throw if the JSON field has an unexpected type.
-
_pendingAmount
final JsonField<Long> _pendingAmount()
Returns the raw JSON value of pendingAmount.
Unlike pendingAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_relatedAccountTokens
final JsonField<Payment.RelatedAccountTokens> _relatedAccountTokens()
Returns the raw JSON value of relatedAccountTokens.
Unlike relatedAccountTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_result
final JsonField<Payment.Result> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_settledAmount
final JsonField<Long> _settledAmount()
Returns the raw JSON value of settledAmount.
Unlike settledAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<Payment.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<Payment.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_updated
final JsonField<OffsetDateTime> _updated()
Returns the raw JSON value of updated.
Unlike updated, this method doesn't throw if the JSON field has an unexpected type.
-
_userDefinedId
final JsonField<String> _userDefinedId()
Returns the raw JSON value of userDefinedId.
Unlike userDefinedId, this method doesn't throw if the JSON field has an unexpected type.
-
_expectedReleaseDate
final JsonField<LocalDate> _expectedReleaseDate()
Returns the raw JSON value of expectedReleaseDate.
Unlike expectedReleaseDate, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<Payment.TransferType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_balance
final JsonField<Balance> _balance()
Returns the raw JSON value of balance.
Unlike balance, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PaymentCreateResponse.Builder toBuilder()
-
validate
final PaymentCreateResponse validate()
-
builder
final static PaymentCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of PaymentCreateResponse.
The following fields are required:
.token() .category() .created() .currency() .descriptor() .direction() .events() .externalBankAccountToken() .financialAccountToken() .method() .methodAttributes() .pendingAmount() .relatedAccountTokens() .result() .settledAmount() .source() .status() .updated() .userDefinedId()
-
-
-