Funding option related to default funding option.
public getRelatedFundingOption ( ) : PayPal\Api\FundingOption | ||
Résultat | PayPal\Api\FundingOption |
/** * @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->getRelatedFundingOption(), FundingOptionTest::getObject()); $this->assertEquals($obj->getPayerInfo(), PayerInfoTest::getObject()); }