PayPal\Test\Api\InstallmentInfoTest::getJson PHP Method

getJson() public static method

Gets Json String of Object InstallmentInfo
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"installment_id":"TestSample","network":"TestSample","issuer":"TestSample","installment_options":' . InstallmentOptionTest::getJson() . '}';
    }

Usage Example

Example #1
0
 /**
  * Gets Json String of Object FundingOption
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","funding_sources":' . FundingSourceTest::getJson() . ',"backup_funding_instrument":' . FundingInstrumentTest::getJson() . ',"currency_conversion":' . CurrencyConversionTest::getJson() . ',"installment_info":' . InstallmentInfoTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }