PHP Class PayPal\Test\Api\InvoiceItemTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostra file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getJson ( ) : string Gets Json String of Object InvoiceItem
getObject ( ) : InvoiceItem Gets Object Instance with Json data filled in
testGetters ( InvoiceItem $obj )
testSerializationDeserialization ( ) : InvoiceItem Tests for Serialization and Deserialization Issues
testUrlValidationForImageUrl ( )

Method Details

getJson() public static method

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

getObject() public static method

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

testGetters() public method

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

testSerializationDeserialization() public method

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

testUrlValidationForImageUrl() public method