Class PaymentCreateParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class PaymentCreateParams implements Params
Initiates a payment between a financial account and an external bank account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentCreateParams.BuilderA builder for PaymentCreateParams.
public final classPaymentCreateParams.CreatePaymentRequestpublic final classPaymentCreateParams.Methodpublic final classPaymentCreateParams.PaymentMethodRequestAttributespublic final classPaymentCreateParams.Type
-
Method Summary
-
-
Method Detail
-
externalBankAccountToken
final String externalBankAccountToken()
-
financialAccountToken
final String financialAccountToken()
-
method
final PaymentCreateParams.Method method()
-
methodAttributes
final PaymentCreateParams.PaymentMethodRequestAttributes methodAttributes()
-
type
final PaymentCreateParams.Type type()
-
token
final Optional<String> token()
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
-
userDefinedId
final Optional<String> userDefinedId()
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, 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<PaymentCreateParams.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<PaymentCreateParams.PaymentMethodRequestAttributes> _methodAttributes()
Returns the raw JSON value of methodAttributes.
Unlike methodAttributes, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<PaymentCreateParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected 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.
-
_memo
final JsonField<String> _memo()
Returns the raw JSON value of memo.
Unlike memo, 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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final PaymentCreateParams.Builder toBuilder()
-
_body
final PaymentCreateParams.CreatePaymentRequest _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static PaymentCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of PaymentCreateParams.
The following fields are required:
.amount() .externalBankAccountToken() .financialAccountToken() .method() .methodAttributes() .type()
-
-
-
-