PHP Class PayPal\Test\Api\InvoiceTest

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

Public Methods

Method Description
getJson ( ) : string Gets Json String of Object Invoice
getObject ( ) : Invoice Gets Object Instance with Json data filled in
mockProvider ( )
testCancel ( Invoice $obj, $mockApiContext )
testCreate ( Invoice $obj, $mockApiContext )
testDelete ( Invoice $obj, $mockApiContext )
testGenerateNumber ( Invoice $obj, $mockApiContext )
testGet ( Invoice $obj, $mockApiContext )
testGetAll ( Invoice $obj, $mockApiContext )
testGetters ( Invoice $obj )
testQrCode ( Invoice $obj, $mockApiContext )
testRecordPayment ( Invoice $obj, $mockApiContext )
testRecordRefund ( Invoice $obj, $mockApiContext )
testRemind ( Invoice $obj, $mockApiContext )
testSearch ( Invoice $obj, $mockApiContext )
testSend ( Invoice $obj, $mockApiContext )
testSerializationDeserialization ( ) : Invoice Tests for Serialization and Deserialization Issues
testUpdate ( Invoice $obj, $mockApiContext )
testUrlValidationForLogoUrl ( )

Method Details

getJson() public static method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testCancel() public method

public testCancel ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testCreate() public method

public testCreate ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testDelete() public method

public testDelete ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testGenerateNumber() public method

public testGenerateNumber ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testGet() public method

public testGet ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testGetAll() public method

public testGetAll ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testGetters() public method

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

testQrCode() public method

public testQrCode ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testRecordPayment() public method

public testRecordPayment ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testRecordRefund() public method

public testRecordRefund ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testRemind() public method

public testRemind ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testSearch() public method

public testSearch ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testSend() public method

public testSend ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testSerializationDeserialization() public method

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

testUpdate() public method

public testUpdate ( Invoice $obj, $mockApiContext )
$obj PayPal\Api\Invoice

testUrlValidationForLogoUrl() public method