Class Plan
Class Plan
Billing plan resource that will be used to create a billing agreement.
- PayPal\Common\PayPalModel
- PayPal\Common\PayPalResourceModel implements PayPal\Rest\IResource
- PayPal\Api\Plan
Methods summary
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setCreateTime( string $create_time )
Time when the billing plan was created. Format YYYY-MM-DDTimeTimezone, as defined in ISO8601. |
public
string
|
#
getCreateTime( )
Time when the billing plan was created. Format YYYY-MM-DDTimeTimezone, as defined in ISO8601. |
public
|
#
setUpdateTime( string $update_time )
Time when this billing plan was updated. Format YYYY-MM-DDTimeTimezone, as defined in ISO8601. |
public
string
|
#
getUpdateTime( )
Time when this billing plan was updated. Format YYYY-MM-DDTimeTimezone, as defined in ISO8601. |
public
|
#
setPaymentDefinitions(
Array of payment definitions for this billing plan. |
public
|
|
public
|
#
addPaymentDefinition(
Append PaymentDefinitions to the list. |
public
|
#
removePaymentDefinition(
Remove PaymentDefinitions from the list. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setMerchantPreferences(
Specific preferences such as: set up fee, max fail attempts, autobill amount, and others that are configured for this billing plan. |
public
|
#
getMerchantPreferences( )
Specific preferences such as: set up fee, max fail attempts, autobill amount, and others that are configured for this billing plan. |
public static
|
#
get( string $planId,
Retrieve the details for a particular billing plan by passing the billing plan ID to the request URI. |
public
|
#
create(
Create a new billing plan by passing the details for the plan, including the plan name, description, and type, to the request URI. |
public
boolean
|
#
update(
Replace specific fields within a billing plan by passing the ID of the billing plan to the request URI. In addition, pass a patch object in the request JSON that specifies the operation to perform, field to update, and new value for each update. |
public
boolean
|
#
delete(
Delete a billing plan by passing the ID of the billing plan to the request URI. |
public static
|
#
all( array $params,
List billing plans according to optional query string parameters specified. |
Methods inherited from PayPal\Common\PayPalResourceModel
addLink()
,
executeCall()
,
getLink()
,
getLinks()
,
removeLink()
,
setLinks()
,
updateAccessToken()
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()