Skip to content

Commit

Permalink
updated transaction types
Browse files Browse the repository at this point in the history
  • Loading branch information
corepay committed Sep 29, 2023
1 parent 61a064d commit 5b31e31
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h5><span class="tsd-kind-property">trxn_<wbr/>status</span><span class="tsd-sig
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L121">resources/transactions/types.ts:121</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L117">resources/transactions/types.ts:117</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h5><span class="tsd-kind-property">trxn_<wbr/>type</span><span class="tsd-signa
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L156">resources/transactions/types.ts:156</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L152">resources/transactions/types.ts:152</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h5><span class="tsd-kind-property">trxn_<wbr/>status</span><span class="tsd-sig
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L85">resources/transactions/types.ts:85</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L81">resources/transactions/types.ts:81</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h5><span class="tsd-kind-property">status</span><span class="tsd-signature-symb
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L46">resources/transactions/types.ts:46</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L44">resources/transactions/types.ts:44</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,43 +23,49 @@ <h1>Type alias PaymentTransactionListResponse</h1></div>
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">code</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li>
<h5><span class="tsd-kind-property">code</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography"><p>The payment gateway response code. See <a href="https://docs.qorcommerce.io/docs/payment-response-codes">Payment Response Codes</a> for code descriptions.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">count</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">limit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">offset</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">transactions</span><span class="tsd-signature-symbol">: </span><a href="resources_transactions_types.PaymentTransactionResultObject.html" class="tsd-signature-type tsd-kind-type-alias">PaymentTransactionResultObject</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
<div class="tsd-comment tsd-typography"><p>Payment transaction results object.</p>
</div>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">count</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li>
<h5><span class="tsd-kind-property">count</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>Total number of transactions matching the query.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">limit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li>
<h5><span class="tsd-kind-property">limit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>Total number of transactions returned.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">offset</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li>
<h5><span class="tsd-kind-property">offset</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>Total number of transactions skipped.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">transactions</span><span class="tsd-signature-symbol">: </span><a href="resources_transactions_types.PaymentTransactionResultObject.html" class="tsd-signature-type tsd-kind-type-alias">PaymentTransactionResultObject</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></li>
<h5><span class="tsd-kind-property">transactions</span><span class="tsd-signature-symbol">: </span><a href="resources_transactions_types.PaymentTransactionResultObject.html" class="tsd-signature-type tsd-kind-type-alias">PaymentTransactionResultObject</a><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography"><p>Array of fetched payment transaction objects that match the query.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">message</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li>
<h5><span class="tsd-kind-property">message</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography"><p>Message associated with the response code.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">status</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div>
<div class="tsd-comment tsd-typography">
<h4>Param</h4><p>Payment transactions list response.</p>

<h4>Param</h4><p>The status of the transaction. Possible response values are &#39;ok&#39; and &#39;error&#39;.</p>

<h4>Param</h4><p>The payment gateway response code. See <a href="https://docs.qorcommerce.io/docs/payment-response-codes">Payment Response Codes</a> for code descriptions.</p>

<h4>Param</h4><p>Message associated with the response code.</p>

<h4>Param</h4><p>Payment transaction results object.</p>

<h4>Param</h4><p>Total number of transactions matching the query.</p>

<h4>Param</h4><p>Total number of transactions returned.</p>

<h4>Param</h4><p>Total number of transactions skipped.</p>

<h4>Param</h4><p>Array of fetched payment transaction objects that match the query.</p>
</div><aside class="tsd-sources">
<h5><span class="tsd-kind-property">status</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography"><p>The status of the transaction. Possible response values are &#39;ok&#39; and &#39;error&#39;.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L70">resources/transactions/types.ts:70</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/QorLabs/qor-direct-js-sdk/blob/223cb9f/src/resources/transactions/types.ts#L58">resources/transactions/types.ts:58</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit 5b31e31

Please sign in to comment.