Class UpdateIssuedCard
- java.lang.Object
-
- io.moov.sdk.models.components.UpdateIssuedCard
-
public class UpdateIssuedCard extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateIssuedCard.Builder
-
Constructor Summary
Constructors Constructor Description UpdateIssuedCard()UpdateIssuedCard(java.util.Optional<? extends IssuedCardState> state, java.util.Optional<java.lang.String> memo, java.util.Optional<? extends CreateAuthorizedUserUpdate> authorizedUser)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<CreateAuthorizedUserUpdate>authorizedUser()Fields for identifying an authorized individual.static UpdateIssuedCard.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<java.lang.String>memo()java.util.Optional<IssuedCardState>state()The `state` represents the operational status of an issued card.java.lang.StringtoString()UpdateIssuedCardwithAuthorizedUser(CreateAuthorizedUserUpdate authorizedUser)Fields for identifying an authorized individual.UpdateIssuedCardwithAuthorizedUser(java.util.Optional<? extends CreateAuthorizedUserUpdate> authorizedUser)Fields for identifying an authorized individual.UpdateIssuedCardwithMemo(java.lang.String memo)UpdateIssuedCardwithMemo(java.util.Optional<java.lang.String> memo)UpdateIssuedCardwithState(IssuedCardState state)The `state` represents the operational status of an issued card.UpdateIssuedCardwithState(java.util.Optional<? extends IssuedCardState> state)The `state` represents the operational status of an issued card.
-
-
-
Constructor Detail
-
UpdateIssuedCard
public UpdateIssuedCard(java.util.Optional<? extends IssuedCardState> state, java.util.Optional<java.lang.String> memo, java.util.Optional<? extends CreateAuthorizedUserUpdate> authorizedUser)
-
UpdateIssuedCard
public UpdateIssuedCard()
-
-
Method Detail
-
state
public java.util.Optional<IssuedCardState> state()
The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.- `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation. - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process. - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires. - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
-
memo
public java.util.Optional<java.lang.String> memo()
-
authorizedUser
public java.util.Optional<CreateAuthorizedUserUpdate> authorizedUser()
Fields for identifying an authorized individual.
-
builder
public static UpdateIssuedCard.Builder builder()
-
withState
public UpdateIssuedCard withState(IssuedCardState state)
The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.- `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation. - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process. - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires. - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
-
withState
public UpdateIssuedCard withState(java.util.Optional<? extends IssuedCardState> state)
The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.- `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation. - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process. - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires. - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
-
withMemo
public UpdateIssuedCard withMemo(java.lang.String memo)
-
withMemo
public UpdateIssuedCard withMemo(java.util.Optional<java.lang.String> memo)
-
withAuthorizedUser
public UpdateIssuedCard withAuthorizedUser(CreateAuthorizedUserUpdate authorizedUser)
Fields for identifying an authorized individual.
-
withAuthorizedUser
public UpdateIssuedCard withAuthorizedUser(java.util.Optional<? extends CreateAuthorizedUserUpdate> authorizedUser)
Fields for identifying an authorized individual.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-