# Builder

class Builder(status: CardPaymentDetails.Status, entryMethod: CardPaymentDetails.EntryMethod, card: Card)

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.

#### See also

CardPaymentDetails.OnlineCardPaymentDetails

## Constructors

Builder
Link copied to clipboard
constructor(status: CardPaymentDetails.Status, entryMethod: CardPaymentDetails.EntryMethod, card: Card)

## Functions

accountType
Link copied to clipboard
fun accountType(accountType: CardPaymentDetails.AccountType?): CardPaymentDetails.OnlineCardPaymentDetails.Builder
applicationCounter
Link copied to clipboard
fun applicationCounter(applicationCounter: String): CardPaymentDetails.OnlineCardPaymentDetails.Builder
applicationId
Link copied to clipboard
fun applicationId(applicationId: String): CardPaymentDetails.OnlineCardPaymentDetails.Builder
applicationName
Link copied to clipboard
fun applicationName(applicationName: String): CardPaymentDetails.OnlineCardPaymentDetails.Builder
appliedCardSurchargeDetails
Link copied to clipboard
fun appliedCardSurchargeDetails(appliedCardSurchargeDetails: CardPaymentDetails.CardSurchargeDetails?): CardPaymentDetails.OnlineCardPaymentDetails.Builder
authorizationCode
Link copied to clipboard
fun authorizationCode(authorizationCode: String): CardPaymentDetails.OnlineCardPaymentDetails.Builder
build
Link copied to clipboard
fun build(): CardPaymentDetails.OnlineCardPaymentDetails
card
Link copied to clipboard
fun card(card: Card): CardPaymentDetails.OnlineCardPaymentDetails.Builder
entryMethod
Link copied to clipboard
fun entryMethod(entryMethod: CardPaymentDetails.EntryMethod): CardPaymentDetails.OnlineCardPaymentDetails.Builder
felicaSprwdId
Link copied to clipboard
fun felicaSprwdId(felicaSprwdId: String?): CardPaymentDetails.OnlineCardPaymentDetails.Builder
panSequenceNumber
Link copied to clipboard
fun panSequenceNumber(panSequenceNumber: Long): CardPaymentDetails.OnlineCardPaymentDetails.Builder
remainingBalanceAmountMoney
Link copied to clipboard
fun remainingBalanceAmountMoney(remainingBalanceAmountMoney: Money?): CardPaymentDetails.OnlineCardPaymentDetails.Builder
status
Link copied to clipboard
fun status(status: CardPaymentDetails.Status): CardPaymentDetails.OnlineCardPaymentDetails.Builder
verificationMethod
Link copied to clipboard
fun verificationMethod(verificationMethod: CardPaymentDetails.VerificationMethod?): CardPaymentDetails.OnlineCardPaymentDetails.Builder
verificationResults
Link copied to clipboard
fun verificationResults(verificationResults: CardPaymentDetails.VerificationResult?): CardPaymentDetails.OnlineCardPaymentDetails.Builder