// 1.5 branche creation

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@5881 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2011-04-12 18:24:40 +00:00
commit 10445ad61d
5317 changed files with 432110 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
/**
* Représente un paiement simple
* Un paiement simple contient :
* - 1 objet paramètres HIPAY_MAPI_PaymentParams
* - 1 objet order HIPAY_MAPI_Order
* - n objet produits représentant les lignes de la commande HIPAY_MAPI_Product
*
*/
class HIPAY_MAPI_SimplePayment extends HIPAY_MAPI_Payment {
function __construct(HIPAY_MAPI_PaymentParams $paymentParams,HIPAY_MAPI_Order $order,$items) {
try {
parent::__construct($paymentParams,array($order),$items);
} catch(Exception $e) {
throw new Exception($e->getMessage());
}
}
}