Class restconnector

This class is used to connect to the server.More…

#import <Core.h>

Inheritance diagram for RestConnector:

RestConnectorBase

Class Methods

(CoreSaleResponse *) + sendSale:withTerminal:error:
(CoreRefundResponse *) + requestUnreferencedRefund:withTerminal:error:
(CoreRefundResponse *) + requestReferencedRefund:withTerminal:error:
(CoreSecureCardResponse *) + requestSecureCard:withTerminal:operation:error:
(CoreResponse *) + requestReversal:withTerminal:error:
(NSString *) + login:withTerminal:error:
(CoreSettings *) + requestSettings:error:
(CoreTransactions *) + requestTransactionList:page:withTerminal:error:
(BOOL) + updateTerminal:withTerminal:error:
(CoreResponse *) + updateTransaction:withTerminal:andData:error:
(CoreCloseBatchResponse *) + closeTransactionBatch:error:
(BOOL) + healthCheck:withTimeout:completion:
(BOOL) + isPayconexSDK
Class Methods inherited from RestConnectorBase
(BOOL) + validateTerminal:ignoreCurrency:withError:
(BOOL) + validateTerminal:withError:

Detailed Description

This class is used to connect to the server.

Method Documentation

closeTransactionBatch:error:()

  • error:
  • (NSError **)
  • error

healthCheck:withTimeout:completion:()

  • + (BOOL) healthCheck:
  • (NSString *)
  • baseUrl

  • withTimeout:
  • (int)
  • timeout

  • completion:
  • (void(^)(BOOL success))
  • completionBlock

isPayconexSDK()

  • + (BOOL) isPayconexSDK

login:withTerminal:error:()

  • + (NSString *) login:
  • (NSString *)
  • schema

  • error:
  • (NSError **)
  • error

requestReferencedRefund:withTerminal:error:()

  • error:
  • (NSError **)
  • error

requestReversal:withTerminal:error:()

  • error:
  • (NSError **)
  • error

requestSecureCard:withTerminal:operation:error:()

  • operation:
  • (NSString *)
  • operation

  • error:
  • (NSError **)
  • error

requestSettings:error:()

  • error:
  • (NSError **)
  • error

requestTransactionList:page:withTerminal:error:()

  • page:
  • (NSInteger)
  • page

  • error:
  • (NSError **)
  • error

requestUnreferencedRefund:withTerminal:error:()

  • error:
  • (NSError **)
  • error

sendSale:withTerminal:error:()

  • error:
  • (NSError **)
  • error

updateTerminal:withTerminal:error:()

  • error:
  • (NSError **)
  • error

updateTransaction:withTerminal:andData:error:()

  • andData:
  • (NSMudivDictionary *)
  • data

  • error:
  • (NSError **)
  • error