Completed
Push — master ( db6b3b...545c49 )
by Oss
02:55
created
src/Brownie/CartsGuru/Model/Cart.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -39,30 +39,30 @@
 block discarded – undo
39 39
      * @var array
40 40
      */
41 41
     protected $fields = array(
42
-        'id' => null,                   // Cart reference (use SessionId if you don’t have specific ID).
43
-        'siteId' => null,               // SiteId is part of configuration.
44
-        'creationDate' => null,         // Date of the cart as string in json format
42
+        'id' => null, // Cart reference (use SessionId if you don’t have specific ID).
43
+        'siteId' => null, // SiteId is part of configuration.
44
+        'creationDate' => null, // Date of the cart as string in json format
45 45
                                         //      (2016-07-26T08:21:25.689Z) (optional).
46
-        'totalATI' => null,             // Total price including taxes.
47
-        'totalET' => null,              // Total price excluding taxes.
48
-        'currency' => null,             // Currency, ISO code (optional).
49
-        'accountId' => null,            // Account id of the buyer (we advise to use the email address).
50
-        'ip' => null,                   // Visitor IP address (optional).
51
-        'recoverUrl' => null,           // Link to recover the cart.
46
+        'totalATI' => null, // Total price including taxes.
47
+        'totalET' => null, // Total price excluding taxes.
48
+        'currency' => null, // Currency, ISO code (optional).
49
+        'accountId' => null, // Account id of the buyer (we advise to use the email address).
50
+        'ip' => null, // Visitor IP address (optional).
51
+        'recoverUrl' => null, // Link to recover the cart.
52 52
                                         //      (link to cart with security token included) (optional).
53
-        'civility' => null,             // Use string in this list : 'mister','madam','miss' (optional).
54
-        'lastname' => null,             // Lastname of the buyer (optional).
55
-        'firstname' => null,            // Firstname of the buyer.
56
-        'email' => null,                // Email address.
57
-        'homePhoneNumber' => null,      // Landline phone number (optional).
58
-        'mobilePhoneNumber' => null,    // Mobile phone number (optional).
59
-        'phoneNumber' => null,          // Phone number of buyer, if you don’t know the kind of it (optional).
60
-        'country' => null,              // Country of the buyer (you can send country or country code).
61
-        'countryCode' => null,          // Country ISO code of the buyer (you can send country or country code).
62
-        'custom' => null,               // Any custom fields you want to send with the cart
53
+        'civility' => null, // Use string in this list : 'mister','madam','miss' (optional).
54
+        'lastname' => null, // Lastname of the buyer (optional).
55
+        'firstname' => null, // Firstname of the buyer.
56
+        'email' => null, // Email address.
57
+        'homePhoneNumber' => null, // Landline phone number (optional).
58
+        'mobilePhoneNumber' => null, // Mobile phone number (optional).
59
+        'phoneNumber' => null, // Phone number of buyer, if you don’t know the kind of it (optional).
60
+        'country' => null, // Country of the buyer (you can send country or country code).
61
+        'countryCode' => null, // Country ISO code of the buyer (you can send country or country code).
62
+        'custom' => null, // Any custom fields you want to send with the cart
63 63
                                         //      Standard fields are language (ISO code),
64 64
                                         //      customerGroup and isNewCustomer (Boolean).
65
-        'items' => null,                // Details of each items.
65
+        'items' => null, // Details of each items.
66 66
     );
67 67
 
68 68
     /**
Please login to merge, or discard this patch.
src/Brownie/CartsGuru/Model/Order.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -41,30 +41,30 @@
 block discarded – undo
41 41
      * @var array
42 42
      */
43 43
     protected $fields = array(
44
-        'id' => null,                   // Order reference, the same display to the buyer.
45
-        'siteId' => null,               // SiteId is part of configuration.
46
-        'cartId' => null,               // Cart reference, source of the order (optional).
47
-        'creationDate' => null,         // Date of the order as string in json format
44
+        'id' => null, // Order reference, the same display to the buyer.
45
+        'siteId' => null, // SiteId is part of configuration.
46
+        'cartId' => null, // Cart reference, source of the order (optional).
47
+        'creationDate' => null, // Date of the order as string in json format
48 48
                                         //      (2016-07-26T08:21:25.689Z) (optional).
49
-        'totalATI' => null,             // Amount included taxes and excluded shipping.
50
-        'totalET' => null,              // Amount excluded taxes and excluded shipping.
51
-        'currency' => null,             // Currency, ISO code (optional).
52
-        'paymentMethod' => null,        // Payment method used (optional).
53
-        'state' => null,                // Status of the order.
54
-        'ip' => null,                   // Visitor ip address (optional).
55
-        'accountId' => null,            // Account id of the buyer (use same identifier as Carts).
56
-        'civility' => null,             // Use string in this list : ‘mister','madam','miss' (optional).
57
-        'lastname' => null,             // Lastname of the buyer (optional).
58
-        'firstname' => null,            // Firstname of the buyer.
59
-        'email' => null,                // Email address of the buyer.
60
-        'homePhoneNumber' => null,      // Landline phone number of buyer (optional).
61
-        'mobilePhoneNumber' => null,    // Mobile phone number of buyer (optional).
62
-        'country' => null,              // Country of the buyer (you can send country or country code).
63
-        'countryCode' => null,          // Country ISO code of the buyer (you can send country or country code).
64
-        'custom' => null,               // Any custom fields you want to send with the cart.
49
+        'totalATI' => null, // Amount included taxes and excluded shipping.
50
+        'totalET' => null, // Amount excluded taxes and excluded shipping.
51
+        'currency' => null, // Currency, ISO code (optional).
52
+        'paymentMethod' => null, // Payment method used (optional).
53
+        'state' => null, // Status of the order.
54
+        'ip' => null, // Visitor ip address (optional).
55
+        'accountId' => null, // Account id of the buyer (use same identifier as Carts).
56
+        'civility' => null, // Use string in this list : ‘mister','madam','miss' (optional).
57
+        'lastname' => null, // Lastname of the buyer (optional).
58
+        'firstname' => null, // Firstname of the buyer.
59
+        'email' => null, // Email address of the buyer.
60
+        'homePhoneNumber' => null, // Landline phone number of buyer (optional).
61
+        'mobilePhoneNumber' => null, // Mobile phone number of buyer (optional).
62
+        'country' => null, // Country of the buyer (you can send country or country code).
63
+        'countryCode' => null, // Country ISO code of the buyer (you can send country or country code).
64
+        'custom' => null, // Any custom fields you want to send with the cart.
65 65
                                         //      Standard fields are language (ISO code),
66 66
                                         //      customerGroup and isNewCustomer (Boolean).
67
-        'items' => null,                // Details of each items.
67
+        'items' => null, // Details of each items.
68 68
     );
69 69
 
70 70
     /**
Please login to merge, or discard this patch.