getCreditCard() public method

Credit Card instrument.
public getCreditCard ( ) : CreditCard
return CreditCard
 /**
  * @depends testSerializationDeserialization
  * @param FundingInstrument $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCreditCard(), CreditCardTest::getObject());
     $this->assertEquals($obj->getCreditCardToken(), CreditCardTokenTest::getObject());
     $this->assertEquals($obj->getPaymentCard(), PaymentCardTest::getObject());
     $this->assertEquals($obj->getPaymentCardToken(), PaymentCardTokenTest::getObject());
     $this->assertEquals($obj->getBankAccount(), ExtendedBankAccountTest::getObject());
     $this->assertEquals($obj->getBankAccountToken(), BankTokenTest::getObject());
     $this->assertEquals($obj->getCredit(), CreditTest::getObject());
 }
 /**
  * @depends testSerializationDeserialization
  * @param FundingInstrument $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCreditCard(), CreditCardTest::getObject());
     $this->assertEquals($obj->getCreditCardToken(), CreditCardTokenTest::getObject());
     $this->assertEquals($obj->getPaymentCard(), PaymentCardTest::getObject());
     $this->assertEquals($obj->getBankAccount(), ExtendedBankAccountTest::getObject());
     $this->assertEquals($obj->getBankAccountToken(), BankTokenTest::getObject());
     $this->assertEquals($obj->getCredit(), CreditTest::getObject());
     $this->assertEquals($obj->getIncentive(), IncentiveTest::getObject());
     $this->assertEquals($obj->getExternalFunding(), ExternalFundingTest::getObject());
     $this->assertEquals($obj->getCarrierAccountToken(), CarrierAccountTokenTest::getObject());
     $this->assertEquals($obj->getCarrierAccount(), CarrierAccountTest::getObject());
     $this->assertEquals($obj->getPrivateLabelCard(), PrivateLabelCardTest::getObject());
     $this->assertEquals($obj->getBilling(), BillingTest::getObject());
 }