Class AccountUpdateParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class AccountUpdateParams implements Params
Update account configuration such as state or spend limits. Can only be run on accounts that are part of the program managed by this API key. Accounts that are in the
PAUSEDstate will not be able to transact or create new cards.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAccountUpdateParams.Bodypublic final classAccountUpdateParams.BuilderA builder for AccountUpdateParams.
public final classAccountUpdateParams.StateAccount states.
public final classAccountUpdateParams.VerificationAddressAddress used during Address Verification Service (AVS) checks during transactions if enabled via Auth Rules. This field is deprecated as AVS checks are no longer supported by Authorization Rules. The field will be removed from the schema in a future release.
-
Method Summary
Modifier and Type Method Description final StringaccountToken()final Optional<Long>dailySpendLimit()Amount (in cents) for the account's daily spend limit (e.g. final Optional<Long>lifetimeSpendLimit()Amount (in cents) for the account's lifetime spend limit (e.g. final Optional<Long>monthlySpendLimit()Amount (in cents) for the account's monthly spend limit (e.g. final Optional<AccountUpdateParams.State>state()Account states. final Optional<AccountUpdateParams.VerificationAddress>verificationAddress()Address used during Address Verification Service (AVS) checks during transactions if enabled via Auth Rules. final JsonField<Long>_dailySpendLimit()Amount (in cents) for the account's daily spend limit (e.g. final JsonField<Long>_lifetimeSpendLimit()Amount (in cents) for the account's lifetime spend limit (e.g. final JsonField<Long>_monthlySpendLimit()Amount (in cents) for the account's monthly spend limit (e.g. final JsonField<AccountUpdateParams.State>_state()Account states. final JsonField<AccountUpdateParams.VerificationAddress>_verificationAddress()Address used during Address Verification Service (AVS) checks during transactions if enabled via Auth Rules. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final StringgetPathParam(Integer index)final AccountUpdateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AccountUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of AccountUpdateParams. -
-
Method Detail
-
accountToken
final String accountToken()
-
dailySpendLimit
final Optional<Long> dailySpendLimit()
Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
$1,000 limit). By default the daily spend limit is set to $
1,250.
-
lifetimeSpendLimit
final Optional<Long> lifetimeSpendLimit()
Amount (in cents) for the account's lifetime spend limit (e.g. 100000 would be a $1,000 limit). Once this limit is reached, no transactions will be accepted on any card created for this account until the limit is updated. Note that a spend limit of 0 is effectively no limit, and should only be used to reset or remove a prior limit. Only a limit of 1 or above will result in declined transactions due to checks against the account limit. This behavior differs from the daily spend limit and the monthly spend limit.
-
monthlySpendLimit
final Optional<Long> monthlySpendLimit()
Amount (in cents) for the account's monthly spend limit (e.g. 100000 would be a
$1,000 limit). By default the monthly spend limit is set to $
5,000.
-
state
final Optional<AccountUpdateParams.State> state()
Account states.
-
verificationAddress
@Deprecated(message = "deprecated") final Optional<AccountUpdateParams.VerificationAddress> verificationAddress()
Address used during Address Verification Service (AVS) checks during transactions if enabled via Auth Rules. This field is deprecated as AVS checks are no longer supported by Authorization Rules. The field will be removed from the schema in a future release.
-
_dailySpendLimit
final JsonField<Long> _dailySpendLimit()
Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
$1,000 limit). By default the daily spend limit is set to $
1,250.
-
_lifetimeSpendLimit
final JsonField<Long> _lifetimeSpendLimit()
Amount (in cents) for the account's lifetime spend limit (e.g. 100000 would be a $1,000 limit). Once this limit is reached, no transactions will be accepted on any card created for this account until the limit is updated. Note that a spend limit of 0 is effectively no limit, and should only be used to reset or remove a prior limit. Only a limit of 1 or above will result in declined transactions due to checks against the account limit. This behavior differs from the daily spend limit and the monthly spend limit.
-
_monthlySpendLimit
final JsonField<Long> _monthlySpendLimit()
Amount (in cents) for the account's monthly spend limit (e.g. 100000 would be a
$1,000 limit). By default the monthly spend limit is set to $
5,000.
-
_state
final JsonField<AccountUpdateParams.State> _state()
Account states.
-
_verificationAddress
@Deprecated(message = "deprecated") final JsonField<AccountUpdateParams.VerificationAddress> _verificationAddress()
Address used during Address Verification Service (AVS) checks during transactions if enabled via Auth Rules. This field is deprecated as AVS checks are no longer supported by Authorization Rules. The field will be removed from the schema in a future release.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final AccountUpdateParams.Builder toBuilder()
-
builder
final static AccountUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of AccountUpdateParams.
The following fields are required:
.accountToken()
-
-
-
-