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
62b12014
Commit
62b12014
authored
Jul 28, 2017
by
houweibin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
0dae67c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
_BUYCartLineItem.h
...y SDK/Mobile Buy SDK/Models/Persistent/_BUYCartLineItem.h
+10
-0
_BUYCartLineItem.m
...y SDK/Mobile Buy SDK/Models/Persistent/_BUYCartLineItem.m
+6
-0
No files found.
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCartLineItem.h
View file @
62b12014
...
...
@@ -32,6 +32,9 @@
extern
const
struct
BUYCartLineItemAttributes
{
__unsafe_unretained
NSString
*
quantity
;
__unsafe_unretained
NSString
*
title
;
__unsafe_unretained
NSString
*
variantId
;
__unsafe_unretained
NSString
*
variantTitle
;
}
BUYCartLineItemAttributes
;
extern
const
struct
BUYCartLineItemRelationships
{
...
...
@@ -78,6 +81,13 @@ extern const struct BUYCartLineItemUserInfo {
@property
(
nonatomic
,
strong
)
BUYProductVariant
*
variant
;
@property
(
nonatomic
,
strong
)
NSString
*
title
;
@property
(
nonatomic
,
strong
)
NSNumber
*
variantId
;
@property
(
nonatomic
,
strong
)
NSString
*
variantTitle
;
@end
@interface
_BUYCartLineItem
(
CoreDataGeneratedPrimitiveAccessors
)
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCartLineItem.m
View file @
62b12014
...
...
@@ -30,6 +30,9 @@
const
struct
BUYCartLineItemAttributes
BUYCartLineItemAttributes
=
{
.
quantity
=
@"quantity"
,
.
title
=
@"title"
,
.
variantId
=
@"variantId"
,
.
variantTitle
=
@"variantTitle"
,
};
const
struct
BUYCartLineItemRelationships
BUYCartLineItemRelationships
=
{
...
...
@@ -56,6 +59,9 @@ const struct BUYCartLineItemUserInfo BUYCartLineItemUserInfo = {
#if defined CORE_DATA_PERSISTENCE
@dynamic
quantity
;
@dynamic
title
;
@dynamic
variantId
;
@dynamic
variantTitle
;
#endif
#if defined CORE_DATA_PERSISTENCE
...
...
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