Class Template
Class Template
Invoicing Template
- PayPal\Common\PayPalModel
- PayPal\Common\PayPalResourceModel implements PayPal\Rest\IResource
- PayPal\Api\Template
Methods summary
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setDefault( boolean $default )
Indicates that this template is merchant's default. There can be only one template which can be a default. |
public
boolean
|
#
getDefault( )
Indicates that this template is merchant's default. There can be only one template which can be a default. |
public
|
#
setTemplateData(
Customized invoice data which is saved as template |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setUnitOfMeasure( string $unit_of_measure )
Unit of measure for the template, possible values are Quantity, Hours, Amount. |
public
string
|
#
getUnitOfMeasure( )
Unit of measure for the template, possible values are Quantity, Hours, Amount. |
public
|
|
public
boolean
|
|
public static
|
#
get( string $templateId,
Retrieve the details for a particular template by passing the template ID to the request URI. |
public
boolean
|
#
delete(
Delete a particular template by passing the template ID to the request URI. |
public
|
#
create(
Creates a template. |
public
|
#
update(
Update an existing template by passing the template ID to the request URI. In addition, pass a complete template object in the request JSON. Partial updates are not supported. |
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()