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
40eed563
Commit
40eed563
authored
Apr 13, 2018
by
lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order add currency_rate
parent
b1043050
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
contents
... Buy SDK.xcdatamodeld/Mobile Buy SDK.xcdatamodel/contents
+3
-2
_BUYOrder.h
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYOrder.h
+3
-0
_BUYOrder.m
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYOrder.m
+2
-0
No files found.
Mobile Buy SDK/Mobile Buy SDK/Models/Mobile Buy SDK.xcdatamodeld/Mobile Buy SDK.xcdatamodel/contents
View file @
40eed563
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model
type=
"com.apple.IDECoreDataModeler.DataModel"
documentVersion=
"1.0"
lastSavedToolsVersion=
"1
2141"
systemVersion=
"16F73
"
minimumToolsVersion=
"Xcode 7.0"
sourceLanguage=
"Objective-C"
userDefinedModelVersionIdentifier=
""
>
<model
type=
"com.apple.IDECoreDataModeler.DataModel"
documentVersion=
"1.0"
lastSavedToolsVersion=
"1
3772"
systemVersion=
"17D102
"
minimumToolsVersion=
"Xcode 7.0"
sourceLanguage=
"Objective-C"
userDefinedModelVersionIdentifier=
""
>
<entity
name=
"Address"
representedClassName=
"BUYAddress"
syncable=
"YES"
>
<entity
name=
"Address"
representedClassName=
"BUYAddress"
syncable=
"YES"
>
<attribute
name=
"address1"
optional=
"YES"
attributeType=
"String"
syncable=
"YES"
>
<attribute
name=
"address1"
optional=
"YES"
attributeType=
"String"
syncable=
"YES"
>
<userInfo>
<userInfo>
...
@@ -649,6 +649,7 @@
...
@@ -649,6 +649,7 @@
<entity
name=
"Order"
representedClassName=
"BUYOrder"
syncable=
"YES"
>
<entity
name=
"Order"
representedClassName=
"BUYOrder"
syncable=
"YES"
>
<attribute
name=
"cancelled"
optional=
"YES"
attributeType=
"Boolean"
usesScalarValueType=
"NO"
syncable=
"YES"
/>
<attribute
name=
"cancelled"
optional=
"YES"
attributeType=
"Boolean"
usesScalarValueType=
"NO"
syncable=
"YES"
/>
<attribute
name=
"currency"
optional=
"YES"
attributeType=
"String"
syncable=
"YES"
/>
<attribute
name=
"currency"
optional=
"YES"
attributeType=
"String"
syncable=
"YES"
/>
<attribute
name=
"currencyRate"
optional=
"YES"
attributeType=
"Decimal"
defaultValueString=
"0.0"
syncable=
"YES"
/>
<attribute
name=
"identifier"
optional=
"YES"
attributeType=
"Integer 64"
defaultValueString=
"0"
usesScalarValueType=
"NO"
indexed=
"YES"
syncable=
"YES"
/>
<attribute
name=
"identifier"
optional=
"YES"
attributeType=
"Integer 64"
defaultValueString=
"0"
usesScalarValueType=
"NO"
indexed=
"YES"
syncable=
"YES"
/>
<attribute
name=
"name"
optional=
"YES"
attributeType=
"String"
syncable=
"YES"
>
<attribute
name=
"name"
optional=
"YES"
attributeType=
"String"
syncable=
"YES"
>
<userInfo>
<userInfo>
...
@@ -1006,7 +1007,7 @@
...
@@ -1006,7 +1007,7 @@
<element
name=
"MaskedCreditCard"
positionX=
"-567"
positionY=
"1218"
width=
"128"
height=
"150"
/>
<element
name=
"MaskedCreditCard"
positionX=
"-567"
positionY=
"1218"
width=
"128"
height=
"150"
/>
<element
name=
"Option"
positionX=
"-1588"
positionY=
"1287"
width=
"128"
height=
"105"
/>
<element
name=
"Option"
positionX=
"-1588"
positionY=
"1287"
width=
"128"
height=
"105"
/>
<element
name=
"OptionValue"
positionX=
"-1390"
positionY=
"894"
width=
"128"
height=
"105"
/>
<element
name=
"OptionValue"
positionX=
"-1390"
positionY=
"894"
width=
"128"
height=
"105"
/>
<element
name=
"Order"
positionX=
"-549"
positionY=
"1647"
width=
"128"
height=
"2
10
"
/>
<element
name=
"Order"
positionX=
"-549"
positionY=
"1647"
width=
"128"
height=
"2
25
"
/>
<element
name=
"Product"
positionX=
"-1390"
positionY=
"1018"
width=
"128"
height=
"300"
/>
<element
name=
"Product"
positionX=
"-1390"
positionY=
"1018"
width=
"128"
height=
"300"
/>
<element
name=
"ProductVariant"
positionX=
"-1192"
positionY=
"1063"
width=
"128"
height=
"240"
/>
<element
name=
"ProductVariant"
positionX=
"-1192"
positionY=
"1063"
width=
"128"
height=
"240"
/>
<element
name=
"ShippingRate"
positionX=
"-569"
positionY=
"1836"
width=
"128"
height=
"135"
/>
<element
name=
"ShippingRate"
positionX=
"-569"
positionY=
"1836"
width=
"128"
height=
"135"
/>
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYOrder.h
View file @
40eed563
...
@@ -40,6 +40,7 @@ extern const struct BUYOrderAttributes {
...
@@ -40,6 +40,7 @@ extern const struct BUYOrderAttributes {
__unsafe_unretained
NSString
*
totalPrice
;
__unsafe_unretained
NSString
*
totalPrice
;
__unsafe_unretained
NSString
*
cancelled
;
__unsafe_unretained
NSString
*
cancelled
;
__unsafe_unretained
NSString
*
currency
;
__unsafe_unretained
NSString
*
currency
;
__unsafe_unretained
NSString
*
currencyRate
;
}
BUYOrderAttributes
;
}
BUYOrderAttributes
;
extern
const
struct
BUYOrderRelationships
{
extern
const
struct
BUYOrderRelationships
{
...
@@ -101,6 +102,8 @@ extern const struct BUYOrderUserInfo {
...
@@ -101,6 +102,8 @@ extern const struct BUYOrderUserInfo {
@property
(
nonatomic
,
strong
)
NSDecimalNumber
*
totalPrice
;
@property
(
nonatomic
,
strong
)
NSDecimalNumber
*
totalPrice
;
@property
(
nonatomic
,
strong
)
NSDecimalNumber
*
currencyRate
;
/**
/**
* Inverse of Checkout.order.
* Inverse of Checkout.order.
*/
*/
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYOrder.m
View file @
40eed563
...
@@ -38,6 +38,7 @@ const struct BUYOrderAttributes BUYOrderAttributes = {
...
@@ -38,6 +38,7 @@ const struct BUYOrderAttributes BUYOrderAttributes = {
.
totalPrice
=
@"totalPrice"
,
.
totalPrice
=
@"totalPrice"
,
.
cancelled
=
@"cancelled"
,
.
cancelled
=
@"cancelled"
,
.
currency
=
@"currency"
,
.
currency
=
@"currency"
,
.
currencyRate
=
@"currency_rate"
,
};
};
const
struct
BUYOrderRelationships
BUYOrderRelationships
=
{
const
struct
BUYOrderRelationships
BUYOrderRelationships
=
{
...
@@ -78,6 +79,7 @@ const struct BUYOrderUserInfo BUYOrderUserInfo = {
...
@@ -78,6 +79,7 @@ const struct BUYOrderUserInfo BUYOrderUserInfo = {
@dynamic
totalPrice
;
@dynamic
totalPrice
;
@dynamic
cancelled
;
@dynamic
cancelled
;
@dynamic
currency
;
@dynamic
currency
;
@dynamic
currencyRate
;
#endif
#endif
-
(
int64_t
)
identifierValue
{
-
(
int64_t
)
identifierValue
{
...
...
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