getExternalSelectedFundingInstrumentType() public method

Instrument type pre-selected by the user outside of PayPal and passed along the payment creation. This param is used in cases such as PayPal Credit Second Button
Beispiel #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Payer $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPaymentMethod(), "TestSample");
     $this->assertEquals($obj->getStatus(), "TestSample");
     $this->assertEquals($obj->getAccountType(), "TestSample");
     $this->assertEquals($obj->getAccountAge(), "TestSample");
     $this->assertEquals($obj->getFundingInstruments(), FundingInstrumentTest::getObject());
     $this->assertEquals($obj->getFundingOptionId(), "TestSample");
     $this->assertEquals($obj->getFundingOption(), FundingOptionTest::getObject());
     $this->assertEquals($obj->getExternalSelectedFundingInstrumentType(), "TestSample");
     $this->assertEquals($obj->getRelatedFundingOption(), FundingOptionTest::getObject());
     $this->assertEquals($obj->getPayerInfo(), PayerInfoTest::getObject());
 }