From 18f1514d73317a529d6bce11bd3ce9d3a59273bf Mon Sep 17 00:00:00 2001
From: Gabriel O'Flaherty-Chan <gabriel@shopify.com>
Date: Tue, 24 May 2016 10:01:34 -0400
Subject: [PATCH] Add assertion and update copyright header

---
 Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m |  1 +
 Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.h         | 22 ++++++++++++++++++++--
 Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.m         | 22 ++++++++++++++++++++--
 3 files changed, 41 insertions(+), 4 deletions(-)

diff --git a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
index 6d90858..dcc13ce 100644
--- a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
+++ b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
@@ -50,6 +50,7 @@ const NSTimeInterval PollDelay = 0.5;
 {
 	NSParameterAssert(client);
 	NSParameterAssert(checkout);
+	NSParameterAssert(shopName);
 	
 	self = [super init];
 	
diff --git a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.h b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.h
index 759805a..594f984 100644
--- a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.h
+++ b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.h
@@ -2,8 +2,26 @@
 //  BUYModelManager+ApplePay.h
 //  Mobile Buy SDK
 //
-//  Created by Gabriel O'Flaherty-Chan on 2016-05-20.
-//  Copyright © 2016 Shopify Inc. All rights reserved.
+//  Created by Shopify.
+//  Copyright (c) 2015 Shopify Inc. All rights reserved.
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a copy
+//  of this software and associated documentation files (the "Software"), to deal
+//  in the Software without restriction, including without limitation the rights
+//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+//  copies of the Software, and to permit persons to whom the Software is
+//  furnished to do so, subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in
+//  all copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+//  THE SOFTWARE.
 //
 
 #import <Buy/BUYModelManager.h>
diff --git a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.m b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.m
index 461a9b3..1791878 100644
--- a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.m
+++ b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYModelManager+ApplePay.m
@@ -2,8 +2,26 @@
 //  BUYModelManager+ApplePay.m
 //  Mobile Buy SDK
 //
-//  Created by Gabriel O'Flaherty-Chan on 2016-05-20.
-//  Copyright © 2016 Shopify Inc. All rights reserved.
+//  Created by Shopify.
+//  Copyright (c) 2015 Shopify Inc. All rights reserved.
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a copy
+//  of this software and associated documentation files (the "Software"), to deal
+//  in the Software without restriction, including without limitation the rights
+//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+//  copies of the Software, and to permit persons to whom the Software is
+//  furnished to do so, subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in
+//  all copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+//  THE SOFTWARE.
 //
 
 #import "BUYAddress.h"
--
libgit2 0.26.0