[-] Project : #PSFV-753 - OrderPayment::payment_method must be a genericName and not a name
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14388 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
1c8714b3eb
commit
33caf31dc3
1 file changed
+1
-1
@@ -51,7 +51,7 @@ class OrderPaymentCore extends ObjectModel
|
|||||||
'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||||
'id_order_invoice' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'),
|
'id_order_invoice' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'),
|
||||||
'amount' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice', 'required' => true),
|
'amount' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice', 'required' => true),
|
||||||
'payment_method' => array('type' => self::TYPE_STRING, 'validate' => 'isName'),
|
'payment_method' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'),
|
||||||
'conversion_rate' => array('type' => self::TYPE_INT, 'validate' => 'isFloat'),
|
'conversion_rate' => array('type' => self::TYPE_INT, 'validate' => 'isFloat'),
|
||||||
'transaction_id' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254),
|
'transaction_id' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254),
|
||||||
'card_number' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254),
|
'card_number' => array('type' => self::TYPE_STRING, 'validate' => 'isAnything', 'size' => 254),
|
||||||
|
|||||||
Reference in new issue
Block a user