Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
7e76ebc9
Commit
7e76ebc9
authored
9 years ago
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments.
parent
15b25a23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
BUYClient+Checkout.m
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient+Checkout.m
+8
-8
No files found.
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient+Checkout.m
View file @
7e76ebc9
...
@@ -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
];
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment