Skip to content

Commit

Permalink
Merge pull request #79 from payjp/feature/update-version-2.0.0
Browse files Browse the repository at this point in the history
version 2.0.0
  • Loading branch information
yatatsu authored Aug 30, 2024
2 parents 05cf24a + 9d0768c commit 1b92d95
Show file tree
Hide file tree
Showing 113 changed files with 4,084 additions and 1,670 deletions.
4 changes: 2 additions & 2 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

min_acl: public
clean: true
author: PAYJP
author_url: https://pay.jp
github_url: https://github.com/payjp/payjp-ios
module: PAYJP
swift_build_tool: spm
hide_documentation_coverage: true
copyright: "© 2020 [PAY.JP](https://pay.jp) All rights reserved."
copyright: "© 2024 [PAY.JP](https://pay.jp) All rights reserved."
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 = "1.6.2"
public static let sdkVersion: String = "2.0.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>1.6.2</string>
<string>2.0.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>1.6.2</string>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
84 changes: 75 additions & 9 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">PAYJP 1.6.1 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="img/gh.png"/>View on GitHub</a></p>
<p class="header-right">
<p><a href="index.html">PAYJP 2.0.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">
<input type="text" placeholder="Search documentation" data-typeahead>
</form>
</p>
</div>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="index.html">PAYJP Reference</a>
<img id="carat" src="img/carat.png" />
<a href="index.html">PAYJP</a>
<img id="carat" src="img/carat.png" alt=""/>
Classes Reference
</p>
</div>
Expand Down Expand Up @@ -63,6 +63,12 @@
<li class="nav-group-task">
<a href="Classes/ClientInfo.html">ClientInfo</a>
</li>
<li class="nav-group-task">
<a href="Classes/ExtraAttributeEmail.html">ExtraAttributeEmail</a>
</li>
<li class="nav-group-task">
<a href="Classes/ExtraAttributePhone.html">ExtraAttributePhone</a>
</li>
<li class="nav-group-task">
<a href="Classes/FormStyle.html">FormStyle</a>
</li>
Expand Down Expand Up @@ -144,6 +150,9 @@
<li class="nav-group-task">
<a href="Protocols/CardFormViewDelegate.html">CardFormViewDelegate</a>
</li>
<li class="nav-group-task">
<a href="Protocols.html#/c:@M@PAYJP@objc(pl)PAYExtraAttribute">ExtraAttribute</a>
</li>
<li class="nav-group-task">
<a href="Protocols/PAYErrorResponseType.html">PAYErrorResponseType</a>
</li>
Expand Down Expand Up @@ -656,6 +665,64 @@ <h4>Declaration</h4>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/c:@M@PAYJP@objc(cs)PAYExtraAttributeEmail"></a>
<a name="//apple_ref/swift/Class/ExtraAttributeEmail" class="dashAnchor"></a>
<a class="token" href="#/c:@M@PAYJP@objc(cs)PAYExtraAttributeEmail">ExtraAttributeEmail</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>

<a href="Classes/ExtraAttributeEmail.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@objc(PAYExtraAttributeEmail)</span>
<span class="kd">public</span> <span class="kd">final</span> <span class="kd">class</span> <span class="kt">ExtraAttributeEmail</span> <span class="p">:</span> <span class="kt">NSObject</span><span class="p">,</span> <span class="kt"><a href="Protocols.html#/c:@M@PAYJP@objc(pl)PAYExtraAttribute">ExtraAttribute</a></span></code></pre>

</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/c:@M@PAYJP@objc(cs)PAYExtraAttributePhone"></a>
<a name="//apple_ref/swift/Class/ExtraAttributePhone" class="dashAnchor"></a>
<a class="token" href="#/c:@M@PAYJP@objc(cs)PAYExtraAttributePhone">ExtraAttributePhone</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>

<a href="Classes/ExtraAttributePhone.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@objc(PAYExtraAttributePhone)</span>
<span class="kd">public</span> <span class="kd">final</span> <span class="kd">class</span> <span class="kt">ExtraAttributePhone</span> <span class="p">:</span> <span class="kt">NSObject</span><span class="p">,</span> <span class="kt"><a href="Protocols.html#/c:@M@PAYJP@objc(pl)PAYExtraAttribute">ExtraAttribute</a></span></code></pre>

