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
e478b67c
Commit
e478b67c
authored
May 20, 2016
by
Gabriel O'Flaherty-Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename class BUYApplePayHelpers -> BUYApplePayPaymentControllerDelegate
parent
df303a5f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
22 deletions
+23
-22
project.pbxproj
Mobile Buy SDK/Mobile Buy SDK.xcodeproj/project.pbxproj
+12
-12
Buy.h
Mobile Buy SDK/Mobile Buy SDK/Buy.h
+1
-1
BUYApplePayPaymentProvider.m
...le Buy SDK/Payment Providers/BUYApplePayPaymentProvider.m
+3
-3
BUYApplePayPaymentControllerDelegate.h
...bile Buy SDK/Utils/BUYApplePayPaymentControllerDelegate.h
+3
-2
BUYApplePayPaymentControllerDelegate.m
...bile Buy SDK/Utils/BUYApplePayPaymentControllerDelegate.m
+4
-4
No files found.
Mobile Buy SDK/Mobile Buy SDK.xcodeproj/project.pbxproj
View file @
e478b67c
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
84DD12D01CC6401400A2442D
/* BUYCustomer.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84D915731CC0416800D334FB
/* BUYCustomer.m */
;
};
84DD12D01CC6401400A2442D
/* BUYCustomer.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84D915731CC0416800D334FB
/* BUYCustomer.m */
;
};
9003969B1B601DF400226B73
/* BUYCartLineItem.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
900396991B601DF400226B73
/* BUYCartLineItem.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9003969B1B601DF400226B73
/* BUYCartLineItem.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
900396991B601DF400226B73
/* BUYCartLineItem.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9003969C1B601DF400226B73
/* BUYCartLineItem.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9003969A1B601DF400226B73
/* BUYCartLineItem.m */
;
};
9003969C1B601DF400226B73
/* BUYCartLineItem.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9003969A1B601DF400226B73
/* BUYCartLineItem.m */
;
};
901930E31BC5B9BC00D1134E
/* BUYApplePay
Helpers.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4EE1B15FF4D0067982B
/* BUYApplePayHelpers
.m */
;
};
901930E31BC5B9BC00D1134E
/* BUYApplePay
PaymentControllerDelegate.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4EE1B15FF4D0067982B
/* BUYApplePayPaymentControllerDelegate
.m */
;
};
901930E81BC5B9BC00D1134E
/* BUYImageLink.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A7A1A700B0A0087DB2C
/* BUYImageLink.m */
;
};
901930E81BC5B9BC00D1134E
/* BUYImageLink.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A7A1A700B0A0087DB2C
/* BUYImageLink.m */
;
};
901930E91BC5B9BC00D1134E
/* BUYProductVariant.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A821A700B0A0087DB2C
/* BUYProductVariant.m */
;
};
901930E91BC5B9BC00D1134E
/* BUYProductVariant.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A821A700B0A0087DB2C
/* BUYProductVariant.m */
;
};
901930EC1BC5B9BC00D1134E
/* BUYError.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE47340E1B66C4EF00AA721A
/* BUYError.m */
;
};
901930EC1BC5B9BC00D1134E
/* BUYError.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE47340E1B66C4EF00AA721A
/* BUYError.m */
;
};
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
901931201BC5B9BC00D1134E
/* BUYCreditCard.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F77374AB19C796BD0039681C
/* BUYCreditCard.m */
;
};
901931201BC5B9BC00D1134E
/* BUYCreditCard.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F77374AB19C796BD0039681C
/* BUYCreditCard.m */
;
};
901931221BC5B9BC00D1134E
/* BUYShop.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A841A700B0A0087DB2C
/* BUYShop.m */
;
};
901931221BC5B9BC00D1134E
/* BUYShop.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A841A700B0A0087DB2C
/* BUYShop.m */
;
};
901931231BC5B9BC00D1134E
/* BUYObject.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A941A7010B20087DB2C
/* BUYObject.m */
;
};
901931231BC5B9BC00D1134E
/* BUYObject.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A941A7010B20087DB2C
/* BUYObject.m */
;
};
901931281BC5B9BC00D1134E
/* BUYApplePay
Helpers.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4ED1B15FF4D0067982B
/* BUYApplePayHelpers
.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
901931281BC5B9BC00D1134E
/* BUYApplePay
PaymentControllerDelegate.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4ED1B15FF4D0067982B
/* BUYApplePayPaymentControllerDelegate
.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9019312A1BC5B9BC00D1134E
/* BUYCreditCard.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F77374AA19C796BD0039681C
/* BUYCreditCard.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9019312A1BC5B9BC00D1134E
/* BUYCreditCard.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F77374AA19C796BD0039681C
/* BUYCreditCard.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9019312B1BC5B9BC00D1134E
/* BUYOption.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A7F1A700B0A0087DB2C
/* BUYOption.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9019312B1BC5B9BC00D1134E
/* BUYOption.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A7F1A700B0A0087DB2C
/* BUYOption.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9019312F1BC5B9BC00D1134E
/* BUYLineItem.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F7FDA16C19C939FF00AF4E93
/* BUYLineItem.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
9019312F1BC5B9BC00D1134E
/* BUYLineItem.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F7FDA16C19C939FF00AF4E93
/* BUYLineItem.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
...
@@ -423,8 +423,8 @@
...
@@ -423,8 +423,8 @@
BE9A646D1B503D1C0033E558
/* BUYApplePayAdditions.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F70CE40E1A8BF1D90055BEB8
/* BUYApplePayAdditions.m */
;
};
BE9A646D1B503D1C0033E558
/* BUYApplePayAdditions.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F70CE40E1A8BF1D90055BEB8
/* BUYApplePayAdditions.m */
;
};
BE9A646E1B503D1E0033E558
/* BUYRuntime.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A731A700AC80087DB2C
/* BUYRuntime.h */
;
};
BE9A646E1B503D1E0033E558
/* BUYRuntime.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A731A700AC80087DB2C
/* BUYRuntime.h */
;
};
BE9A646F1B503D210033E558
/* BUYRuntime.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A741A700AC80087DB2C
/* BUYRuntime.m */
;
};
BE9A646F1B503D210033E558
/* BUYRuntime.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2AF52A741A700AC80087DB2C
/* BUYRuntime.m */
;
};
BE9A64741B503D2E0033E558
/* BUYApplePay
Helpers.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4ED1B15FF4D0067982B
/* BUYApplePayHelpers
.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
BE9A64741B503D2E0033E558
/* BUYApplePay
PaymentControllerDelegate.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4ED1B15FF4D0067982B
/* BUYApplePayPaymentControllerDelegate
.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
BE9A64751B503D370033E558
/* BUYApplePay
Helpers.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4EE1B15FF4D0067982B
/* BUYApplePayHelpers
.m */
;
};
BE9A64751B503D370033E558
/* BUYApplePay
PaymentControllerDelegate.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BE33B4EE1B15FF4D0067982B
/* BUYApplePayPaymentControllerDelegate
.m */
;
};
BEB74A901B55A3D00005A300
/* BUYCollection.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BEB74A8E1B55A3D00005A300
/* BUYCollection.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
BEB74A901B55A3D00005A300
/* BUYCollection.h in Headers */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BEB74A8E1B55A3D00005A300
/* BUYCollection.h */
;
settings
=
{
ATTRIBUTES
=
(
Public
,
);
};
};
BEB9AE781BA8627B00575F8A
/* test_shop_data.json in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BEB9AE721BA73E6C00575F8A
/* test_shop_data.json */
;
};
BEB9AE781BA8627B00575F8A
/* test_shop_data.json in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BEB9AE721BA73E6C00575F8A
/* test_shop_data.json */
;
};
BEB9AE7D1BA885E300575F8A
/* BUYClientTestBase.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BEB9AE7C1BA8685600575F8A
/* BUYClientTestBase.m */
;
};
BEB9AE7D1BA885E300575F8A
/* BUYClientTestBase.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
BEB9AE7C1BA8685600575F8A
/* BUYClientTestBase.m */
;
};
...
@@ -657,8 +657,8 @@
...
@@ -657,8 +657,8 @@
9A6B03781CDA5D4F0054C26E
/* BUYAccountCredentialsTests.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BUYAccountCredentialsTests.m
;
sourceTree
=
"<group>"
;
};
9A6B03781CDA5D4F0054C26E
/* BUYAccountCredentialsTests.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BUYAccountCredentialsTests.m
;
sourceTree
=
"<group>"
;
};
B2653EC11CEF55CC0012D57D
/* BUYModelManager+ApplePay.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"BUYModelManager+ApplePay.h"
;
sourceTree
=
"<group>"
;
};
B2653EC11CEF55CC0012D57D
/* BUYModelManager+ApplePay.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"BUYModelManager+ApplePay.h"
;
sourceTree
=
"<group>"
;
};
B2653EC21CEF55CC0012D57D
/* BUYModelManager+ApplePay.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
"BUYModelManager+ApplePay.m"
;
sourceTree
=
"<group>"
;
};
B2653EC21CEF55CC0012D57D
/* BUYModelManager+ApplePay.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
"BUYModelManager+ApplePay.m"
;
sourceTree
=
"<group>"
;
};
BE33B4ED1B15FF4D0067982B
/* BUYApplePay
Helpers.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BUYApplePayHelpers
.h
;
sourceTree
=
"<group>"
;
};
BE33B4ED1B15FF4D0067982B
/* BUYApplePay
PaymentControllerDelegate.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BUYApplePayPaymentControllerDelegate
.h
;
sourceTree
=
"<group>"
;
};
BE33B4EE1B15FF4D0067982B
/* BUYApplePay
Helpers.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BUYApplePayHelpers
.m
;
sourceTree
=
"<group>"
;
};
BE33B4EE1B15FF4D0067982B
/* BUYApplePay
PaymentControllerDelegate.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BUYApplePayPaymentControllerDelegate
.m
;
sourceTree
=
"<group>"
;
};
BE47340D1B66C4EF00AA721A
/* BUYError.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BUYError.h
;
sourceTree
=
"<group>"
;
};
BE47340D1B66C4EF00AA721A
/* BUYError.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BUYError.h
;
sourceTree
=
"<group>"
;
};
BE47340E1B66C4EF00AA721A
/* BUYError.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BUYError.m
;
sourceTree
=
"<group>"
;
};
BE47340E1B66C4EF00AA721A
/* BUYError.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BUYError.m
;
sourceTree
=
"<group>"
;
};
BE5DC3611B71022D00B2BC1E
/* BUYMaskedCreditCard.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BUYMaskedCreditCard.h
;
sourceTree
=
"<group>"
;
};
BE5DC3611B71022D00B2BC1E
/* BUYMaskedCreditCard.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BUYMaskedCreditCard.h
;
sourceTree
=
"<group>"
;
};
...
@@ -1092,8 +1092,8 @@
...
@@ -1092,8 +1092,8 @@
9A47CF211CE5112A00A6D5BA
/* BUYAssert.h */
,
9A47CF211CE5112A00A6D5BA
/* BUYAssert.h */
,
F70CE40D1A8BF1D90055BEB8
/* BUYApplePayAdditions.h */
,
F70CE40D1A8BF1D90055BEB8
/* BUYApplePayAdditions.h */
,
F70CE40E1A8BF1D90055BEB8
/* BUYApplePayAdditions.m */
,
F70CE40E1A8BF1D90055BEB8
/* BUYApplePayAdditions.m */
,
BE33B4ED1B15FF4D0067982B
/* BUYApplePay
Helpers
.h */
,
BE33B4ED1B15FF4D0067982B
/* BUYApplePay
PaymentControllerDelegate
.h */
,
BE33B4EE1B15FF4D0067982B
/* BUYApplePay
Helpers
.m */
,
BE33B4EE1B15FF4D0067982B
/* BUYApplePay
PaymentControllerDelegate
.m */
,
B2653EC11CEF55CC0012D57D
/* BUYModelManager+ApplePay.h */
,
B2653EC11CEF55CC0012D57D
/* BUYModelManager+ApplePay.h */
,
B2653EC21CEF55CC0012D57D
/* BUYModelManager+ApplePay.m */
,
B2653EC21CEF55CC0012D57D
/* BUYModelManager+ApplePay.m */
,
8498DCA71CDD1B1C00BD12A8
/* BUYError+BUYAdditions.h */
,
8498DCA71CDD1B1C00BD12A8
/* BUYError+BUYAdditions.h */
,
...
@@ -1181,7 +1181,7 @@
...
@@ -1181,7 +1181,7 @@
84DD12AB1CC63FE600A2442D
/* _BUYProduct.h in Headers */
,
84DD12AB1CC63FE600A2442D
/* _BUYProduct.h in Headers */
,
84DD12AD1CC63FE600A2442D
/* _BUYProductVariant.h in Headers */
,
84DD12AD1CC63FE600A2442D
/* _BUYProductVariant.h in Headers */
,
84980F2A1CB75AC200CFAB58
/* BUYObjectProtocol.h in Headers */
,
84980F2A1CB75AC200CFAB58
/* BUYObjectProtocol.h in Headers */
,
901931281BC5B9BC00D1134E
/* BUYApplePay
Helpers
.h in Headers */
,
901931281BC5B9BC00D1134E
/* BUYApplePay
PaymentControllerDelegate
.h in Headers */
,
9A47CF231CE5112A00A6D5BA
/* BUYAssert.h in Headers */
,
9A47CF231CE5112A00A6D5BA
/* BUYAssert.h in Headers */
,
9019312A1BC5B9BC00D1134E
/* BUYCreditCard.h in Headers */
,
9019312A1BC5B9BC00D1134E
/* BUYCreditCard.h in Headers */
,
9019312B1BC5B9BC00D1134E
/* BUYOption.h in Headers */
,
9019312B1BC5B9BC00D1134E
/* BUYOption.h in Headers */
,
...
@@ -1280,7 +1280,7 @@
...
@@ -1280,7 +1280,7 @@
84DD12BB1CC63FEE00A2442D
/* _BUYShippingRate.h in Headers */
,
84DD12BB1CC63FEE00A2442D
/* _BUYShippingRate.h in Headers */
,
84DD128B1CC63FE600A2442D
/* _BUYLineItem.h in Headers */
,
84DD128B1CC63FE600A2442D
/* _BUYLineItem.h in Headers */
,
84980F291CB75AC200CFAB58
/* BUYObjectProtocol.h in Headers */
,
84980F291CB75AC200CFAB58
/* BUYObjectProtocol.h in Headers */
,
BE9A64741B503D2E0033E558
/* BUYApplePay
Helpers
.h in Headers */
,
BE9A64741B503D2E0033E558
/* BUYApplePay
PaymentControllerDelegate
.h in Headers */
,
9A47CF221CE5112A00A6D5BA
/* BUYAssert.h in Headers */
,
9A47CF221CE5112A00A6D5BA
/* BUYAssert.h in Headers */
,
BE9A64551B503CC50033E558
/* BUYCreditCard.h in Headers */
,
BE9A64551B503CC50033E558
/* BUYCreditCard.h in Headers */
,
BE9A645F1B503CE90033E558
/* BUYOption.h in Headers */
,
BE9A645F1B503CE90033E558
/* BUYOption.h in Headers */
,
...
@@ -1547,7 +1547,7 @@
...
@@ -1547,7 +1547,7 @@
buildActionMask
=
2147483647
;
buildActionMask
=
2147483647
;
files
=
(
files
=
(
B2653EC71CEF55CC0012D57D
/* BUYModelManager+ApplePay.m in Sources */
,
B2653EC71CEF55CC0012D57D
/* BUYModelManager+ApplePay.m in Sources */
,
901930E31BC5B9BC00D1134E
/* BUYApplePay
Helpers
.m in Sources */
,
901930E31BC5B9BC00D1134E
/* BUYApplePay
PaymentControllerDelegate
.m in Sources */
,
84DD12AA1CC63FE600A2442D
/* _BUYOrder.m in Sources */
,
84DD12AA1CC63FE600A2442D
/* _BUYOrder.m in Sources */
,
841ADE1E1CB6C942000004B0
/* NSString+BUYAdditions.m in Sources */
,
841ADE1E1CB6C942000004B0
/* NSString+BUYAdditions.m in Sources */
,
84980F5B1CB7617500CFAB58
/* BUYURLTransformer.m in Sources */
,
84980F5B1CB7617500CFAB58
/* BUYURLTransformer.m in Sources */
,
...
@@ -1683,7 +1683,7 @@
...
@@ -1683,7 +1683,7 @@
buildActionMask
=
2147483647
;
buildActionMask
=
2147483647
;
files
=
(
files
=
(
B2653EC61CEF55CC0012D57D
/* BUYModelManager+ApplePay.m in Sources */
,
B2653EC61CEF55CC0012D57D
/* BUYModelManager+ApplePay.m in Sources */
,
BE9A64751B503D370033E558
/* BUYApplePay
Helpers
.m in Sources */
,
BE9A64751B503D370033E558
/* BUYApplePay
PaymentControllerDelegate
.m in Sources */
,
84DD12921CC63FE600A2442D
/* _BUYOrder.m in Sources */
,
84DD12921CC63FE600A2442D
/* _BUYOrder.m in Sources */
,
841ADE1D1CB6C942000004B0
/* NSString+BUYAdditions.m in Sources */
,
841ADE1D1CB6C942000004B0
/* NSString+BUYAdditions.m in Sources */
,
84980F5A1CB7617500CFAB58
/* BUYURLTransformer.m in Sources */
,
84980F5A1CB7617500CFAB58
/* BUYURLTransformer.m in Sources */
,
...
...
Mobile Buy SDK/Mobile Buy SDK/Buy.h
View file @
e478b67c
...
@@ -56,7 +56,7 @@ FOUNDATION_EXPORT const unsigned char BuyVersionString[];
...
@@ -56,7 +56,7 @@ FOUNDATION_EXPORT const unsigned char BuyVersionString[];
#import <Buy/BUYTaxLine.h>
#import <Buy/BUYTaxLine.h>
#import <Buy/BUYApplePayAdditions.h>
#import <Buy/BUYApplePayAdditions.h>
#import <Buy/BUYApplePay
Helpers
.h>
#import <Buy/BUYApplePay
PaymentControllerDelegate
.h>
#import <Buy/BUYApplePayPaymentProvider.h>
#import <Buy/BUYApplePayPaymentProvider.h>
#import <Buy/BUYPaymentController.h>
#import <Buy/BUYPaymentController.h>
#import <Buy/BUYPaymentProvider.h>
#import <Buy/BUYPaymentProvider.h>
...
...
Mobile Buy SDK/Mobile Buy SDK/Payment Providers/BUYApplePayPaymentProvider.m
View file @
e478b67c
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#import "BUYApplePayPaymentProvider.h"
#import "BUYApplePayPaymentProvider.h"
#import "BUYCheckout.h"
#import "BUYCheckout.h"
#import "BUYApplePay
Helpers
.h"
#import "BUYApplePay
PaymentControllerDelegate
.h"
#import "BUYApplePayAdditions.h"
#import "BUYApplePayAdditions.h"
#import "BUYShop.h"
#import "BUYShop.h"
#import "BUYClient+CheckoutHelpers.h"
#import "BUYClient+CheckoutHelpers.h"
...
@@ -38,7 +38,7 @@ NSString *const BUYApplePayPaymentProviderId = @"BUYApplePayPaymentProviderId";
...
@@ -38,7 +38,7 @@ NSString *const BUYApplePayPaymentProviderId = @"BUYApplePayPaymentProviderId";
@interface
BUYApplePayPaymentProvider
()
<
PKPaymentAuthorizationViewControllerDelegate
>
@interface
BUYApplePayPaymentProvider
()
<
PKPaymentAuthorizationViewControllerDelegate
>
@property
(
nonatomic
,
strong
)
BUYShop
*
shop
;
@property
(
nonatomic
,
strong
)
BUYShop
*
shop
;
@property
(
nonatomic
,
strong
)
BUYApplePay
Helpers
*
applePayHelper
;
@property
(
nonatomic
,
strong
)
BUYApplePay
PaymentControllerDelegate
*
applePayHelper
;
@property
(
nonatomic
,
strong
)
BUYCheckout
*
checkout
;
@property
(
nonatomic
,
strong
)
BUYCheckout
*
checkout
;
@property
(
nonatomic
,
assign
)
PKPaymentAuthorizationStatus
paymentAuthorizationStatus
;
@property
(
nonatomic
,
assign
)
PKPaymentAuthorizationStatus
paymentAuthorizationStatus
;
@property
(
nonatomic
,
strong
)
BUYClient
*
client
;
@property
(
nonatomic
,
strong
)
BUYClient
*
client
;
...
@@ -171,7 +171,7 @@ NSString *const BUYApplePayPaymentProviderId = @"BUYApplePayPaymentProviderId";
...
@@ -171,7 +171,7 @@ NSString *const BUYApplePayPaymentProviderId = @"BUYApplePayPaymentProviderId";
-
(
void
)
proceedWithApplePay
-
(
void
)
proceedWithApplePay
{
{
self
.
applePayHelper
=
[[
BUYApplePay
Helpers
alloc
]
initWithClient
:
self
.
client
checkout
:
self
.
checkout
shop
:
self
.
shop
];
self
.
applePayHelper
=
[[
BUYApplePay
PaymentControllerDelegate
alloc
]
initWithClient
:
self
.
client
checkout
:
self
.
checkout
shop
:
self
.
shop
];
PKPaymentRequest
*
request
=
[
self
paymentRequest
];
PKPaymentRequest
*
request
=
[
self
paymentRequest
];
request
.
paymentSummaryItems
=
[
self
.
checkout
buy_summaryItemsWithShopName
:
self
.
shop
.
name
];
request
.
paymentSummaryItems
=
[
self
.
checkout
buy_summaryItemsWithShopName
:
self
.
shop
.
name
];
...
...
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePay
Helpers
.h
→
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePay
PaymentControllerDelegate
.h
View file @
e478b67c
//
//
// BUYApplePay
Helpers
.h
// BUYApplePay
PaymentControllerDelegate
.h
// Mobile Buy SDK
// Mobile Buy SDK
//
//
// Created by Shopify.
// Created by Shopify.
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
//
//
@import
Foundation
;
@import
Foundation
;
@import
PassKit
;
@class
BUYClient
;
@class
BUYClient
;
@class
BUYCheckout
;
@class
BUYCheckout
;
...
@@ -32,7 +33,7 @@
...
@@ -32,7 +33,7 @@
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
@interface
BUYApplePay
Helpers
:
NSObject
<
PKPaymentAuthorizationViewControllerDelegate
>
@interface
BUYApplePay
PaymentControllerDelegate
:
NSObject
<
PKPaymentAuthorizationViewControllerDelegate
>
/**
/**
* Initializes a helper to support Apple Pay
* Initializes a helper to support Apple Pay
...
...
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePay
Helpers
.m
→
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePay
PaymentControllerDelegate
.m
View file @
e478b67c
//
//
// BUYApplePay
Helpers
.m
// BUYApplePay
PaymentControllerDelegate
.m
// Mobile Buy SDK
// Mobile Buy SDK
//
//
// Created by Shopify.
// Created by Shopify.
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
// THE SOFTWARE.
// THE SOFTWARE.
//
//
#import "BUYApplePay
Helpers
.h"
#import "BUYApplePay
PaymentControllerDelegate
.h"
#import "BUYApplePayAdditions.h"
#import "BUYApplePayAdditions.h"
#import "BUYApplePayToken.h"
#import "BUYApplePayToken.h"
#import "BUYClient+Checkout.h"
#import "BUYClient+Checkout.h"
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
const
NSTimeInterval
PollDelay
=
0
.
5
;
const
NSTimeInterval
PollDelay
=
0
.
5
;
@interface
BUYApplePay
Helpers
()
@interface
BUYApplePay
PaymentControllerDelegate
()
@property
(
nonatomic
,
strong
)
BUYCheckout
*
checkout
;
@property
(
nonatomic
,
strong
)
BUYCheckout
*
checkout
;
@property
(
nonatomic
,
strong
)
BUYClient
*
client
;
@property
(
nonatomic
,
strong
)
BUYClient
*
client
;
...
@@ -48,7 +48,7 @@ const NSTimeInterval PollDelay = 0.5;
...
@@ -48,7 +48,7 @@ const NSTimeInterval PollDelay = 0.5;
@end
@end
@implementation
BUYApplePay
Helpers
@implementation
BUYApplePay
PaymentControllerDelegate
-
(
instancetype
)
initWithClient
:(
BUYClient
*
)
client
checkout
:(
BUYCheckout
*
)
checkout
shop
:(
BUYShop
*
)
shop
-
(
instancetype
)
initWithClient
:(
BUYClient
*
)
client
checkout
:(
BUYCheckout
*
)
checkout
shop
:(
BUYShop
*
)
shop
{
{
...
...
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