Interface Card.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Card.Builder,Card>, SdkBuilder<Card.Builder,Card>, SdkPojo
Enclosing class:
Card

@Mutable @NotThreadSafe public static interface Card.Builder extends SdkPojo, CopyableBuilder<Card.Builder,Card>
  • Method Details

    • brand

      Card.Builder brand(String brand)

      The network the card runs on.

      Parameters:
      brand - The network the card runs on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • brand

      Card.Builder brand(CardBrand brand)

      The network the card runs on.

      Parameters:
      brand - The network the card runs on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • last4

      Card.Builder last4(String last4)

      The last four digits of the card number.

      Parameters:
      last4 - The last four digits of the card number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationMonth

      Card.Builder expirationMonth(Integer expirationMonth)

      The calendar month that the card expires in.

      Parameters:
      expirationMonth - The calendar month that the card expires in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationYear

      Card.Builder expirationYear(Integer expirationYear)

      The calendar year that the card expires in.

      Parameters:
      expirationYear - The calendar year that the card expires in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cardType

      Card.Builder cardType(String cardType)

      Whether the card is a credit card or a debit card.

      Parameters:
      cardType - Whether the card is a credit card or a debit card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cardType

      Card.Builder cardType(CardType cardType)

      Whether the card is a credit card or a debit card.

      Parameters:
      cardType - Whether the card is a credit card or a debit card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • issuingBank

      Card.Builder issuingBank(String issuingBank)

      The bank that issued the card.

      Parameters:
      issuingBank - The bank that issued the card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuerCountry

      Card.Builder issuerCountry(String issuerCountry)

      The country of the bank that issued the card.

      Parameters:
      issuerCountry - The country of the bank that issued the card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.