PHP Class PayPal\Api\Credit

A resource representing a credit instrument.
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getId ( ) : string Unique identifier of credit resource.
getType ( ) : string specifies type of credit
setId ( string $id ) Unique identifier of credit resource.
setType ( string $type ) specifies type of credit Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"]

Method Details

getId() public method

Unique identifier of credit resource.
public getId ( ) : string
return string

getType() public method

specifies type of credit
public getType ( ) : string
return string

setId() public method

Unique identifier of credit resource.
public setId ( string $id )
$id string

setType() public method

specifies type of credit Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"]
public setType ( string $type )
$type string