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
bbc8b50e
Commit
bbc8b50e
authored
8 years ago
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename to JSONDictionary.
parent
eed56e94
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
BUYClient.m
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient.m
+1
-1
BUYApplePayToken.m
Mobile Buy SDK/Mobile Buy SDK/Models/BUYApplePayToken.m
+1
-1
BUYCreditCardToken.m
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCreditCardToken.m
+1
-1
BUYPaymentSessionProvider.h
...Buy SDK/Mobile Buy SDK/Models/BUYPaymentSessionProvider.h
+1
-1
No files found.
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient.m
View file @
bbc8b50e
...
...
@@ -439,7 +439,7 @@ NSString *const BUYClientCustomerAccessToken = @"X-Shopify-Customer-Access-Token
NSData
*
data
=
nil
;
if
(
paymentToken
)
{
data
=
[
NSJSONSerialization
dataWithJSONObject
:[
paymentToken
jsonRepresentation
]
options
:
0
error
:
nil
];
data
=
[
NSJSONSerialization
dataWithJSONObject
:[
paymentToken
JSONDictionary
]
options
:
0
error
:
nil
];
}
BOOL
isFree
=
(
checkout
.
paymentDue
&&
checkout
.
paymentDue
.
floatValue
==
0
);
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYApplePayToken.m
View file @
bbc8b50e
...
...
@@ -49,7 +49,7 @@
#pragma mark - BUYPaymentSessionProvider -
-
(
NSDictionary
*
)
jsonRepresentation
-
(
NSDictionary
*
)
JSONDictionary
{
return
@{
@"payment_token"
:
@{
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCreditCardToken.m
View file @
bbc8b50e
...
...
@@ -43,7 +43,7 @@
#pragma mark - BUYPaymentSessionProvider -
-
(
NSDictionary
*
)
jsonRepresentation
-
(
NSDictionary
*
)
JSONDictionary
{
return
@{
@"payment_session_id"
:
self
.
paymentSessionID
,
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYPaymentSessionProvider.h
View file @
bbc8b50e
...
...
@@ -26,6 +26,6 @@
@protocol
BUYPaymentToken
<
NSObject
>
-
(
NSDictionary
*
)
jsonRepresentation
;
-
(
NSDictionary
*
)
JSONDictionary
;
@end
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