Class FullIssuedCard
- java.lang.Object
-
- io.moov.sdk.models.components.FullIssuedCard
-
public class FullIssuedCard extends java.lang.ObjectFullIssuedCardThe full details of an issued card, including PAN and CVV.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFullIssuedCard.Builder
-
Constructor Summary
Constructors Constructor Description FullIssuedCard(java.lang.String issuedCardID, CardBrand brand, java.lang.String lastFourCardNumber, CardExpiration expiration, AuthorizedUser authorizedUser, java.lang.String fundingWalletID, IssuedCardState state, IssuedCardFormFactor formFactor, java.time.OffsetDateTime createdOn, java.lang.String pan, java.lang.String cvv)FullIssuedCard(java.lang.String issuedCardID, CardBrand brand, java.lang.String lastFourCardNumber, CardExpiration expiration, AuthorizedUser authorizedUser, java.util.Optional<java.lang.String> memo, java.lang.String fundingWalletID, IssuedCardState state, IssuedCardFormFactor formFactor, java.util.Optional<? extends IssuingControls> controls, java.time.OffsetDateTime createdOn, java.lang.String pan, java.lang.String cvv)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizedUserauthorizedUser()Fields for identifying an authorized individual.CardBrandbrand()The card brand.static FullIssuedCard.Builderbuilder()java.util.Optional<IssuingControls>controls()java.time.OffsetDateTimecreatedOn()java.lang.Stringcvv()The issued card's 3- or 4-digit Card Verification Value (CVV).booleanequals(java.lang.Object o)CardExpirationexpiration()The expiration date of the card or token.IssuedCardFormFactorformFactor()Specifies the type of spend card to be issued.java.lang.StringfundingWalletID()Unique identifier for the wallet funding the card.inthashCode()java.lang.StringissuedCardID()java.lang.StringlastFourCardNumber()java.util.Optional<java.lang.String>memo()Optional descriptor for the card.java.lang.Stringpan()The issued card's Primary Account Number (PAN)IssuedCardStatestate()The `state` represents the operational status of an issued card.java.lang.StringtoString()FullIssuedCardwithAuthorizedUser(AuthorizedUser authorizedUser)Fields for identifying an authorized individual.FullIssuedCardwithBrand(CardBrand brand)The card brand.FullIssuedCardwithControls(IssuingControls controls)FullIssuedCardwithControls(java.util.Optional<? extends IssuingControls> controls)FullIssuedCardwithCreatedOn(java.time.OffsetDateTime createdOn)FullIssuedCardwithCvv(java.lang.String cvv)The issued card's 3- or 4-digit Card Verification Value (CVV).FullIssuedCardwithExpiration(CardExpiration expiration)The expiration date of the card or token.FullIssuedCardwithFormFactor(IssuedCardFormFactor formFactor)Specifies the type of spend card to be issued.FullIssuedCardwithFundingWalletID(java.lang.String fundingWalletID)Unique identifier for the wallet funding the card.FullIssuedCardwithIssuedCardID(java.lang.String issuedCardID)FullIssuedCardwithLastFourCardNumber(java.lang.String lastFourCardNumber)FullIssuedCardwithMemo(java.lang.String memo)Optional descriptor for the card.FullIssuedCardwithMemo(java.util.Optional<java.lang.String> memo)Optional descriptor for the card.FullIssuedCardwithPan(java.lang.String pan)The issued card's Primary Account Number (PAN)FullIssuedCardwithState(IssuedCardState state)The `state` represents the operational status of an issued card.
-
-
-
Constructor Detail
-
FullIssuedCard
public FullIssuedCard(java.lang.String issuedCardID, CardBrand brand, java.lang.String lastFourCardNumber, CardExpiration expiration, AuthorizedUser authorizedUser, java.util.Optional<java.lang.String> memo, java.lang.String fundingWalletID, IssuedCardState state, IssuedCardFormFactor formFactor, java.util.Optional<? extends IssuingControls> controls, java.time.OffsetDateTime createdOn, java.lang.String pan, java.lang.String cvv)
-
FullIssuedCard
public FullIssuedCard(java.lang.String issuedCardID, CardBrand brand, java.lang.String lastFourCardNumber, CardExpiration expiration, AuthorizedUser authorizedUser, java.lang.String fundingWalletID, IssuedCardState state, IssuedCardFormFactor formFactor, java.time.OffsetDateTime createdOn, java.lang.String pan, java.lang.String cvv)
-
-
Method Detail
-
issuedCardID
public java.lang.String issuedCardID()
-
brand
public CardBrand brand()
The card brand.
-
lastFourCardNumber
public java.lang.String lastFourCardNumber()
-
expiration
public CardExpiration expiration()
The expiration date of the card or token.
-
authorizedUser
public AuthorizedUser authorizedUser()
Fields for identifying an authorized individual.
-
memo
public java.util.Optional<java.lang.String> memo()
Optional descriptor for the card.
-
fundingWalletID
public java.lang.String fundingWalletID()
Unique identifier for the wallet funding the card.
-
state
public 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.
-
formFactor
public IssuedCardFormFactor formFactor()
Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
-
controls
public java.util.Optional<IssuingControls> controls()
-
createdOn
public java.time.OffsetDateTime createdOn()
-
pan
public java.lang.String pan()
The issued card's Primary Account Number (PAN)
-
cvv
public java.lang.String cvv()
The issued card's 3- or 4-digit Card Verification Value (CVV).
-
builder
public static final FullIssuedCard.Builder builder()
-
withIssuedCardID
public FullIssuedCard withIssuedCardID(java.lang.String issuedCardID)
-
withBrand
public FullIssuedCard withBrand(CardBrand brand)
The card brand.
-
withLastFourCardNumber
public FullIssuedCard withLastFourCardNumber(java.lang.String lastFourCardNumber)
-
withExpiration
public FullIssuedCard withExpiration(CardExpiration expiration)
The expiration date of the card or token.
-
withAuthorizedUser
public FullIssuedCard withAuthorizedUser(AuthorizedUser authorizedUser)
Fields for identifying an authorized individual.
-
withMemo
public FullIssuedCard withMemo(java.lang.String memo)
Optional descriptor for the card.
-
withMemo
public FullIssuedCard withMemo(java.util.Optional<java.lang.String> memo)
Optional descriptor for the card.
-
withFundingWalletID
public FullIssuedCard withFundingWalletID(java.lang.String fundingWalletID)
Unique identifier for the wallet funding the card.
-
withState
public FullIssuedCard 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.
-
withFormFactor
public FullIssuedCard withFormFactor(IssuedCardFormFactor formFactor)
Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
-
withControls
public FullIssuedCard withControls(IssuingControls controls)
-
withControls
public FullIssuedCard withControls(java.util.Optional<? extends IssuingControls> controls)
-
withCreatedOn
public FullIssuedCard withCreatedOn(java.time.OffsetDateTime createdOn)
-
withPan
public FullIssuedCard withPan(java.lang.String pan)
The issued card's Primary Account Number (PAN)
-
withCvv
public FullIssuedCard withCvv(java.lang.String cvv)
The issued card's 3- or 4-digit Card Verification Value (CVV).
-
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
-
-