Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paschmid committed Apr 26, 2021
1 parent c6ebd30 commit 21074ae
Show file tree
Hide file tree
Showing 684 changed files with 19,062 additions and 35,905 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>TransactionListener</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Datatrans Android SDK::ch.datatrans.payment.api/TransactionListener///PointingToDeclaration//1946847589">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Datatrans Android SDK</a>/<a href="../index.html">ch.datatrans.payment.api</a>/<a href="index.html">TransactionListener</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Transaction</span><wbr></wbr><span>Listener</span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div class="symbol monospace">interface <a href="index.html">TransactionListener</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">Implement <a href="index.html">TransactionListener</a> to be notified when a transaction ends. <a href="index.html">TransactionListener</a> will notify you about the success, error or cancel state of the processed transaction.</p></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
<div class="tabs-section-body">
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="1712195319%2FFunctions%2F1946847589" anchor-label="onTransactionCancel" id="1712195319%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a>
<div class="table-row" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="on-transaction-cancel.html">onTransactionCancel</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1712195319%2FFunctions%2F1946847589"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div class="symbol monospace">open fun <a href="on-transaction-cancel.html">onTransactionCancel</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="1712195319%2FFunctions%2F1946847589" anchor-label="onTransactionCancel" id="1712195319%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a><div class="brief "><a data-name="1712195319%2FFunctions%2F1946847589" anchor-label="onTransactionCancel" id="1712195319%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a>This is called after a transaction has been cancelled.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1220976176%2FFunctions%2F1946847589" anchor-label="onTransactionError" id="-1220976176%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a>
<div class="table-row" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="on-transaction-error.html">onTransactionError</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1220976176%2FFunctions%2F1946847589"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div class="symbol monospace">abstract fun <a href="on-transaction-error.html">onTransactionError</a>(exception: <a href="../../ch.datatrans.payment.exception/-transaction-exception/index.html">TransactionException</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-1220976176%2FFunctions%2F1946847589" anchor-label="onTransactionError" id="-1220976176%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a><div class="brief "><a data-name="-1220976176%2FFunctions%2F1946847589" anchor-label="onTransactionError" id="-1220976176%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a>This is called after a transaction fails or encounters an error.</div></div>
</div>
</div>
</div>
</div>
<a data-name="828037602%2FFunctions%2F1946847589" anchor-label="onTransactionSuccess" id="828037602%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a>
<div class="table-row" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="on-transaction-success.html">onTransactionSuccess</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="828037602%2FFunctions%2F1946847589"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div class="symbol monospace">abstract fun <a href="on-transaction-success.html">onTransactionSuccess</a>(result: <a href="../-transaction-success/index.html">TransactionSuccess</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="828037602%2FFunctions%2F1946847589" anchor-label="onTransactionSuccess" id="828037602%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a><div class="brief "><a data-name="828037602%2FFunctions%2F1946847589" anchor-label="onTransactionSuccess" id="828037602%2FFunctions%2F1946847589" data-filterable-set=":lib:dokkaHtml/release"></a>This is called after a transaction has been successfully completed.</div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>onTransactionCancel</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Datatrans Android SDK::ch.datatrans.payment.api/TransactionListener/onTransactionCancel/#/PointingToDeclaration//1946847589">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Datatrans Android SDK</a>/<a href="../index.html">ch.datatrans.payment.api</a>/<a href="index.html">TransactionListener</a>/<a href="on-transaction-cancel.html">onTransactionCancel</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>on</span><wbr></wbr><span>Transaction</span><wbr></wbr><span>Cancel</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div class="symbol monospace">open fun <a href="on-transaction-cancel.html">onTransactionCancel</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">This is called after a transaction has been cancelled. This callback can be used to cancel any on-going process involving the transaction.</p><p class="paragraph">Some payment methods - such as Twint that involves an app-switch - also call this method when a payment error or decline occurs, to prevent showing an error dialog twice, as an error is already displayed in the payment application.</p></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>onTransactionError</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Datatrans Android SDK::ch.datatrans.payment.api/TransactionListener/onTransactionError/#ch.datatrans.payment.exception.TransactionException/PointingToDeclaration//1946847589">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Datatrans Android SDK</a>/<a href="../index.html">ch.datatrans.payment.api</a>/<a href="index.html">TransactionListener</a>/<a href="on-transaction-error.html">onTransactionError</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>on</span><wbr></wbr><span>Transaction</span><wbr></wbr><span>Error</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div class="symbol monospace">abstract fun <a href="on-transaction-error.html">onTransactionError</a>(exception: <a href="../../ch.datatrans.payment.exception/-transaction-exception/index.html">TransactionException</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">This is called after a transaction fails or encounters an error. Keep in mind that the SDK shows the error to the user before this is invoked. Therefore, this callback can be used to cancel any on-going process involving the transaction.</p><p class="paragraph">You may also use the error details provided here and display it the way you want when suppressing the error message within the <a href="../-transaction-options/index.html">TransactionOptions</a>.</p><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":lib:dokkaHtml/release"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":lib:dokkaHtml/release" data-filterable-set=":lib:dokkaHtml/release"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">exception</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The exception that occurred.</p></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

Loading

0 comments on commit 21074ae

Please sign in to comment.