Class Charge.PaymentMethodDetails.Card

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Charge.PaymentMethodDetails.Card
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Charge.PaymentMethodDetails

public static class Charge.PaymentMethodDetails.Card extends StripeObject
  • Constructor Details

    • Card

      public Card()
  • Method Details

    • getAmountAuthorized

      public Long getAmountAuthorized()
      The authorized amount.
    • getBrand

      public String getBrand()
      Card brand. Can be amex, diners, discover, eftpos_au, jcb, mastercard, unionpay, visa, or unknown.
    • getCaptureBefore

      public Long getCaptureBefore()
      When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
    • getChecks

      Check results by Card networks on Card address and CVC at time of payment.
    • getCountry

      public String getCountry()
      Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
    • getDescription

      public String getDescription()
      A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
    • getExpMonth

      public Long getExpMonth()
      Two-digit number representing the card's expiration month.
    • getExpYear

      public Long getExpYear()
      Four-digit number representing the card's expiration year.
    • getExtendedAuthorization

      public Charge.PaymentMethodDetails.Card.ExtendedAuthorization getExtendedAuthorization()
    • getFingerprint

      public String getFingerprint()
      Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

      As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.

    • getFunding

      public String getFunding()
      Card funding type. Can be credit, debit, prepaid, or unknown.
    • getIin

      public String getIin()
      Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
    • getIncrementalAuthorization

      public Charge.PaymentMethodDetails.Card.IncrementalAuthorization getIncrementalAuthorization()
    • getInstallments

      Installment details for this payment (Mexico only).

      For more information, see the installments integration guide.

    • getIssuer

      public String getIssuer()
      The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
    • getLast4

      public String getLast4()
      The last four digits of the card.
    • getMandate

      public String getMandate()
      ID of the mandate used to make this payment or created by it.
    • getMoto

      public Boolean getMoto()
      True if this payment was marked as MOTO and out of scope for SCA.
    • getMulticapture

    • getNetwork

      public String getNetwork()
      Identifies which network this charge was processed on. Can be amex, cartes_bancaires, diners, discover, eftpos_au, interac, jcb, mastercard, unionpay, visa, or unknown.
    • getNetworkToken

      If this card has network token credentials, this contains the details of the network token credentials.
    • getOvercapture

    • getThreeDSecure

      Populated if this transaction used 3D Secure authentication.
    • getWallet

      If this Card is part of a card wallet, this contains the details of the card wallet.
    • setAmountAuthorized

      public void setAmountAuthorized(Long amountAuthorized)
      The authorized amount.
    • setBrand

      public void setBrand(String brand)
      Card brand. Can be amex, diners, discover, eftpos_au, jcb, mastercard, unionpay, visa, or unknown.
    • setCaptureBefore

      public void setCaptureBefore(Long captureBefore)
      When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
    • setChecks

      public void setChecks(Charge.PaymentMethodDetails.Card.Checks checks)
      Check results by Card networks on Card address and CVC at time of payment.
    • setCountry

      public void setCountry(String country)
      Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
    • setDescription

      public void setDescription(String description)
      A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
    • setExpMonth

      public void setExpMonth(Long expMonth)
      Two-digit number representing the card's expiration month.
    • setExpYear

      public void setExpYear(Long expYear)
      Four-digit number representing the card's expiration year.
    • setExtendedAuthorization

      public void setExtendedAuthorization(Charge.PaymentMethodDetails.Card.ExtendedAuthorization extendedAuthorization)
    • setFingerprint

      public void setFingerprint(String fingerprint)
      Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

      As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.

    • setFunding

      public void setFunding(String funding)
      Card funding type. Can be credit, debit, prepaid, or unknown.
    • setIin

      public void setIin(String iin)
      Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
    • setIncrementalAuthorization

      public void setIncrementalAuthorization(Charge.PaymentMethodDetails.Card.IncrementalAuthorization incrementalAuthorization)
    • setInstallments

      public void setInstallments(Charge.PaymentMethodDetails.Card.Installments installments)
      Installment details for this payment (Mexico only).

      For more information, see the installments integration guide.

    • setIssuer

      public void setIssuer(String issuer)
      The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
    • setLast4

      public void setLast4(String last4)
      The last four digits of the card.
    • setMandate

      public void setMandate(String mandate)
      ID of the mandate used to make this payment or created by it.
    • setMoto

      public void setMoto(Boolean moto)
      True if this payment was marked as MOTO and out of scope for SCA.
    • setMulticapture

      public void setMulticapture(Charge.PaymentMethodDetails.Card.Multicapture multicapture)
    • setNetwork

      public void setNetwork(String network)
      Identifies which network this charge was processed on. Can be amex, cartes_bancaires, diners, discover, eftpos_au, interac, jcb, mastercard, unionpay, visa, or unknown.
    • setNetworkToken

      public void setNetworkToken(Charge.PaymentMethodDetails.Card.NetworkToken networkToken)
      If this card has network token credentials, this contains the details of the network token credentials.
    • setOvercapture

      public void setOvercapture(Charge.PaymentMethodDetails.Card.Overcapture overcapture)
    • setThreeDSecure

      public void setThreeDSecure(Charge.PaymentMethodDetails.Card.ThreeDSecure threeDSecure)
      Populated if this transaction used 3D Secure authentication.
    • setWallet

      public void setWallet(Charge.PaymentMethodDetails.Card.Wallet wallet)
      If this Card is part of a card wallet, this contains the details of the card wallet.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object