public static class Card.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CardValidator |
DEFAULT_CARD_VALIDATOR |
Modifier and Type | Method and Description |
---|---|
Card |
build() |
Card.Builder |
cvv(java.lang.String cvv) |
Card.Builder |
cvv2(java.lang.String cvv2) |
Card.Builder |
exp(java.lang.String exp) |
Card.Builder |
isomsg(ISOMsg m) |
Card.Builder |
pan(java.lang.String pan) |
Card.Builder |
serviceCode(java.lang.String serviceCode) |
Card.Builder |
track1(Track1 track1) |
Card.Builder |
track2(Track2 track2) |
Card.Builder |
validator(CardValidator validator) |
Card.Builder |
withTrack1Builder(Track1.Builder track1Builder) |
Card.Builder |
withTrack2Builder(Track2.Builder track2Builder) |
public static CardValidator DEFAULT_CARD_VALIDATOR
public Card.Builder pan(java.lang.String pan)
public Card.Builder exp(java.lang.String exp)
public Card.Builder cvv(java.lang.String cvv)
public Card.Builder cvv2(java.lang.String cvv2)
public Card.Builder serviceCode(java.lang.String serviceCode)
public Card.Builder validator(CardValidator validator)
public Card.Builder withTrack1Builder(Track1.Builder track1Builder)
public Card.Builder withTrack2Builder(Track2.Builder track2Builder)
public Card.Builder track1(Track1 track1)
public Card.Builder track2(Track2 track2)
public Card.Builder isomsg(ISOMsg m) throws InvalidCardException
InvalidCardException
public Card build() throws InvalidCardException
InvalidCardException