PHP Class PayPal\Ipn\PPIPNMessage

Afficher le fichier Open project: paypal/sdk-core-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $postData = '', $config = null )
getRawData ( ) : array Returns a hashmap of raw IPN data
getTransactionId ( ) : string Returns the transaction id for which this IPN was generated, if one is available
getTransactionType ( ) : string Returns the transaction type for which this IPN was generated
validate ( ) : boolean Validates a IPN message

Private Methods

Méthode Description
setEndpoint ( )

Method Details

__construct() public méthode

public __construct ( string $postData = '', $config = null )
$postData string OPTIONAL post data. If null, the class automatically reads incoming POST data from the input stream

getRawData() public méthode

Returns a hashmap of raw IPN data
public getRawData ( ) : array
Résultat array

getTransactionId() public méthode

Returns the transaction id for which this IPN was generated, if one is available
public getTransactionId ( ) : string
Résultat string

getTransactionType() public méthode

Returns the transaction type for which this IPN was generated
public getTransactionType ( ) : string
Résultat string

validate() public méthode

Validates a IPN message
public validate ( ) : boolean
Résultat boolean