-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
runner
authored and
runner
committed
Jun 16, 2023
1 parent
2619e7c
commit acadc8f
Showing
190 changed files
with
43,472 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github "stripe/stripe-ios" == 23.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
**Olo Pay Software Development Kit License Agreement** | ||
|
||
Copyright © 2022 Olo Inc. All rights reserved. | ||
|
||
Subject to the terms and conditions of the license, you are hereby granted a non-exclusive, worldwide, royalty-free license to (a) copy and modify the software in source code or binary form for your use in connection with the software services and interfaces provided by Olo, and (b) redistribute unmodified copies of the software to third parties. The above copyright notice and this license shall be included in or with all copies or substantial portions of the software. | ||
|
||
Your use of this software is subject to the Olo APIs Terms of Use, available at https://www.olo.com/api-usage-terms. This license does not grant you permission to use the trade names, trademarks, service marks, or product names of Olo, except as required for reasonable and customary use in describing the origin of the software and reproducing the content of this license. | ||
|
||
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Pod::Spec.new do |spec| | ||
spec.name = "OloPaySDK" | ||
spec.version = "2.1.6" | ||
spec.summary = "A CocoaPods library for the Olo Pay SDK written in Swift" | ||
spec.description = <<-DESC | ||
Olo Pay is an E-commerce payment solution designed to help restaurants grow, protect, and support their digital ordering and delivery business. Olo Pay is specifically designed for digital restaurant ordering to address the challenges and concerns that weʼve heard from thousands of merchants. | ||
DESC | ||
|
||
spec.homepage = "https://github.com/ololabs/olo-pay-ios-sdk-releases" | ||
spec.license = { :type => "Olo Pay SDK License", :file => "LICENSE.md" } | ||
spec.author = "Olo, Inc." | ||
|
||
spec.platform = :ios | ||
spec.ios.deployment_target = "13.0" | ||
spec.swift_version = "5.0" | ||
|
||
spec.source = { :git => "https://github.com/ololabs/olo-pay-ios-sdk-releases.git", :tag => "v#{spec.version}" } | ||
spec.source_files = "**/src/OloPaySDK/OloPaySDK/**/*.{h,m,swift}" | ||
spec.public_header_files = "**/src/OloPaySDK/OloPaySDK/**/*.h" | ||
spec.dependency "Stripe", "23.9.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Olo Pay iOS SDK | ||
|
||
## About Olo Pay | ||
[Olo Pay](https://www.olo.com/solutions/pay/) is an E-commerce payment solution designed to help restaurants grow, protect, and support their digital ordering and delivery business. Olo Pay is specifically designed for digital restaurant ordering to address the challenges and concerns that weʼve heard from thousands of merchants. | ||
|
||
## About the SDK | ||
The Olo Pay iOS SDK allows partners to easily add PCI-compliant credit card and Google Pay functionality to their checkout flow and seamlessly integrate with the Olo Ordering API. | ||
|
||
This repo contains source code and documentation for the Olo Pay iOS SDK. Use of the SDK is subject to the terms of the [Olo Pay SDK License](https://github.com/ololabs/olo-pay-ios-sdk-releases/blob/main/LICENSE.md). | ||
|
||
For more information about integrating Olo Pay into your payment solutions, refer to our [Olo Pay Dev Portal Documentation](https://developer.olo.com/docs/load/olopay) _(Note: requires an Olo Developer account)_. | ||
|
||
## Integrate the SDK | ||
|
||
The Olo Pay SDK supports Carthage and CocoaPods dependency management systems. | ||
|
||
Documentation for the Olo Pay SDK, including setup instructions and full class documentation, can be downloaded for each [SDK release](https://github.com/ololabs/olo-pay-ios-sdk-releases/releases). After downloading, open `documentation/index.html` and follow the steps outlined in the [Setup] section. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
carthage update --use-xcframeworks --no-use-binaries --platform iOS |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1,887 changes: 1,887 additions & 0 deletions
1,887
documentation/Classes/OPPaymentCardDetailsView.html
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,308 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>OPSdkWrapperInfo Class Reference</title> | ||
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> | ||
<link rel="stylesheet" type="text/css" href="../css/highlight.css" /> | ||
<meta charset='utf-8'> | ||
<script src="../js/jquery.min.js" defer></script> | ||
<script src="../js/jazzy.js" defer></script> | ||
|
||
</head> | ||
<body> | ||
<a name="//apple_ref/swift/Class/OPSdkWrapperInfo" class="dashAnchor"></a> | ||
<a title="OPSdkWrapperInfo Class Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../index.html">Olo Pay SDK</a></p> | ||
</div> | ||
</header> | ||
<div class="content-wrapper"> | ||
<p id="breadcrumbs"> | ||
<a href="../index.html">OloPaySDK Reference</a> | ||
<img id="carat" src="../img/carat.png" alt=""/> | ||
OPSdkWrapperInfo Class Reference | ||
</p> | ||
</div> | ||
<div class="content-wrapper"> | ||
<nav class="sidebar"> | ||
<ul class="nav-groups"> | ||
<li class="nav-group-name"> | ||
<a href="../Guides.html">Guides</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../changelog.html">Changelog</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../setup---carthage.html">Setup - Carthage</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../setup---cocoapods.html">Setup - CocoaPods</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../setup---manual.html">Setup - Manual</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Classes.html">Classes</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPApplePayContext.html">OPApplePayContext</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPError.html">OPError</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes.html#/c:@M@OloPaySDK@objc(cs)OPMetadataGenerator">OPMetadataGenerator</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPPaymentCardDetailsForm.html">OPPaymentCardDetailsForm</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPPaymentCardDetailsView.html">OPPaymentCardDetailsView</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPPaymentMethod.html">OPPaymentMethod</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes.html#/c:@M@OloPaySDK@objc(cs)OPPaymentMethodParams">OPPaymentMethodParams</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPSdkWrapperInfo.html">OPSdkWrapperInfo</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPSetupParameters.html">OPSetupParameters</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OPStrings.html">OPStrings</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OloPayAPI.html">OloPayAPI</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/OloPayApiInitializer.html">OloPayApiInitializer</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Enums.html">Enumerations</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPApplePayContextError.html">OPApplePayContextError</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPCardBrand.html">OPCardBrand</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPCardErrorType.html">OPCardErrorType</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPCardField.html">OPCardField</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPCardFormStyle.html">OPCardFormStyle</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPEnvironment.html">OPEnvironment</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPErrorType.html">OPErrorType</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPPaymentMethodSource.html">OPPaymentMethodSource</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPPaymentStatus.html">OPPaymentStatus</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPSdkWrapperBuildType.html">OPSdkWrapperBuildType</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/OPSdkWrapperPlatform.html">OPSdkWrapperPlatform</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Protocols.html">Protocols</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OPApplePayContextDelegate.html">OPApplePayContextDelegate</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OPApplePayContextProtocol.html">OPApplePayContextProtocol</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OPPaymentCardDetailsFormDelegate.html">OPPaymentCardDetailsFormDelegate</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OPPaymentCardDetailsViewDelegate.html">OPPaymentCardDetailsViewDelegate</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols.html#/c:@M@OloPaySDK@objc(pl)OPPaymentMethodParamsProtocol">OPPaymentMethodParamsProtocol</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OPPaymentMethodProtocol.html">OPPaymentMethodProtocol</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OloPayAPIProtocol.html">OloPayAPIProtocol</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Protocols/OloPayApiInitializerProtocol.html">OloPayApiInitializerProtocol</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Typealiases.html">Type Aliases</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Typealiases.html#/s:9OloPaySDK07OPAppleB15CompletionBlocka">OPApplePayCompletionBlock</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Typealiases.html#/s:9OloPaySDK21OPCardBrandImageBlocka">OPCardBrandImageBlock</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Typealiases.html#/s:9OloPaySDK23OPCardErrorMessageBlocka">OPCardErrorMessageBlock</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Typealiases.html#/s:9OloPaySDK30OPPaymentMethodCompletionBlocka">OPPaymentMethodCompletionBlock</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Typealiases.html#/s:9OloPaySDK11OPVoidBlocka">OPVoidBlock</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</nav> | ||
<article class="main-content"> | ||
<section> | ||
<section class="section"> | ||
<h1>OPSdkWrapperInfo</h1> | ||
<div class="declaration"> | ||
<div class="language"> | ||
|
||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">OPSdkWrapperInfo</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
|
||
</section> | ||
<section class="section task-group-section"> | ||
<div class="task-group"> | ||
<ul> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:9OloPaySDK16OPSdkWrapperInfoC16withMajorVersion0g5MinorI00g5BuildI00g3SdkK4Type0gL8PlatformACSi_S2iAA0dekM0OAA0deN0Otcfc"></a> | ||
<a name="//apple_ref/swift/Method/init(withMajorVersion:withMinorVersion:withBuildVersion:withSdkBuildType:withSdkPlatform:)" class="dashAnchor"></a> | ||
<a class="token" href="#/s:9OloPaySDK16OPSdkWrapperInfoC16withMajorVersion0g5MinorI00g5BuildI00g3SdkK4Type0gL8PlatformACSi_S2iAA0dekM0OAA0deN0Otcfc">init(withMajorVersion:<wbr>withMinorVersion:<wbr>withBuildVersion:<wbr>withSdkBuildType:<wbr>withSdkPlatform:<wbr>)</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="n">withMajorVersion</span> <span class="nv">majorVersion</span><span class="p">:</span> <span class="kt">Int</span><span class="p">,</span> <span class="n">withMinorVersion</span> <span class="nv">minorVersion</span><span class="p">:</span> <span class="kt">Int</span><span class="p">,</span> <span class="n">withBuildVersion</span> <span class="nv">buildVersion</span><span class="p">:</span> <span class="kt">Int</span><span class="p">,</span> <span class="n">withSdkBuildType</span> <span class="nv">sdkBuildType</span><span class="p">:</span> <span class="kt"><a href="../Enums/OPSdkWrapperBuildType.html">OPSdkWrapperBuildType</a></span><span class="p">,</span> <span class="n">withSdkPlatform</span> <span class="nv">sdkPlatform</span><span class="p">:</span> <span class="kt"><a href="../Enums/OPSdkWrapperPlatform.html">OPSdkWrapperPlatform</a></span><span class="p">)</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:9OloPaySDK16OPSdkWrapperInfoC7versionSSvp"></a> | ||
<a name="//apple_ref/swift/Property/version" class="dashAnchor"></a> | ||
<a class="token" href="#/s:9OloPaySDK16OPSdkWrapperInfoC7versionSSvp">version</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">version</span><span class="p">:</span> <span class="kt">String</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:9OloPaySDK16OPSdkWrapperInfoC9buildTypeSSvp"></a> | ||
<a name="//apple_ref/swift/Property/buildType" class="dashAnchor"></a> | ||
<a class="token" href="#/s:9OloPaySDK16OPSdkWrapperInfoC9buildTypeSSvp">buildType</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">buildType</span><span class="p">:</span> <span class="kt">String</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:9OloPaySDK16OPSdkWrapperInfoC8platformSSvp"></a> | ||
<a name="//apple_ref/swift/Property/platform" class="dashAnchor"></a> | ||
<a class="token" href="#/s:9OloPaySDK16OPSdkWrapperInfoC8platformSSvp">platform</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">platform</span><span class="p">:</span> <span class="kt">String</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2023 <a class="link" href="https://github.com/ololabs/olo-pay-ios-sdk-releases" target="_blank" rel="external noopener">Olo, Inc.</a>. All rights reserved. (Last updated: 2023-06-16)</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.