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
3211434a
Commit
3211434a
authored
Jan 19, 2016
by
Rune Madsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add property and mark as deprecated
parent
98dc449f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
BUYCheckout.h
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.h
+5
-0
BUYCheckout.m
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.m
+5
-0
No files found.
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.h
View file @
3211434a
...
...
@@ -149,6 +149,11 @@
@property
(
nonatomic
,
strong
)
BUYShippingRate
*
shippingRate
;
/**
* Shipping rate identifier
*/
@property
(
nonatomic
,
readonly
)
NSString
*
shippingRateId
DEPRECATED_MSG_ATTRIBUTE
(
"Use shippingRate.shippingRateIdentifier"
);
/**
* A discount added to the checkout
* Only one discount can be added to a checkout. Call `updateCheckout:completion:`
* after adding a discount to apply the discount code to the checkout.
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/BUYCheckout.m
View file @
3211434a
...
...
@@ -155,6 +155,11 @@
self
.
sourceIdentifier
=
dictionary
[
@"source_identifier"
];
}
-
(
NSString
*
)
shippingRateId
{
return
self
.
shippingRate
.
shippingRateIdentifier
;
}
-
(
id
)
jsonValueForValue
:
(
id
)
value
{
id
newValue
=
value
;
...
...
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