setCard method

void setCard(
  1. Card card
)

Associate and mapping Card model properties to transaction

@param card

Implementation

void setCard(Card card) {
	card_number = Helpers.trimValue(card.number);
	card_cvv = card.cvv2;
	card_expire = card.getExpireFormat();
	card_holder = Helpers.trimValue(card.cardholder);
}