PHP Class PayPal\Api\FileAttachment

File attached to an invoice or template
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getName ( ) : string Name of the file attached.
getUrl ( ) : string URL of the attached file that can be downloaded.
setName ( string $name ) Name of the file attached.
setUrl ( string $url ) URL of the attached file that can be downloaded.

Method Details

getName() public method

Name of the file attached.
public getName ( ) : string
return string

getUrl() public method

URL of the attached file that can be downloaded.
public getUrl ( ) : string
return string

setName() public method

Name of the file attached.
public setName ( string $name )
$name string

setUrl() public method

URL of the attached file that can be downloaded.
public setUrl ( string $url )
$url string