</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -692,11 +759,10 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2020 <a class="link" href="https://pay.jp" target="_blank" rel="external">PAY.JP</a> All rights reserved.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.7</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2024 <a class="link" href="https://pay.jp" target="_blank" rel="external noopener">PAY.JP</a> All rights reserved.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
</div>
</body>
</div>
</html>
60 changes: 48 additions & 12 deletions docs/Classes/APIClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,21 @@
<a title="APIClient Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">PAYJP 1.6.1 Docs</a></p>
<p class="header-right"><a href="https://github.com/payjp/payjp-ios"><img src="../img/gh.png"/>View on GitHub</a></p>
<p class="header-right">
<p><a href="../index.html">PAYJP 2.0.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">
<input type="text" placeholder="Search documentation" data-typeahead>
</form>
</p>
</div>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">PAYJP Reference</a>
<img id="carat" src="../img/carat.png" />
<a href="../index.html">PAYJP</a>
<img id="carat" src="../img/carat.png" alt=""/>
<a href="../Classes.html">Classes</a>
<img id="carat" src="../img/carat.png" alt=""/>
APIClient Class Reference
</p>
</div>
Expand Down Expand Up @@ -63,6 +65,12 @@
<li class="nav-group-task">
<a href="../Classes/ClientInfo.html">ClientInfo</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ExtraAttributeEmail.html">ExtraAttributeEmail</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ExtraAttributePhone.html">ExtraAttributePhone</a>
</li>
<li class="nav-group-task">
<a href="../Classes/FormStyle.html">FormStyle</a>
</li>
Expand Down Expand Up @@ -144,6 +152,9 @@
<li class="nav-group-task">
<a href="../Protocols/CardFormViewDelegate.html">CardFormViewDelegate</a>
</li>
<li class="nav-group-task">
<a href="../Protocols.html#/c:@M@PAYJP@objc(pl)PAYExtraAttribute">ExtraAttribute</a>
</li>
<li class="nav-group-task">
<a href="../Protocols/PAYErrorResponseType.html">PAYErrorResponseType</a>
</li>
Expand Down Expand Up @@ -316,9 +327,9 @@ <h4>Parameters</h4>
<li class="item">
<div>
<code>
<a name="/s:5PAYJP9APIClientC11createToken4with3cvc15expirationMonth0G4Year4name8tenantId10completionySS_S4SSgALys6ResultOyAA0D0CAA8APIErrorOGctF"></a>
<a name="//apple_ref/swift/Method/createToken(with:cvc:expirationMonth:expirationYear:name:tenantId:completion:)" class="dashAnchor"></a>
<a class="token" href="#/s:5PAYJP9APIClientC11createToken4with3cvc15expirationMonth0G4Year4name8tenantId10completionySS_S4SSgALys6ResultOyAA0D0CAA8APIErrorOGctF">createToken(with:<wbr>cvc:<wbr>expirationMonth:<wbr>expirationYear:<wbr>name:<wbr>tenantId:<wbr>completion:<wbr>)</a>
<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>
</code>
</div>
<div class="height-container">
Expand All @@ -341,6 +352,8 @@ <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="o">=</span> <span class="kc">nil</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">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">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 @@ -410,6 +423,30 @@ <h4>Parameters</h4>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>email</em>
</code>
</td>
<td>
<div>
<p>Credit card email (Extra Attributes) e.g. <code>test@example.com</code></p>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>phone</em>
</code>
</td>
<td>
<div>
<p>Credit card phone number (Extra Attributes) E.164 e.g. <code>+819012345678</code></p>
</div>
</td>
</tr>
<tr>
<td>
<code>
Expand Down Expand Up @@ -777,11 +814,10 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2020 <a class="link" href="https://pay.jp" target="_blank" rel="external">PAY.JP</a> All rights reserved.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.7</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2024 <a class="link" href="https://pay.jp" target="_blank" rel="external noopener">PAY.JP</a> All rights reserved.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
</div>
</body>
</div>
</html>
Loading

0 comments on commit 1b92d95

Please sign in to comment.