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
199620c2
Commit
199620c2
authored
9 years ago
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sourceIdentifier from BUYCheckout.
parent
d50b18b3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
9 deletions
+0
-9
BUYClientTest.m
Mobile Buy SDK/Mobile Buy SDK Tests/BUYClientTest.m
+0
-1
BUYClient.m
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient.m
+0
-1
BUYCheckout.h
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.h
+0
-5
BUYCheckout.m
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.m
+0
-1
BUYCheckout_Private.h
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout_Private.h
+0
-1
No files found.
Mobile Buy SDK/Mobile Buy SDK Tests/BUYClientTest.m
View file @
199620c2
...
...
@@ -90,7 +90,6 @@
NSDictionary
*
dict
=
@{
@"checkout"
:
@{
@"line_items"
:
@[],
@"source_name"
:
@"mobile_app"
,
@"source_identifier"
:
self
.
client
.
appId
,
@"marketing_attribution"
:
@{
@"medium"
:
@"iOS"
,
@"source"
:
self
.
client
.
applicationName
}}};
NSDictionary
*
json
=
[
NSJSONSerialization
JSONObjectWithData
:
data
options
:
0
error
:
nil
];
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient.m
View file @
199620c2
...
...
@@ -300,7 +300,6 @@ static NSString *const kBUYClientPathCollectionPublications = @"collection_listi
{
checkout
.
marketingAttribution
=
@{
@"medium"
:
@"iOS"
,
@"source"
:
self
.
applicationName
};
checkout
.
sourceName
=
@"mobile_app"
;
checkout
.
sourceIdentifier
=
self
.
appId
;
if
(
self
.
urlScheme
||
checkout
.
webReturnToURL
)
{
checkout
.
webReturnToURL
=
checkout
.
webReturnToURL
?:
self
.
urlScheme
;
checkout
.
webReturnToLabel
=
checkout
.
webReturnToLabel
?:
[
@"Return to "
stringByAppendingString
:
self
.
applicationName
];
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.h
View file @
199620c2
...
...
@@ -220,11 +220,6 @@
@property
(
nonatomic
,
copy
,
readonly
)
NSString
*
sourceName
;
/**
* The unique identifier for the source: the appId
*/
@property
(
nonatomic
,
copy
,
readonly
)
NSString
*
sourceIdentifier
;
/**
* Credit card stored on the checkout
*/
@property
(
nonatomic
,
strong
,
readonly
)
BUYMaskedCreditCard
*
creditCard
;
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.m
View file @
199620c2
...
...
@@ -154,7 +154,6 @@
self
.
termsOfServiceURL
=
[
NSURL
buy_urlWithString
:
dictionary
[
@"terms_of_service_url"
]];
self
.
sourceName
=
dictionary
[
@"source_name"
];
self
.
sourceIdentifier
=
dictionary
[
@"source_identifier"
];
}
-
(
NSString
*
)
shippingRateId
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout_Private.h
View file @
199620c2
...
...
@@ -53,5 +53,4 @@
@property
(
nonatomic
,
strong
)
NSURL
*
refundPolicyURL
;
@property
(
nonatomic
,
strong
)
NSURL
*
termsOfServiceURL
;
@property
(
nonatomic
,
copy
)
NSString
*
sourceName
;
@property
(
nonatomic
,
copy
)
NSString
*
sourceIdentifier
;
@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