PHP Class PayPal\Test\Functional\Api\BillingPlansFunctionalTest

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

Public Properties

Property Type Description
$apiContext
$mockPayPalRestCall
$mode
$obj
$operation
$response

Public Methods

Method Description
getClassName ( ) : string Returns just the classname of the test you are executing. It removes the namespaces.
getPlan ( ) : PayPal\Api\Plan Helper function to get a Plan object in Active State
setUp ( )
setupTest ( $className, $testName )
testCreate ( )
testCreateWithNOChargeModel ( )
testGet ( $plan ) : PayPal\Api\Plan
testGetList ( $plan )
testUpdateChangingMerchantPreferences ( $plan )
testUpdateChangingPD ( $plan )
testUpdateChangingState ( $plan ) : PayPal\Api\Plan

Method Details

getClassName() public method

Returns just the classname of the test you are executing. It removes the namespaces.
public getClassName ( ) : string
return string

getPlan() public static method

Helper function to get a Plan object in Active State
public static getPlan ( ) : PayPal\Api\Plan
return PayPal\Api\Plan

setUp() public method

public setUp ( )

setupTest() public method

public setupTest ( $className, $testName )

testCreate() public method

public testCreate ( )

testCreateWithNOChargeModel() public method

testGet() public method

public testGet ( $plan ) : PayPal\Api\Plan
$plan Plan
return PayPal\Api\Plan

testGetList() public method

public testGetList ( $plan )
$plan Plan

testUpdateChangingMerchantPreferences() public method

public testUpdateChangingMerchantPreferences ( $plan )
$plan Plan

testUpdateChangingPD() public method

public testUpdateChangingPD ( $plan )
$plan Plan

testUpdateChangingState() public method

public testUpdateChangingState ( $plan ) : PayPal\Api\Plan
$plan Plan
return PayPal\Api\Plan

Property Details

$apiContext public_oe property

public $apiContext

$mockPayPalRestCall public_oe property

public $mockPayPalRestCall

$mode public_oe property

public $mode

$obj public_oe static_oe property

public static $obj

$operation public_oe property

public $operation

$response public_oe property

public $response