PropayEndpoint

com.anywherecommerce.android.sdk.endpoints.propay

Class PropayEndpoint

  • java.lang.Object

  • com.anywherecommerce.android.sdk.endpoints.propay.PropayEndpoint

  • All Implemented Interfaces:Endpoint, java.io.Serializable-

    public class <span class="typeNameLabel">PropayEndpoint</span>
    extends java.lang.Object
    implements 
    

Endpoint

Created by Admin on 10/27/2017.

See Also:[Serialized Form](#serialized-form.html#com.anywherecommerce.android.sdk.endpoints.propay.PropayEndpoint)



- 

<a name="field.summary"></a>

### Field Summary
    
    Modifier and TypeField and Description`protected static java.text.SimpleDateFormat``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#defaultPropayDateFormat">defaultPropayDateFormat</a></span>` `protected java.lang.String``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#gatewayUrl">gatewayUrl</a></span>` `protected static AndroidTerminal``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#terminal">terminal</a></span>`




<a name="constructor.summary"></a>

### Constructor Summary
    
    Constructor and Description`<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#PropayEndpoint--">PropayEndpoint</a></span>()`




<a name="method.summary"></a>

### Method Summary
    
    Modifier and TypeMethod and Description`void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#authenticateTerminal-java.lang.String-java.lang.String-com.anywherecommerce.android.sdk.endpoints.AuthenticationListener-">authenticateTerminal</a></span>(java.lang.String terminalID,
                        java.lang.String secret,
<a href="#com/anywherecommerce/android/sdk/endpoints/AuthenticationListener.html" title="interface in com.anywherecommerce.android.sdk.endpoints">AuthenticationListener</a> listener)
    ``` `<T extends 

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a>><br></br>T``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#createTransaction-java.lang.Class-">createTransaction</a></span>(java.lang.Class<T> clazz)` `static void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#fetchTransactions-int-java.lang.String-java.util.Date-java.util.Date-com.anywherecommerce.android.sdk.RequestListener-">fetchTransactions</a></span>(int page,
                     java.lang.String orderID,
                     java.util.Date dateFrom,
                     java.util.Date dateTo,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a> listener)
    ``` `static void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#fetchTransactions-int-java.lang.String-java.lang.String-java.lang.String-com.anywherecommerce.android.sdk.RequestListener-">fetchTransactions</a></span>(int page,
                     java.lang.String orderID,
                     java.lang.String dateFrom,
                     java.lang.String dateTo,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a> listener)
    ``` `static void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#fetchUserAuthenticationToken-java.lang.String-com.anywherecommerce.android.sdk.TaskWithReturnValueListener-">fetchUserAuthenticationToken</a></span>(java.lang.String urlScheme,
<a href="#com/anywherecommerce/android/sdk/TaskWithReturnValueListener.html" title="interface in com.anywherecommerce.android.sdk">TaskWithReturnValueListener</a><java.lang.String> listener)
    ``` `AndroidTerminal``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#getCorePayAndroidTerminalObject--">getCorePayAndroidTerminalObject</a></span>()` `static java.lang.String``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#getSdkVersion--">getSdkVersion</a></span>()` `java.lang.String``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#getUrl--">getUrl</a></span>()` `boolean``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#isPointingToProduction--">isPointingToProduction</a></span>()` `void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#sendReceipt-java.lang.String-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-">sendReceipt</a></span>(java.lang.String target,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> src,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a> listener)
    ``` `void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#setUrl-java.lang.String-">setUrl</a></span>(java.lang.String url)` `protected void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#submitRefundRequest-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-">submitRefundRequest</a></span>(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> listener)
    ``` `protected void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#submitReversalRequest-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-">submitReversalRequest</a></span>(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> listener)
    ``` `protected void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#submitSaleRequest-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-">submitSaleRequest</a></span>(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> requestListener)
    ``` `void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#submitSignature-java.lang.Object-">submitSignature</a></span>(java.lang.Object signature)` `void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html#submitTransaction-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-">submitTransaction</a></span>(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> requestListener)
    ``` 
    

<a name="methods.inherited.from.class.java.lang.Object"></a>

### Methods inherited from class java.lang.Object
          
          `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`



- 

<a name="field.detail"></a>

### Field Detail
<a name="terminal"></a>
    

#### terminal
          
          `protected static transient AndroidTerminal terminal`
<a name="defaultPropayDateFormat"></a>
    

#### defaultPropayDateFormat
          
          `protected static java.text.SimpleDateFormat defaultPropayDateFormat`
<a name="gatewayUrl"></a>
    

#### gatewayUrl
          
          `protected java.lang.String gatewayUrl`




<a name="constructor.detail"></a>

### Constructor Detail
<a name="PropayEndpoint--"></a>
    

#### PropayEndpoint
          
          `public PropayEndpoint()`




<a name="method.detail"></a>

### Method Detail
<a name="getSdkVersion--"></a>
    

#### getSdkVersion
          
          `public static java.lang.String getSdkVersion()`
<a name="getUrl--"></a>
    

#### getUrl
          
          `public java.lang.String getUrl()`Specified by:`

<a href="#com/anywherecommerce/android/sdk/Endpoint.html#getUrl--">getUrl</a>` in interface `

<a href="#com/anywherecommerce/android/sdk/Endpoint.html" title="interface in com.anywherecommerce.android.sdk">Endpoint</a>`
<a name="setUrl-java.lang.String-"></a>
    

#### setUrl
          
          `public void setUrl(java.lang.String url)`Specified by:`

<a href="#com/anywherecommerce/android/sdk/Endpoint.html#setUrl-java.lang.String-">setUrl</a>` in interface `

<a href="#com/anywherecommerce/android/sdk/Endpoint.html" title="interface in com.anywherecommerce.android.sdk">Endpoint</a>`
<a name="isPointingToProduction--"></a>
    

#### isPointingToProduction
          
          `public boolean isPointingToProduction()`Specified by:`

<a href="#com/anywherecommerce/android/sdk/Endpoint.html#isPointingToProduction--">isPointingToProduction</a>` in interface `

<a href="#com/anywherecommerce/android/sdk/Endpoint.html" title="interface in com.anywherecommerce.android.sdk">Endpoint</a>`
<a name="getCorePayAndroidTerminalObject--"></a>
    

#### getCorePayAndroidTerminalObject
          
          `public AndroidTerminal getCorePayAndroidTerminalObject()`
<a name="createTransaction-java.lang.Class-"></a>
    

#### createTransaction
          
          `public <T extends 

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a>> T createTransaction(java.lang.Class<T> clazz)`Specified by:`

<a href="#com/anywherecommerce/android/sdk/Endpoint.html#createTransaction-java.lang.Class-">createTransaction</a>` in interface `

<a href="#com/anywherecommerce/android/sdk/Endpoint.html" title="interface in com.anywherecommerce.android.sdk">Endpoint</a>`
<a name="submitTransaction-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### submitTransaction
          
          ```
          public void submitTransaction(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> requestListener)
          ```
          Specified by:`

<a href="#com/anywherecommerce/android/sdk/Endpoint.html#submitTransaction-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-">submitTransaction</a>` in interface `

<a href="#com/anywherecommerce/android/sdk/Endpoint.html" title="interface in com.anywherecommerce.android.sdk">Endpoint</a>`
<a name="submitSaleRequest-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### submitSaleRequest
          
          ```
          protected void submitSaleRequest(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> requestListener)
          ```
<a name="submitRefundRequest-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### submitRefundRequest
          
          ```
          protected void submitRefundRequest(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> listener)
          ```
<a name="submitReversalRequest-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### submitReversalRequest
          
          ```
          protected void submitReversalRequest(

<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a><

<a href="#com/anywherecommerce/android/sdk/models/GatewayResponse.html" title="interface in com.anywherecommerce.android.sdk.models">GatewayResponse</a>> listener)
          ```
<a name="submitSignature-java.lang.Object-"></a>
    

#### submitSignature
          
          `public void submitSignature(java.lang.Object signature)`
<a name="fetchUserAuthenticationToken-java.lang.String-com.anywherecommerce.android.sdk.TaskWithReturnValueListener-"></a>
    

#### fetchUserAuthenticationToken
          
          ```
          public static void fetchUserAuthenticationToken(java.lang.String urlScheme,
<a href="#com/anywherecommerce/android/sdk/TaskWithReturnValueListener.html" title="interface in com.anywherecommerce.android.sdk">TaskWithReturnValueListener</a><java.lang.String> listener)
          ```
<a name="fetchTransactions-int-java.lang.String-java.util.Date-java.util.Date-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### fetchTransactions
          
          ```
          public static void fetchTransactions(int page,
                                               java.lang.String orderID,
                                               java.util.Date dateFrom,
                                               java.util.Date dateTo,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a> listener)
          ```
<a name="fetchTransactions-int-java.lang.String-java.lang.String-java.lang.String-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### fetchTransactions
          
          ```
          public static void fetchTransactions(int page,
                                               java.lang.String orderID,
                                               java.lang.String dateFrom,
                                               java.lang.String dateTo,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a> listener)
          ```
<a name="authenticateTerminal-java.lang.String-java.lang.String-com.anywherecommerce.android.sdk.endpoints.AuthenticationListener-"></a>
    

#### authenticateTerminal
          
          ```
          public void authenticateTerminal(java.lang.String terminalID,
                                           java.lang.String secret,
<a href="#com/anywherecommerce/android/sdk/endpoints/AuthenticationListener.html" title="interface in com.anywherecommerce.android.sdk.endpoints">AuthenticationListener</a> listener)
          ```
<a name="sendReceipt-java.lang.String-com.anywherecommerce.android.sdk.transactions.Transaction-com.anywherecommerce.android.sdk.RequestListener-"></a>
    

#### sendReceipt
          
          ```
          public void sendReceipt(java.lang.String target,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> src,
<a href="#com/anywherecommerce/android/sdk/RequestListener.html" title="interface in com.anywherecommerce.android.sdk">RequestListener</a> listener)
          ```