getFundingInstruments() public method

List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed.
public getFundingInstruments ( ) : FundingInstrument[]
return FundingInstrument[]
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->getFundingInstruments(), FundingInstrumentTest::getObject());
     $this->assertEquals($obj->getFundingOptionId(), "TestSample");
     $this->assertEquals($obj->getPayerInfo(), PayerInfoTest::getObject());
 }
Beispiel #2
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());
 }