PHP Class PayPal\Test\Api\MerchantPreferencesTest

Inheritance: extends PHPUnit_Framework_TestCase
ファイルを表示 Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getJson ( ) : string Gets Json String of Object MerchantPreferences
getObject ( ) : PayPal\Api\MerchantPreferences Gets Object Instance with Json data filled in
testGetters ( PayPal\Api\MerchantPreferences $obj )
testSerializationDeserialization ( ) : PayPal\Api\MerchantPreferences Tests for Serialization and Deserialization Issues
testUrlValidationForCancelUrl ( )
testUrlValidationForCancelUrlDeprecated ( )
testUrlValidationForNotifyUrl ( )
testUrlValidationForNotifyUrlDeprecated ( )
testUrlValidationForReturnUrl ( )
testUrlValidationForReturnUrlDeprecated ( )

Method Details

getJson() public static method

Gets Json String of Object MerchantPreferences
public static getJson ( ) : string
return string

getObject() public static method

Gets Object Instance with Json data filled in
public static getObject ( ) : PayPal\Api\MerchantPreferences
return PayPal\Api\MerchantPreferences

testGetters() public method

public testGetters ( PayPal\Api\MerchantPreferences $obj )
$obj PayPal\Api\MerchantPreferences

testSerializationDeserialization() public method

Tests for Serialization and Deserialization Issues
public testSerializationDeserialization ( ) : PayPal\Api\MerchantPreferences
return PayPal\Api\MerchantPreferences

testUrlValidationForCancelUrl() public method

testUrlValidationForCancelUrlDeprecated() public method

testUrlValidationForNotifyUrl() public method

testUrlValidationForNotifyUrlDeprecated() public method

testUrlValidationForReturnUrl() public method

testUrlValidationForReturnUrlDeprecated() public method