PHP Class PayPal\Test\Api\InvoiceTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Gets Json String of Object Invoice
public static getJson ( ) : string
Résultat string

getObject() public static méthode

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

mockProvider() public méthode

public mockProvider ( )

testCancel() public méthode

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

testCreate() public méthode

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

testDelete() public méthode

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

testGenerateNumber() public méthode

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

testGet() public méthode

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

testGetAll() public méthode

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

testGetters() public méthode

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

testQrCode() public méthode

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

testRecordPayment() public méthode

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

testRecordRefund() public méthode

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

testRemind() public méthode

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

testSearch() public méthode

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

testSend() public méthode

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

testSerializationDeserialization() public méthode

Tests for Serialization and Deserialization Issues
public testSerializationDeserialization ( ) : Invoice
Résultat PayPal\Api\Invoice

testUpdate() public méthode

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

testUrlValidationForLogoUrl() public méthode