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

getJson() public static method

Gets Json String of Object InstallmentOption
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"term":123,"monthly_payment":' . CurrencyTest::getJson() . ',"discount_amount":' . CurrencyTest::getJson() . ',"discount_percentage":"TestSample"}';
    }

Usage Example

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