Commit 7e76ebc9 by Dima Bart

Update comments.

parent 15b25a23
...@@ -243,10 +243,10 @@ ...@@ -243,10 +243,10 @@
BUYGiftCard *giftCard = [self.modelManager insertGiftCardWithJSONDictionary:giftCardJSON]; BUYGiftCard *giftCard = [self.modelManager insertGiftCardWithJSONDictionary:giftCardJSON];
/* --------------------------------- /* ---------------------------------
* We have to update a copy of the * We have to update the checkout
* checkout that was passed in with * that was passed in with a new
* a new 'paymentDue' value and the * 'paymentDue' value and the gift
* gift card. * card.
*/ */
checkout.JSONDictionary = giftCardJSON[@"checkout"]; checkout.JSONDictionary = giftCardJSON[@"checkout"];
[checkout addGiftCard:giftCard]; [checkout addGiftCard:giftCard];
...@@ -268,10 +268,10 @@ ...@@ -268,10 +268,10 @@
NSNumber *giftCardID = giftCardJSON[@"id"]; NSNumber *giftCardID = giftCardJSON[@"id"];
/* --------------------------------- /* ---------------------------------
* We have to update a copy of the * We have to update the checkout
* checkout that was passed in with * that was passed in with a new
* a new 'paymentDue' value and the * 'paymentDue' value and the gift
* gift card. * card.
*/ */
checkout.JSONDictionary = giftCardJSON[@"checkout"]; checkout.JSONDictionary = giftCardJSON[@"checkout"];
[checkout removeGiftCardWithIdentifier:giftCardID]; [checkout removeGiftCardWithIdentifier:giftCardID];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment