Class CardUpdateParams.Body

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Optional<String> digitalCardArtToken() Specifies the digital card art to be displayed in the user’s digital wallet after tokenization.
      final Optional<String> memo() Friendly name to identify the card.
      final Optional<String> pin() Encrypted PIN block (in base64).
      final Optional<CardUpdateParams.PinStatus> pinStatus() Indicates if a card is blocked due a PIN status issue (e.g.
      final Optional<Long> spendLimit() Amount (in cents) to limit approved authorizations (e.g.
      final Optional<SpendLimitDuration> spendLimitDuration() Spend limit duration values:
      • ANNUALLY - Card will authorize transactions up to spend limit for the trailing year.

      • FOREVER - Card will authorize only up to spend limit for the entire lifetime of the card.

      • MONTHLY - Card will authorize transactions up to spend limit for the trailing month. To support recurring monthly payments, which can occur on different day every month, the time window we consider for monthly velocity starts 6 days after the current calendar date one month prior.

      • TRANSACTION - Card will authorize multiple transactions if each individual transaction is under the spend limit.

      final Optional<CardUpdateParams.State> state() Card state values:
      • CLOSED - Card will no longer approve authorizations. Closing a card cannot be undone.

      • OPEN - Card will approve authorizations (if they match card and account parameters).

      • PAUSED - Card will decline authorizations, but can be resumed at a later time.

      final JsonField<String> _digitalCardArtToken() Specifies the digital card art to be displayed in the user’s digital wallet after tokenization.
      final JsonField<String> _memo() Friendly name to identify the card.
      final JsonField<String> _pin() Encrypted PIN block (in base64).
      final JsonField<CardUpdateParams.PinStatus> _pinStatus() Indicates if a card is blocked due a PIN status issue (e.g.
      final JsonField<Long> _spendLimit() Amount (in cents) to limit approved authorizations (e.g.
      final JsonField<SpendLimitDuration> _spendLimitDuration() Spend limit duration values:
      • ANNUALLY - Card will authorize transactions up to spend limit for the trailing year.

      • FOREVER - Card will authorize only up to spend limit for the entire lifetime of the card.

      • MONTHLY - Card will authorize transactions up to spend limit for the trailing month. To support recurring monthly payments, which can occur on different day every month, the time window we consider for monthly velocity starts 6 days after the current calendar date one month prior.

      • TRANSACTION - Card will authorize multiple transactions if each individual transaction is under the spend limit.

      final JsonField<CardUpdateParams.State> _state() Card state values:
      • CLOSED - Card will no longer approve authorizations. Closing a card cannot be undone.

      • OPEN - Card will approve authorizations (if they match card and account parameters).

      • PAUSED - Card will decline authorizations, but can be resumed at a later time.

      final Map<String, JsonValue> _additionalProperties()
      final CardUpdateParams.Body validate()
      final CardUpdateParams.Body.Builder toBuilder()
      Boolean equals(Object other)
      Integer hashCode()
      String toString()
      final static CardUpdateParams.Body.Builder builder() Returns a mutable builder for constructing an instance of Body.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • pin

         final Optional<String> pin()

        Encrypted PIN block (in base64). Only applies to cards of type PHYSICAL and VIRTUAL. Changing PIN also resets PIN status to OK. See Encrypted PIN Block.

      • spendLimit

         final Optional<Long> spendLimit()

        Amount (in cents) to limit approved authorizations (e.g. 100000 would be a $1,000 limit). Transaction requests above the spend limit will be declined. 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 card limit.

      • spendLimitDuration

         final Optional<SpendLimitDuration> spendLimitDuration()

        Spend limit duration values:

        • ANNUALLY - Card will authorize transactions up to spend limit for the trailing year.

        • FOREVER - Card will authorize only up to spend limit for the entire lifetime of the card.

        • MONTHLY - Card will authorize transactions up to spend limit for the trailing month. To support recurring monthly payments, which can occur on different day every month, the time window we consider for monthly velocity starts 6 days after the current calendar date one month prior.

        • TRANSACTION - Card will authorize multiple transactions if each individual transaction is under the spend limit.

      • state

         final Optional<CardUpdateParams.State> state()

        Card state values:

        • CLOSED - Card will no longer approve authorizations. Closing a card cannot be undone.

        • OPEN - Card will approve authorizations (if they match card and account parameters).

        • PAUSED - Card will decline authorizations, but can be resumed at a later time.

      • _pin

         final JsonField<String> _pin()

        Encrypted PIN block (in base64). Only applies to cards of type PHYSICAL and VIRTUAL. Changing PIN also resets PIN status to OK. See Encrypted PIN Block.

      • _spendLimit

         final JsonField<Long> _spendLimit()

        Amount (in cents) to limit approved authorizations (e.g. 100000 would be a $1,000 limit). Transaction requests above the spend limit will be declined. 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 card limit.

      • _spendLimitDuration

         final JsonField<SpendLimitDuration> _spendLimitDuration()

        Spend limit duration values:

        • ANNUALLY - Card will authorize transactions up to spend limit for the trailing year.

        • FOREVER - Card will authorize only up to spend limit for the entire lifetime of the card.

        • MONTHLY - Card will authorize transactions up to spend limit for the trailing month. To support recurring monthly payments, which can occur on different day every month, the time window we consider for monthly velocity starts 6 days after the current calendar date one month prior.

        • TRANSACTION - Card will authorize multiple transactions if each individual transaction is under the spend limit.

      • _state

         final JsonField<CardUpdateParams.State> _state()

        Card state values:

        • CLOSED - Card will no longer approve authorizations. Closing a card cannot be undone.

        • OPEN - Card will approve authorizations (if they match card and account parameters).

        • PAUSED - Card will decline authorizations, but can be resumed at a later time.