# Builder

class Builder(brand: Card.Brand, lastFourDigits: String)

Lets developers create and configure card data for automated testing. There is no need to reference this builder class outside of tests.

#### Return

A new Card builder instance.

## Constructors

Builder
Link copied to clipboard
constructor(brand: Card.Brand, lastFourDigits: String)

## Functions

bin
Link copied to clipboard
fun bin(bin: String): Card.Builder
brand
Link copied to clipboard
fun brand(brand: Card.Brand): Card.Builder
build
Link copied to clipboard
fun build(): Card
cardholderName
Link copied to clipboard
fun cardholderName(name: String): Card.Builder
coBrand
Link copied to clipboard
fun coBrand(coBrand: Card.CoBrand): Card.Builder
expirationMonth
Link copied to clipboard
fun expirationMonth(month: Int): Card.Builder
expirationYear
Link copied to clipboard
fun expirationYear(year: Int): Card.Builder
id
Link copied to clipboard
fun id(id: String): Card.Builder
last4Digits
Link copied to clipboard
fun last4Digits(last4Digits: String): Card.Builder