Skip to content

Commit

Permalink
Merge pull request #83 from payjp/release/2.1.0
Browse files Browse the repository at this point in the history
Version 2.1.0
  • Loading branch information
yatatsu authored Oct 4, 2024
2 parents f484851 + e1a40b6 commit 540ee92
Show file tree
Hide file tree
Showing 98 changed files with 338 additions and 171 deletions.
2 changes: 1 addition & 1 deletion Sources/Core/PAYJPSDK.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final class PAYJPSDK: NSObject, PAYJPSDKType {
public static var clientInfo: ClientInfo = .default

// Update by Fastlane :bump_up_version
public static let sdkVersion: String = "2.0.0"
public static let sdkVersion: String = "2.1.0"

static var authToken: String = ""
}
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<string>2.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<string>2.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="search.json">
Expand Down
30 changes: 23 additions & 7 deletions docs/Classes/APIClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="APIClient Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="../index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down Expand Up @@ -327,9 +327,9 @@ <h4>Parameters</h4>
<li class="item">
<div>
<code>
<a name="/s:5PAYJP9APIClientC11createToken4with3cvc15expirationMonth0G4Year4name8tenantId5email5phone10completionySS_S4SSgA3Nys6ResultOyAA0D0CAA8APIErrorOGctF"></a>
<a name="//apple_ref/swift/Method/createToken(with:cvc:expirationMonth:expirationYear:name:tenantId:email:phone:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP9APIClientC11createToken4with3cvc15expirationMonth0G4Year4name8tenantId5email5phone10completionySS_S4SSgA3Nys6ResultOyAA0D0CAA8APIErrorOGctF">createToken(with:<wbr>cvc:<wbr>expirationMonth:<wbr>expirationYear:<wbr>name:<wbr>tenantId:<wbr>email:<wbr>phone:<wbr>completion:<wbr>)</a>
<a name="/s:5PAYJP9APIClientC11createToken4with3cvc15expirationMonth0G4Year4name8tenantId5email5phone15useThreeDSecure10completionySS_S4SSgA3OSbys6ResultOyAA0D0CAA8APIErrorOGctF"></a>
<a name="//apple_ref/swift/Method/createToken(with:cvc:expirationMonth:expirationYear:name:tenantId:email:phone:useThreeDSecure:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP9APIClientC11createToken4with3cvc15expirationMonth0G4Year4name8tenantId5email5phone15useThreeDSecure10completionySS_S4SSgA3OSbys6ResultOyAA0D0CAA8APIErrorOGctF">createToken(with:<wbr>cvc:<wbr>expirationMonth:<wbr>expirationYear:<wbr>name:<wbr>tenantId:<wbr>email:<wbr>phone:<wbr>useThreeDSecure:<wbr>completion:<wbr>)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -354,6 +354,7 @@ <h4>Declaration</h4>
<span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
<span class="nv">email</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
<span class="nv">phone</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
<span class="nv">useThreeDSecure</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
<span class="nv">completion</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Result</span><span class="o">&lt;</span><span class="kt"><a href="../Classes/Token.html">Token</a></span><span class="p">,</span> <span class="kt"><a href="../Enums/APIError.html">APIError</a></span><span class="o">&gt;</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span>
<span class="p">)</span></code></pre>

