Class: MerchantESolutions::Report
- Inherits:
-
Object
- Object
- MerchantESolutions::Report
- Defined in:
- lib/merchant_e_solutions/report.rb
Direct Known Subclasses
AdjustmentReport, BatchDetailReport, BatchSummaryReport, DepositReport, SettlementDetailReport, SettlementSummaryReport
Instance Attribute Summary collapse
-
#records ⇒ Object
readonly
Returns the value of attribute records.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Report
constructor
A new instance of Report.
- #report_specific_params ⇒ Object
- #request_params ⇒ Object
Constructor Details
Instance Attribute Details
#records ⇒ Object (readonly)
Returns the value of attribute records.
5 6 7 |
# File 'lib/merchant_e_solutions/report.rb', line 5 def records @records end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
5 6 7 |
# File 'lib/merchant_e_solutions/report.rb', line 5 def request @request end |
Instance Method Details
#report_specific_params ⇒ Object
23 24 25 |
# File 'lib/merchant_e_solutions/report.rb', line 23 def report_specific_params end |
#request_params ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/merchant_e_solutions/report.rb', line 13 def request_params { dsReportId: report_id, reportType: report_type, includeTridentTranId: true, includePurchaseId: true, includeClientRefNum: true }.merge(report_specific_params) end |