Class: ReportLinkService

Inherits:
Object
  • Object
show all
Defined in:
lib/ReportLinkService.rb

Instance Method Summary (collapse)

Constructor Details

- (ReportLinkService) initialize(endpoint_url)

Creates instance for the specified endpoint_url. If endpoint_url is nil, Creates the instance for NA region.



8
9
10
11
# File 'lib/ReportLinkService.rb', line 8

def initialize(endpoint_url)
	@service = ReportLinkSoap.new(endpoint_url)
	@service.return_response_as_xml = true	
end

Instance Method Details

- (IATSResponse) getACHEFTBankReconciliationReportCSV(getACHEFTBankReconciliationReportCSVV1)

Description

This service is for request a report of the bank balance of ACHEFT transactions.


307
308
309
310
311
# File 'lib/ReportLinkService.rb', line 307

def getACHEFTBankReconciliationReportCSV(getACHEFTBankReconciliationReportCSVV1)
	res = @service.getACHEFTBankReconciliationReportCSV(getACHEFTBankReconciliationReportCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTBankReconciliationReportCSVV1Response"]["GetACHEFTBankReconciliationReportCSVV1Result"])
end

- (IATSResponse) getACHEFTJournal(getACHEFTJournalV1)

Description

This service will generate an encoded base64binary response.


127
128
129
130
131
# File 'lib/ReportLinkService.rb', line 127

def getACHEFTJournal(getACHEFTJournalV1)
	res = @service.getACHEFTJournal(getACHEFTJournalV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTJournalV1Response"]["GetACHEFTJournalV1Result"])
end

- (IATSResponse) getACHEFTJournalCSV(getACHEFTJournalCSVV1)

Description

This service is for request a report of approved ACHEFT transactions.


112
113
114
115
116
# File 'lib/ReportLinkService.rb', line 112

def getACHEFTJournalCSV(getACHEFTJournalCSVV1)
	res = @service.getACHEFTJournalCSV(getACHEFTJournalCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTJournalCSVV1Response"]["GetACHEFTJournalCSVV1Result"])
end

- (Base64) getACHEFTPaymentBoxJournalCSV(getACHEFTPaymentBoxJournalCSV_x0020_V1)

Description

This service will generate an encoded base64binary response.


247
248
249
250
251
# File 'lib/ReportLinkService.rb', line 247

def getACHEFTPaymentBoxJournalCSV(getACHEFTPaymentBoxJournalCSV_x0020_V1)
	res = @service.getACHEFTPaymentBoxJournalCSV(getACHEFTPaymentBoxJournalCSV_x0020_V1)
	hash = Hash.from_xml(res.to_s)
	hash["Envelope"]["Body"]["GetACHEFTPaymentBoxJournalCSV_x0020_V1Response"]["GetACHEFTPaymentBoxJournalCSV_x0020_V1Result"]
end

- (IATSResponse) getACHEFTPaymentBoxJournalCSV_2(getACHEFTPaymentBoxJournalCSVV1)

Description

This service is for request a detail report of approved ACHEFT transactions between two dates.


262
263
264
265
266
# File 'lib/ReportLinkService.rb', line 262

def getACHEFTPaymentBoxJournalCSV_2(getACHEFTPaymentBoxJournalCSVV1)
	res = @service.getACHEFTPaymentBoxJournalCSV_2(getACHEFTPaymentBoxJournalCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTPaymentBoxJournalCSVV1Response"]["GetACHEFTPaymentBoxJournalCSVV1Result"])
end

- (IATSResponse) getACHEFTPaymentBoxRejectCSV(getACHEFTPaymentBoxRejectCSVV1)

Description

This service is for request a detail report of rejected ACHEFT transactions between two dates.


277
278
279
280
281
# File 'lib/ReportLinkService.rb', line 277

def getACHEFTPaymentBoxRejectCSV(getACHEFTPaymentBoxRejectCSVV1)
	res = @service.getACHEFTPaymentBoxRejectCSV(getACHEFTPaymentBoxRejectCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTPaymentBoxRejectCSVV1Response"]["GetACHEFTPaymentBoxRejectCSVV1Result"])
end

- (IATSResponse) getACHEFTReject(getACHEFTRejectV1)

Description

This service will generate an encoded base64binary response.


157
158
159
160
161
# File 'lib/ReportLinkService.rb', line 157

def getACHEFTReject(getACHEFTRejectV1)
	res = @service.getACHEFTReject(getACHEFTRejectV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTRejectV1Response"]["GetACHEFTRejectV1Result"])
end

- (IATSResponse) getACHEFTRejectCSV(getACHEFTRejectCSVV1)

Description

This service is for request a report of rejected ACHEFT transactions.


142
143
144
145
146
# File 'lib/ReportLinkService.rb', line 142

def getACHEFTRejectCSV(getACHEFTRejectCSVV1)
	res = @service.getACHEFTRejectCSV(getACHEFTRejectCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTRejectCSVV1Response"]["GetACHEFTRejectCSVV1Result"])
end

- (IATSResponse) getACHEFTReturn(getACHEFTReturnV1)

Description

This service will generate an encoded base64binary response.


187
188
189
190
191
# File 'lib/ReportLinkService.rb', line 187

def getACHEFTReturn(getACHEFTReturnV1)
	res = @service.getACHEFTReturn(getACHEFTReturnV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTReturnV1Response"]["GetACHEFTReturnV1Result"])
end

- (IATSResponse) getACHEFTReturnCSV(getACHEFTReturnCSVV1)

Description

This service is for request a report of ACHEFT transactions that have been returned.


172
173
174
175
176
# File 'lib/ReportLinkService.rb', line 172

def getACHEFTReturnCSV(getACHEFTReturnCSVV1)
	res = @service.getACHEFTReturnCSV(getACHEFTReturnCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetACHEFTReturnCSVV1Response"]["GetACHEFTReturnCSVV1Result"])
end

- (Base64) getACHJournalCSV(getACHJournalCSV_x0020_V1)

Description

This service will generate an encoded base64binary response.

Parameters:

Returns:

  • (Base64)


97
98
99
100
101
# File 'lib/ReportLinkService.rb', line 97

def getACHJournalCSV(getACHJournalCSV_x0020_V1)
	res = @service.getACHJournalCSV(getACHJournalCSV_x0020_V1)
	hash = Hash.from_xml(res.to_s)
	hash["Envelope"]["Body"]["GetACHJournalCSV_x0020_V1Response"]["GetACHJournalCSV_x0020_V1Result"]
end

- (Base64) getCCJournalCSV(getCCJournalCSV_x0020_V1)

Description

This service is for request a report of Credit card transaction.


22
23
24
25
26
# File 'lib/ReportLinkService.rb', line 22

def getCCJournalCSV(getCCJournalCSV_x0020_V1)
	res = @service.getCCJournalCSV(getCCJournalCSV_x0020_V1)
	hash = Hash.from_xml(res.to_s)
	hash["Envelope"]["Body"]["GetCCJournalCSV_x0020_V1Response"]["GetCCJournalCSV_x0020_V1Result"]
end

- (Base64) getCCPaymentBoxJournalCSV(getCCPaymentBoxJournalCSV_x0020_V1)

Description

This service will generate an encoded base64binary response.


202
203
204
205
206
# File 'lib/ReportLinkService.rb', line 202

def getCCPaymentBoxJournalCSV(getCCPaymentBoxJournalCSV_x0020_V1)
	res = @service.getCCPaymentBoxJournalCSV(getCCPaymentBoxJournalCSV_x0020_V1)
	hash = Hash.from_xml(res.to_s)
	hash["Envelope"]["Body"]["GetCCPaymentBoxJournalCSV_x0020_V1Response"]["GetCCPaymentBoxJournalCSV_x0020_V1Result"]
end

- (IATSResponse) getCreditCardBankReconciliationReportCSV(getCreditCardBankReconciliationReportCSVV1)

Description

This service is for request a report of the bank balance of credit card transactions.


292
293
294
295
296
# File 'lib/ReportLinkService.rb', line 292

def getCreditCardBankReconciliationReportCSV(getCreditCardBankReconciliationReportCSVV1)
	res = @service.getCreditCardBankReconciliationReportCSV(getCreditCardBankReconciliationReportCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardBankReconciliationReportCSVV1Response"]["GetCreditCardBankReconciliationReportCSVV1Result"])
end

- (IATSResponse) getCreditCardJournal(getCreditCardJournalV1)

Description

This service will generate an encoded base64binary response.


52
53
54
55
56
# File 'lib/ReportLinkService.rb', line 52

def getCreditCardJournal(getCreditCardJournalV1)
	res = @service.getCreditCardJournal(getCreditCardJournalV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardJournalV1Response"]["GetCreditCardJournalV1Result"])
end

- (IATSResponse) getCreditCardJournalCSV(getCreditCardJournalCSVV1)

Description

This service is for request a report of approved credit card transactions.


37
38
39
40
41
# File 'lib/ReportLinkService.rb', line 37

def getCreditCardJournalCSV(getCreditCardJournalCSVV1)
	res = @service.getCreditCardJournalCSV(getCreditCardJournalCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardJournalCSVV1Response"]["GetCreditCardJournalCSVV1Result"])
end

- (IATSResponse) getCreditCardPaymentBoxJournalCSV(getCreditCardPaymentBoxJournalCSVV1)

Description

This service is for request a report of credit card transactions between two dates.


217
218
219
220
221
# File 'lib/ReportLinkService.rb', line 217

def getCreditCardPaymentBoxJournalCSV(getCreditCardPaymentBoxJournalCSVV1)
	res = @service.getCreditCardPaymentBoxJournalCSV(getCreditCardPaymentBoxJournalCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardPaymentBoxJournalCSVV1Response"]["GetCreditCardPaymentBoxJournalCSVV1Result"])
end

- (IATSResponse) getCreditCardPaymentBoxRejectCSV(getCreditCardPaymentBoxRejectCSVV1)

Description

This service is for request a report of rejected credit card transactions between two dates.


232
233
234
235
236
# File 'lib/ReportLinkService.rb', line 232

def getCreditCardPaymentBoxRejectCSV(getCreditCardPaymentBoxRejectCSVV1)
	res = @service.getCreditCardPaymentBoxRejectCSV(getCreditCardPaymentBoxRejectCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardPaymentBoxRejectCSVV1Response"]["GetCreditCardPaymentBoxRejectCSVV1Result"])
end

- (IATSResponse) getCreditCardReject(getCreditCardRejectV1)

Description

This service will generate an encoded base64binary response.


82
83
84
85
86
# File 'lib/ReportLinkService.rb', line 82

def getCreditCardReject(getCreditCardRejectV1)
	res = @service.getCreditCardReject(getCreditCardRejectV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardRejectV1Response"]["GetCreditCardRejectV1Result"])
end

- (IATSResponse) getCreditCardRejectCSV(getCreditCardRejectCSVV1)

Description

This service is for request a report of rejected credit card transactions.


67
68
69
70
71
# File 'lib/ReportLinkService.rb', line 67

def getCreditCardRejectCSV(getCreditCardRejectCSVV1)
	res = @service.getCreditCardRejectCSV(getCreditCardRejectCSVV1)
	hash = Hash.from_xml(res.to_s)
	IATSResponse.new(hash["Envelope"]["Body"]["GetCreditCardRejectCSVV1Response"]["GetCreditCardRejectV1Result"])
end