/** * Build a credit card object to be added to payment request * @param object $transaction the transaction where the credit card will be added * @param object $parameters with the credit card info * @return the credit built */ private static function buildCreditCardTransaction($transaction, $parameters) { return CommonRequestUtil::buildCreditCard($parameters); }