Expand Down Expand Up @@ -447,6 +448,18 @@ <h4>Parameters</h4>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>useThreeDSecure</em>
</code>
</td>
<td>
<div>
<p>Whether use 3-D secure or not</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
Expand Down Expand Up @@ -685,9 +698,9 @@ <h4>Declaration</h4>
<li class="item">
<div>
<code>
<a name="/c:@CM@PAYJP@objc(cs)PAYAPIClient(im)createTokenWith:cvc:expirationMonth:expirationYear:name:tenantId:completionHandler:"></a>
<a name="//apple_ref/swift/Method/createTokenWith(_:cvc:expirationMonth:expirationYear:name:tenantId:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/c:@CM@PAYJP@objc(cs)PAYAPIClient(im)createTokenWith:cvc:expirationMonth:expirationYear:name:tenantId:completionHandler:">createTokenWith(_:<wbr>cvc:<wbr>expirationMonth:<wbr>expirationYear:<wbr>name:<wbr>tenantId:<wbr>completionHandler:<wbr>)</a>
<a name="/c:@CM@PAYJP@objc(cs)PAYAPIClient(im)createTokenWith:cvc:expirationMonth:expirationYear:name:tenantId:email:phone:useThreeDSecure:completionHandler:"></a>
<a name="//apple_ref/swift/Method/createTokenWith(_:cvc:expirationMonth:expirationYear:name:tenantId:email:phone:useThreeDSecure:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/c:@CM@PAYJP@objc(cs)PAYAPIClient(im)createTokenWith:cvc:expirationMonth:expirationYear:name:tenantId:email:phone:useThreeDSecure:completionHandler:">createTokenWith(_:<wbr>cvc:<wbr>expirationMonth:<wbr>expirationYear:<wbr>name:<wbr>tenantId:<wbr>email:<wbr>phone:<wbr>useThreeDSecure:<wbr>completionHandler:<wbr>)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -710,6 +723,9 @@ <h4>Declaration</h4>
<span class="nv">expirationYear</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span>
<span class="nv">name</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span>
<span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span>
<span class="nv">email</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span>
<span class="nv">phone</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span>
<span class="nv">useThreeDSecure</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">,</span>
<span class="nv">completionHandler</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt"><a href="../Classes/Token.html">Token</a></span><span class="p">?,</span> <span class="kt">NSError</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Void</span>
<span class="p">)</span></code></pre>

Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/Card.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="Card Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="../index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/CardFormDisplayStyledView.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="CardFormDisplayStyledView Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="../index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/CardFormLabelStyledView.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="CardFormLabelStyledView Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="../index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/CardFormTableStyledView.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="CardFormTableStyledView Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="../index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down
45 changes: 36 additions & 9 deletions docs/Classes/CardFormView.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="CardFormView Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 2.0.0 Docs</a></p>
<p><a href="../index.html">PAYJP 2.1.0 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down Expand Up @@ -332,9 +332,9 @@ <h4>Declaration</h4>
<li class="item">
<div>
<code>
<a name="/s:5PAYJP14CardFormActionP11createToken8tenantId10completionySSSg_ys6ResultOyAA0F0Cs5Error_pGctF"></a>
<a name="//apple_ref/swift/Method/createToken(tenantId:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP14CardFormActionP11createToken8tenantId10completionySSSg_ys6ResultOyAA0F0Cs5Error_pGctF">createToken(tenantId:<wbr>completion:<wbr>)</a>
<a name="/s:5PAYJP14CardFormActionP11createToken8tenantId15useThreeDSecure10completionySSSg_Sbys6ResultOyAA0F0Cs5Error_pGctF"></a>
<a name="//apple_ref/swift/Method/createToken(tenantId:useThreeDSecure:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP14CardFormActionP11createToken8tenantId15useThreeDSecure10completionySSSg_Sbys6ResultOyAA0F0Cs5Error_pGctF">createToken(tenantId:<wbr>useThreeDSecure:<wbr>completion:<wbr>)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -349,7 +349,7 @@ <h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@nonobjc</span>
<span class="kd">public</span> <span class="kd">func</span> <span class="nf">createToken</span><span class="p">(</span><span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="nv">completion</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Result</span><span class="o">&lt;</span><span class="kt"><a href="../Classes/Token.html">Token</a></span><span class="p">,</span> <span class="kt">Error</span><span class="o">&gt;</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)</span></code></pre>
<span class="kd">public</span> <span class="kd">func</span> <span class="nf">createToken</span><span class="p">(</span><span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="nv">useThreeDSecure</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">completion</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Result</span><span class="o">&lt;</span><span class="kt"><a href="../Classes/Token.html">Token</a></span><span class="p">,</span> <span class="kt">Error</span><span class="o">&gt;</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)</span></code></pre>

</div>
</div>
Expand All @@ -359,17 +359,18 @@ <h4>Declaration</h4>
<li class="item">
<div>
<code>
<a name="/s:5PAYJP14CardFormActionP15createTokenWith_10completionySSSg_yAA0F0CSg_So7NSErrorCSgtctF"></a>
<a name="/c:@CM@PAYJP@objc(cs)CardFormView(im)createTokenWith:completion:"></a>
<a name="//apple_ref/swift/Method/createTokenWith(_:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP14CardFormActionP15createTokenWith_10completionySSSg_yAA0F0CSg_So7NSErrorCSgtctF">createTokenWith(_:<wbr>completion:<wbr>)</a>
<a class="token" href="#/c:@CM@PAYJP@objc(cs)CardFormView(im)createTokenWith:completion:">createTokenWith(_:<wbr>completion:<wbr>)</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">

<p>Undocumented</p>

</div>
<div class="declaration">
<h4>Declaration</h4>
Expand All @@ -382,6 +383,32 @@ <h4>Declaration</h4>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:5PAYJP14CardFormActionP15createTokenWith_15useThreeDSecure10completionySSSg_SbyAA0F0CSg_So7NSErrorCSgtctF"></a>
<a name="//apple_ref/swift/Method/createTokenWith(_:useThreeDSecure:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP14CardFormActionP15createTokenWith_15useThreeDSecure10completionySSSg_SbyAA0F0CSg_So7NSErrorCSgtctF">createTokenWith(_:<wbr>useThreeDSecure:<wbr>completion:<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="kd">func</span> <span class="nf">createTokenWith</span><span class="p">(</span><span class="n">_</span> <span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span> <span class="nv">useThreeDSecure</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">,</span> <span class="nv">completion</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt"><a href="../Classes/Token.html">Token</a></span><span class="p">?,</span> <span class="kt">NSError</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)</span></code></pre>

</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
Expand All @@ -402,7 +429,7 @@ <h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@nonobjc</span>
<span class="kd">public</span> <span class="kd">func</span> <span class="nf">fetchBrands</span><span class="p">(</span><span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span> <span class="nv">completion</span><span class="p">:</span> <span class="kt"><a href="../Typealiases.html#/s:5PAYJP16CardBrandsResulta">CardBrandsResult</a></span><span class="p">?)</span></code></pre>
<span class="kd">public</span> <span class="kd">func</span> <span class="nf">fetchBrands</span><span class="p">(</span><span class="nv">tenantId</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="nv">completion</span><span class="p">:</span> <span class="kt"><a href="../Typealiases.html#/s:5PAYJP16CardBrandsResulta">CardBrandsResult</a></span><span class="p">?)</span></code></pre>

</div>
</div>
Expand Down
Loading

0 comments on commit 540ee92

Please sign in to comment.