Class AccountUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class AccountUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
Modifier and Type Method Description final AccountUpdateParams.Body.Buildercomment(String comment)Additional context or information related to the account. final AccountUpdateParams.Body.Buildercomment(JsonField<String> comment)Sets Builder.comment to an arbitrary JSON value. final AccountUpdateParams.Body.BuilderdailySpendLimit(Long dailySpendLimit)Amount (in cents) for the account's daily spend limit (e.g. final AccountUpdateParams.Body.BuilderdailySpendLimit(JsonField<Long> dailySpendLimit)Sets Builder.dailySpendLimit to an arbitrary JSON value. final AccountUpdateParams.Body.BuilderlifetimeSpendLimit(Long lifetimeSpendLimit)Amount (in cents) for the account's lifetime spend limit (e.g. final AccountUpdateParams.Body.BuilderlifetimeSpendLimit(JsonField<Long> lifetimeSpendLimit)Sets Builder.lifetimeSpendLimit to an arbitrary JSON value. final AccountUpdateParams.Body.BuildermonthlySpendLimit(Long monthlySpendLimit)Amount (in cents) for the account's monthly spend limit (e.g. final AccountUpdateParams.Body.BuildermonthlySpendLimit(JsonField<Long> monthlySpendLimit)Sets Builder.monthlySpendLimit to an arbitrary JSON value. final AccountUpdateParams.Body.Builderstate(AccountUpdateParams.State state)Account states. final AccountUpdateParams.Body.Builderstate(JsonField<AccountUpdateParams.State> state)Sets Builder.state to an arbitrary JSON value. final AccountUpdateParams.Body.Buildersubstatus(AccountUpdateParams.Substatus substatus)Account state substatus values: FRAUD_IDENTIFIED- The account has been recognized as being created or used with stolen or fabricated identity information, encompassing both true identity theft and synthetic identities.SUSPICIOUS_ACTIVITY- The account has exhibited suspicious behavior, such as unauthorized access or fraudulent transactions, necessitating further investigation.RISK_VIOLATION- The account has been involved in deliberate misuse by the legitimate account holder. Examples include disputing valid transactions without cause, falsely claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit account services.END_USER_REQUEST- The account holder has voluntarily requested the closure of the account for personal reasons. This encompasses situations such as bankruptcy, other financial considerations, or the account holder's death.ISSUER_REQUEST- The issuer has initiated the closure of the account due to business strategy, risk management, inactivity, product changes, regulatory concerns, or violations of terms and conditions.NOT_ACTIVE- The account has not had any transactions or payment activity within a specified period. This status applies to accounts that are paused or closed due to inactivity.INTERNAL_REVIEW- The account is temporarily paused pending further internal review. In future implementations, this status may prevent clients from activating the account via APIs until the review is completed.OTHER- The reason for the account's current status does not fall into any of the above categories. A comment should be provided to specify the particular reason.
final AccountUpdateParams.Body.Buildersubstatus(JsonField<AccountUpdateParams.Substatus> substatus)Sets Builder.substatus to an arbitrary JSON value. final AccountUpdateParams.Body.BuilderverificationAddress(AccountUpdateParams.VerificationAddress verificationAddress)Address used during Address Verification Service (AVS) checks during transactions if enabled via Auth Rules. final AccountUpdateParams.Body.BuilderverificationAddress(JsonField<AccountUpdateParams.VerificationAddress> verificationAddress)Sets Builder.verificationAddress to an arbitrary JSON value. final AccountUpdateParams.Body.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final AccountUpdateParams.Body.BuilderputAdditionalProperty(String key, JsonValue value)final AccountUpdateParams.Body.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final AccountUpdateParams.Body.BuilderremoveAdditionalProperty(String key)final AccountUpdateParams.Body.BuilderremoveAllAdditionalProperties(Set<String> keys)final AccountUpdateParams.Bodybuild()Returns an immutable instance of Body. -
-
Method Detail
-
comment
final AccountUpdateParams.Body.Builder comment(String comment)
Additional context or information related to the account.
-
comment
final AccountUpdateParams.Body.Builder comment(JsonField<String> comment)
Sets Builder.comment to an arbitrary JSON value.
You should usually call Builder.comment with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dailySpendLimit
final AccountUpdateParams.Body.Builder dailySpendLimit(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.
-
dailySpendLimit
final AccountUpdateParams.Body.Builder dailySpendLimit(JsonField<Long> dailySpendLimit)
Sets Builder.dailySpendLimit to an arbitrary JSON value.
You should usually call Builder.dailySpendLimit with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lifetimeSpendLimit
final AccountUpdateParams.Body.Builder lifetimeSpendLimit(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.
-
lifetimeSpendLimit
final AccountUpdateParams.Body.Builder lifetimeSpendLimit(JsonField<Long> lifetimeSpendLimit)
Sets Builder.lifetimeSpendLimit to an arbitrary JSON value.
You should usually call Builder.lifetimeSpendLimit with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
monthlySpendLimit
final AccountUpdateParams.Body.Builder monthlySpendLimit(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.
-
monthlySpendLimit
final AccountUpdateParams.Body.Builder monthlySpendLimit(JsonField<Long> monthlySpendLimit)
Sets Builder.monthlySpendLimit to an arbitrary JSON value.
You should usually call Builder.monthlySpendLimit with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final AccountUpdateParams.Body.Builder state(AccountUpdateParams.State state)
Account states.
-
state
final AccountUpdateParams.Body.Builder state(JsonField<AccountUpdateParams.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
substatus
final AccountUpdateParams.Body.Builder substatus(AccountUpdateParams.Substatus substatus)
Account state substatus values:
FRAUD_IDENTIFIED- The account has been recognized as being created or used with stolen or fabricated identity information, encompassing both true identity theft and synthetic identities.SUSPICIOUS_ACTIVITY- The account has exhibited suspicious behavior, such as unauthorized access or fraudulent transactions, necessitating further investigation.RISK_VIOLATION- The account has been involved in deliberate misuse by the legitimate account holder. Examples include disputing valid transactions without cause, falsely claiming non-receipt of goods, or engaging in intentional bust-out schemes to exploit account services.END_USER_REQUEST- The account holder has voluntarily requested the closure of the account for personal reasons. This encompasses situations such as bankruptcy, other financial considerations, or the account holder's death.ISSUER_REQUEST- The issuer has initiated the closure of the account due to business strategy, risk management, inactivity, product changes, regulatory concerns, or violations of terms and conditions.NOT_ACTIVE- The account has not had any transactions or payment activity within a specified period. This status applies to accounts that are paused or closed due to inactivity.INTERNAL_REVIEW- The account is temporarily paused pending further internal review. In future implementations, this status may prevent clients from activating the account via APIs until the review is completed.OTHER- The reason for the account's current status does not fall into any of the above categories. A comment should be provided to specify the particular reason.
-
substatus
final AccountUpdateParams.Body.Builder substatus(JsonField<AccountUpdateParams.Substatus> substatus)
Sets Builder.substatus to an arbitrary JSON value.
You should usually call Builder.substatus with a well-typed Substatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
verificationAddress
@Deprecated(message = "deprecated") final AccountUpdateParams.Body.Builder verificationAddress(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 Auth Rules. The field will be removed from the schema in a future release.
-
verificationAddress
@Deprecated(message = "deprecated") final AccountUpdateParams.Body.Builder verificationAddress(JsonField<AccountUpdateParams.VerificationAddress> verificationAddress)
Sets Builder.verificationAddress to an arbitrary JSON value.
You should usually call Builder.verificationAddress with a well-typed VerificationAddress value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AccountUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AccountUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AccountUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AccountUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AccountUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AccountUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-