data-and-reporting-sdk 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +14 -14
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
- data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +13 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +150 -0
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +76 -7
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +127 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 031356f55355649745088ded676766dd0c8f982f6e4d740a8979f326191f977d
|
4
|
+
data.tar.gz: e2ed061fda9bc950ea7add678935bad2114cd314a37e9475274632499567b231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6011a74f2cfcb42eef0b02ef087a2b1665d3d1d18eb48e9bfb236ad41909e07b02c199a1ad8a15d9ad9061227b5f8b5ba23d08888531c31533b19c55ded48d31
|
7
|
+
data.tar.gz: bce0d017e652d317d75a1a19e50dc48f8278761166f63df102745bb48448881e73d179d0fbb5268f256e3fb653383259f430ca2936399ea439433b03403ccfa0
|
data/LICENSE
CHANGED
@@ -3,7 +3,7 @@ License:
|
|
3
3
|
The MIT License (MIT)
|
4
4
|
http://opensource.org/licenses/MIT
|
5
5
|
|
6
|
-
Copyright (c) 2014 -
|
6
|
+
Copyright (c) 2014 - 2025 APIMATIC Limited
|
7
7
|
|
8
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
9
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -15,16 +15,16 @@ Go to the Shell Developer Portal: [https://developer.shell.com](https://develope
|
|
15
15
|
Install the gem from the command line:
|
16
16
|
|
17
17
|
```bash
|
18
|
-
gem install data-and-reporting-sdk -v 1.
|
18
|
+
gem install data-and-reporting-sdk -v 1.3.0
|
19
19
|
```
|
20
20
|
|
21
21
|
Or add the gem to your Gemfile and run `bundle`:
|
22
22
|
|
23
23
|
```ruby
|
24
|
-
gem 'data-and-reporting-sdk', '1.
|
24
|
+
gem 'data-and-reporting-sdk', '1.3.0'
|
25
25
|
```
|
26
26
|
|
27
|
-
For additional gem details, see the [RubyGems page for the data-and-reporting-sdk gem](https://rubygems.org/gems/data-and-reporting-sdk/versions/1.
|
27
|
+
For additional gem details, see the [RubyGems page for the data-and-reporting-sdk gem](https://rubygems.org/gems/data-and-reporting-sdk/versions/1.3.0).
|
28
28
|
|
29
29
|
## Test the SDK
|
30
30
|
|
@@ -36,7 +36,7 @@ rake
|
|
36
36
|
|
37
37
|
## Initialize the API Client
|
38
38
|
|
39
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
39
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/client.md)
|
40
40
|
|
41
41
|
The following parameters are configurable for the API Client:
|
42
42
|
|
@@ -52,8 +52,8 @@ The following parameters are configurable for the API Client:
|
|
52
52
|
| `retry_statuses` | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
53
53
|
| `retry_methods` | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
|
54
54
|
| `http_callback` | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
|
55
|
-
| `basic_auth_credentials` | [`BasicAuthCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
56
|
-
| `bearer_token_credentials` | [`BearerTokenCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
55
|
+
| `basic_auth_credentials` | [`BasicAuthCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/basic-authentication.md) | The credential object for Basic Authentication |
|
56
|
+
| `bearer_token_credentials` | [`BearerTokenCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
|
57
57
|
|
58
58
|
The API client can be initialized as follows:
|
59
59
|
|
@@ -86,18 +86,18 @@ The SDK can be configured to use a different environment for making API calls. A
|
|
86
86
|
|
87
87
|
This API uses the following authentication schemes.
|
88
88
|
|
89
|
-
* [`BasicAuth (Basic Authentication)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
90
|
-
* [`BearerToken (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
89
|
+
* [`BasicAuth (Basic Authentication)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/basic-authentication.md)
|
90
|
+
* [`BearerToken (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/oauth-2-client-credentials-grant.md)
|
91
91
|
|
92
92
|
## List of APIs
|
93
93
|
|
94
|
-
* [Customer](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
95
|
-
* [Transaction](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
96
|
-
* [Invoice](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
94
|
+
* [Customer](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/controllers/customer.md)
|
95
|
+
* [Transaction](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/controllers/transaction.md)
|
96
|
+
* [Invoice](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/controllers/invoice.md)
|
97
97
|
|
98
98
|
## Classes Documentation
|
99
99
|
|
100
|
-
* [Utility Classes](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
101
|
-
* [HttpResponse](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
102
|
-
* [HttpRequest](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
100
|
+
* [Utility Classes](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/utility-classes.md)
|
101
|
+
* [HttpResponse](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/http-response.md)
|
102
|
+
* [HttpRequest](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/http-request.md)
|
103
103
|
|
@@ -19,7 +19,7 @@ module ShellDataReportingApIs
|
|
19
19
|
_field_parameters: nil)
|
20
20
|
new_api_call_builder
|
21
21
|
.request(new_request_builder(HttpMethodEnum::POST,
|
22
|
-
'/
|
22
|
+
'/v2/oauth/token',
|
23
23
|
Server::OAUTH_SERVER)
|
24
24
|
.form_param(new_parameter('client_credentials', key: 'grant_type'))
|
25
25
|
.header_param(new_parameter(authorization, key: 'Authorization'))
|
@@ -6,5 +6,16 @@
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# Class for exceptions when there is a network error, status code error, etc.
|
8
8
|
class APIException < CoreLibrary::ApiException
|
9
|
+
# Provides a human-readable string representation of the object.
|
10
|
+
def to_s
|
11
|
+
class_name = self.class.name.split('::').last
|
12
|
+
"<#{class_name} status_code: #{@response_code}, reason: #{@reason}>"
|
13
|
+
end
|
14
|
+
|
15
|
+
# Provides a debugging-friendly string with detailed object information.
|
16
|
+
def inspect
|
17
|
+
class_name = self.class.name.split('::').last
|
18
|
+
"<#{class_name} status_code: #{@response_code.inspect}, reason: #{@reason.inspect}>"
|
19
|
+
end
|
9
20
|
end
|
10
21
|
end
|
@@ -28,5 +28,17 @@ module ShellDataReportingApIs
|
|
28
28
|
def unbox(hash)
|
29
29
|
@fault = DefaultErrorFault.from_hash(hash['fault']) if hash['fault']
|
30
30
|
end
|
31
|
+
|
32
|
+
# Provides a human-readable string representation of the object.
|
33
|
+
def to_s
|
34
|
+
class_name = self.class.name.split('::').last
|
35
|
+
"<#{class_name} fault: #{@fault}>"
|
36
|
+
end
|
37
|
+
|
38
|
+
# Provides a debugging-friendly string with detailed object information.
|
39
|
+
def inspect
|
40
|
+
class_name = self.class.name.split('::').last
|
41
|
+
"<#{class_name} fault: #{@fault.inspect}>"
|
42
|
+
end
|
31
43
|
end
|
32
44
|
end
|
@@ -50,5 +50,18 @@ module ShellDataReportingApIs
|
|
50
50
|
|
51
51
|
@errors = SKIP unless hash.key?('Errors')
|
52
52
|
end
|
53
|
+
|
54
|
+
# Provides a human-readable string representation of the object.
|
55
|
+
def to_s
|
56
|
+
class_name = self.class.name.split('::').last
|
57
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, errors: #{@errors}>"
|
58
|
+
end
|
59
|
+
|
60
|
+
# Provides a debugging-friendly string with detailed object information.
|
61
|
+
def inspect
|
62
|
+
class_name = self.class.name.split('::').last
|
63
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, errors:"\
|
64
|
+
" #{@errors.inspect}>"
|
65
|
+
end
|
53
66
|
end
|
54
67
|
end
|
@@ -28,5 +28,17 @@ module ShellDataReportingApIs
|
|
28
28
|
def unbox(hash)
|
29
29
|
@error = ErrorUserAccessError.from_hash(hash['Error']) if hash['Error']
|
30
30
|
end
|
31
|
+
|
32
|
+
# Provides a human-readable string representation of the object.
|
33
|
+
def to_s
|
34
|
+
class_name = self.class.name.split('::').last
|
35
|
+
"<#{class_name} error: #{@error}>"
|
36
|
+
end
|
37
|
+
|
38
|
+
# Provides a debugging-friendly string with detailed object information.
|
39
|
+
def inspect
|
40
|
+
class_name = self.class.name.split('::').last
|
41
|
+
"<#{class_name} error: #{@error.inspect}>"
|
42
|
+
end
|
31
43
|
end
|
32
44
|
end
|
@@ -44,5 +44,19 @@ module ShellDataReportingApIs
|
|
44
44
|
hash.key?('error_description') ? hash['error_description'] : SKIP
|
45
45
|
@error_uri = hash.key?('error_uri') ? hash['error_uri'] : SKIP
|
46
46
|
end
|
47
|
+
|
48
|
+
# Provides a human-readable string representation of the object.
|
49
|
+
def to_s
|
50
|
+
class_name = self.class.name.split('::').last
|
51
|
+
"<#{class_name} error: #{@error}, error_description: #{@error_description}, error_uri:"\
|
52
|
+
" #{@error_uri}>"
|
53
|
+
end
|
54
|
+
|
55
|
+
# Provides a debugging-friendly string with detailed object information.
|
56
|
+
def inspect
|
57
|
+
class_name = self.class.name.split('::').last
|
58
|
+
"<#{class_name} error: #{@error.inspect}, error_description: #{@error_description.inspect},"\
|
59
|
+
" error_uri: #{@error_uri.inspect}>"
|
60
|
+
end
|
47
61
|
end
|
48
62
|
end
|
@@ -119,5 +119,22 @@ module ShellDataReportingApIs
|
|
119
119
|
account_number,
|
120
120
|
account_name)
|
121
121
|
end
|
122
|
+
|
123
|
+
# Provides a human-readable string representation of the object.
|
124
|
+
def to_s
|
125
|
+
class_name = self.class.name.split('::').last
|
126
|
+
"<#{class_name} colco_id: #{@colco_id}, colco_code: #{@colco_code}, payer_id: #{@payer_id},"\
|
127
|
+
" payer_number: #{@payer_number}, payer_name: #{@payer_name}, account_id: #{@account_id},"\
|
128
|
+
" account_number: #{@account_number}, account_name: #{@account_name}>"
|
129
|
+
end
|
130
|
+
|
131
|
+
# Provides a debugging-friendly string with detailed object information.
|
132
|
+
def inspect
|
133
|
+
class_name = self.class.name.split('::').last
|
134
|
+
"<#{class_name} colco_id: #{@colco_id.inspect}, colco_code: #{@colco_code.inspect},"\
|
135
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, payer_name:"\
|
136
|
+
" #{@payer_name.inspect}, account_id: #{@account_id.inspect}, account_number:"\
|
137
|
+
" #{@account_number.inspect}, account_name: #{@account_name.inspect}>"
|
138
|
+
end
|
122
139
|
end
|
123
140
|
end
|
@@ -239,5 +239,31 @@ module ShellDataReportingApIs
|
|
239
239
|
account_name,
|
240
240
|
status_list)
|
241
241
|
end
|
242
|
+
|
243
|
+
# Provides a human-readable string representation of the object.
|
244
|
+
def to_s
|
245
|
+
class_name = self.class.name.split('::').last
|
246
|
+
"<#{class_name} status: #{@status}, include_card_summary: #{@include_card_summary},"\
|
247
|
+
" payer_id: #{@payer_id}, payer_number: #{@payer_number}, page_size: #{@page_size},"\
|
248
|
+
" request_id: #{@request_id}, col_co_code: #{@col_co_code}, col_co_country_code:"\
|
249
|
+
" #{@col_co_country_code}, current_page: #{@current_page}, invoice_points_only:"\
|
250
|
+
" #{@invoice_points_only}, col_co_id: #{@col_co_id}, return_tolls_customer_id:"\
|
251
|
+
" #{@return_tolls_customer_id}, accounts: #{@accounts}, account_name: #{@account_name},"\
|
252
|
+
" status_list: #{@status_list}>"
|
253
|
+
end
|
254
|
+
|
255
|
+
# Provides a debugging-friendly string with detailed object information.
|
256
|
+
def inspect
|
257
|
+
class_name = self.class.name.split('::').last
|
258
|
+
"<#{class_name} status: #{@status.inspect}, include_card_summary:"\
|
259
|
+
" #{@include_card_summary.inspect}, payer_id: #{@payer_id.inspect}, payer_number:"\
|
260
|
+
" #{@payer_number.inspect}, page_size: #{@page_size.inspect}, request_id:"\
|
261
|
+
" #{@request_id.inspect}, col_co_code: #{@col_co_code.inspect}, col_co_country_code:"\
|
262
|
+
" #{@col_co_country_code.inspect}, current_page: #{@current_page.inspect},"\
|
263
|
+
" invoice_points_only: #{@invoice_points_only.inspect}, col_co_id: #{@col_co_id.inspect},"\
|
264
|
+
" return_tolls_customer_id: #{@return_tolls_customer_id.inspect}, accounts:"\
|
265
|
+
" #{@accounts.inspect}, account_name: #{@account_name.inspect}, status_list:"\
|
266
|
+
" #{@status_list.inspect}>"
|
267
|
+
end
|
242
268
|
end
|
243
269
|
end
|
@@ -103,5 +103,21 @@ module ShellDataReportingApIs
|
|
103
103
|
error,
|
104
104
|
request_id)
|
105
105
|
end
|
106
|
+
|
107
|
+
# Provides a human-readable string representation of the object.
|
108
|
+
def to_s
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} accounts: #{@accounts}, current_page: #{@current_page}, row_count:"\
|
111
|
+
" #{@row_count}, total_pages: #{@total_pages}, error: #{@error}, request_id:"\
|
112
|
+
" #{@request_id}>"
|
113
|
+
end
|
114
|
+
|
115
|
+
# Provides a debugging-friendly string with detailed object information.
|
116
|
+
def inspect
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} accounts: #{@accounts.inspect}, current_page: #{@current_page.inspect},"\
|
119
|
+
" row_count: #{@row_count.inspect}, total_pages: #{@total_pages.inspect}, error:"\
|
120
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
121
|
+
end
|
106
122
|
end
|
107
123
|
end
|
@@ -722,5 +722,84 @@ module ShellDataReportingApIs
|
|
722
722
|
contracts,
|
723
723
|
is_consortium_member)
|
724
724
|
end
|
725
|
+
|
726
|
+
# Provides a human-readable string representation of the object.
|
727
|
+
def to_s
|
728
|
+
class_name = self.class.name.split('::').last
|
729
|
+
"<#{class_name} account_full_name: #{@account_full_name}, account_id: #{@account_id},"\
|
730
|
+
" account_number: #{@account_number}, account_short_name: #{@account_short_name},"\
|
731
|
+
" best_of_indicator: #{@best_of_indicator}, billing_frequency_type:"\
|
732
|
+
" #{@billing_frequency_type}, billing_frequency_type_id: #{@billing_frequency_type_id},"\
|
733
|
+
" billing_run_frequency: #{@billing_run_frequency}, billing_run_frequency_type_id:"\
|
734
|
+
" #{@billing_run_frequency_type_id}, col_co_country_code: #{@col_co_country_code},"\
|
735
|
+
" currency_code: #{@currency_code}, currency_symbol: #{@currency_symbol}, day1_run:"\
|
736
|
+
" #{@day1_run}, day2_run: #{@day2_run}, day3_run: #{@day3_run}, day4_run: #{@day4_run},"\
|
737
|
+
" frequency_type: #{@frequency_type}, gross_amount: #{@gross_amount},"\
|
738
|
+
" international_pos_language_code: #{@international_pos_language_code},"\
|
739
|
+
" international_pos_language_id: #{@international_pos_language_id}, invoice_account_id:"\
|
740
|
+
" #{@invoice_account_id}, invoice_account_number: #{@invoice_account_number},"\
|
741
|
+
" invoice_account_short_name: #{@invoice_account_short_name}, invoice_distribution_methods:"\
|
742
|
+
" #{@invoice_distribution_methods}, is_international: #{@is_international},"\
|
743
|
+
" is_invoice_point: #{@is_invoice_point}, last_modified_date: #{@last_modified_date},"\
|
744
|
+
" local_currency_code: #{@local_currency_code}, local_currency_symbol:"\
|
745
|
+
" #{@local_currency_symbol}, local_pos_language_code: #{@local_pos_language_code},"\
|
746
|
+
" local_pos_language_id: #{@local_pos_language_id}, net_amount: #{@net_amount},"\
|
747
|
+
" outstanding_balance: #{@outstanding_balance}, paid_amount: #{@paid_amount}, status:"\
|
748
|
+
" #{@status}, status_reason: #{@status_reason}, total_active_card_groups:"\
|
749
|
+
" #{@total_active_card_groups}, total_active_cards: #{@total_active_cards},"\
|
750
|
+
" total_blocked_cards: #{@total_blocked_cards}, total_cancelled_cards:"\
|
751
|
+
" #{@total_cancelled_cards}, total_cards: #{@total_cards}, total_expired_cards:"\
|
752
|
+
" #{@total_expired_cards}, total_fraud_cards: #{@total_fraud_cards}, total_new_cards:"\
|
753
|
+
" #{@total_new_cards}, total_renewal_pending_cards: #{@total_renewal_pending_cards},"\
|
754
|
+
" total_replaced_cards: #{@total_replaced_cards}, total_temporary_block_cards_by_customer:"\
|
755
|
+
" #{@total_temporary_block_cards_by_customer}, total_temporary_block_cards_by_shell:"\
|
756
|
+
" #{@total_temporary_block_cards_by_shell}, vat_amount: #{@vat_amount}, is_partner_card:"\
|
757
|
+
" #{@is_partner_card}, tolls_customer_id: #{@tolls_customer_id},"\
|
758
|
+
" tolls_colco_country_type_id: #{@tolls_colco_country_type_id}, contracts: #{@contracts},"\
|
759
|
+
" is_consortium_member: #{@is_consortium_member}>"
|
760
|
+
end
|
761
|
+
|
762
|
+
# Provides a debugging-friendly string with detailed object information.
|
763
|
+
def inspect
|
764
|
+
class_name = self.class.name.split('::').last
|
765
|
+
"<#{class_name} account_full_name: #{@account_full_name.inspect}, account_id:"\
|
766
|
+
" #{@account_id.inspect}, account_number: #{@account_number.inspect}, account_short_name:"\
|
767
|
+
" #{@account_short_name.inspect}, best_of_indicator: #{@best_of_indicator.inspect},"\
|
768
|
+
" billing_frequency_type: #{@billing_frequency_type.inspect}, billing_frequency_type_id:"\
|
769
|
+
" #{@billing_frequency_type_id.inspect}, billing_run_frequency:"\
|
770
|
+
" #{@billing_run_frequency.inspect}, billing_run_frequency_type_id:"\
|
771
|
+
" #{@billing_run_frequency_type_id.inspect}, col_co_country_code:"\
|
772
|
+
" #{@col_co_country_code.inspect}, currency_code: #{@currency_code.inspect},"\
|
773
|
+
" currency_symbol: #{@currency_symbol.inspect}, day1_run: #{@day1_run.inspect}, day2_run:"\
|
774
|
+
" #{@day2_run.inspect}, day3_run: #{@day3_run.inspect}, day4_run: #{@day4_run.inspect},"\
|
775
|
+
" frequency_type: #{@frequency_type.inspect}, gross_amount: #{@gross_amount.inspect},"\
|
776
|
+
" international_pos_language_code: #{@international_pos_language_code.inspect},"\
|
777
|
+
" international_pos_language_id: #{@international_pos_language_id.inspect},"\
|
778
|
+
" invoice_account_id: #{@invoice_account_id.inspect}, invoice_account_number:"\
|
779
|
+
" #{@invoice_account_number.inspect}, invoice_account_short_name:"\
|
780
|
+
" #{@invoice_account_short_name.inspect}, invoice_distribution_methods:"\
|
781
|
+
" #{@invoice_distribution_methods.inspect}, is_international: #{@is_international.inspect},"\
|
782
|
+
" is_invoice_point: #{@is_invoice_point.inspect}, last_modified_date:"\
|
783
|
+
" #{@last_modified_date.inspect}, local_currency_code: #{@local_currency_code.inspect},"\
|
784
|
+
" local_currency_symbol: #{@local_currency_symbol.inspect}, local_pos_language_code:"\
|
785
|
+
" #{@local_pos_language_code.inspect}, local_pos_language_id:"\
|
786
|
+
" #{@local_pos_language_id.inspect}, net_amount: #{@net_amount.inspect},"\
|
787
|
+
" outstanding_balance: #{@outstanding_balance.inspect}, paid_amount:"\
|
788
|
+
" #{@paid_amount.inspect}, status: #{@status.inspect}, status_reason:"\
|
789
|
+
" #{@status_reason.inspect}, total_active_card_groups: #{@total_active_card_groups.inspect},"\
|
790
|
+
" total_active_cards: #{@total_active_cards.inspect}, total_blocked_cards:"\
|
791
|
+
" #{@total_blocked_cards.inspect}, total_cancelled_cards: #{@total_cancelled_cards.inspect},"\
|
792
|
+
" total_cards: #{@total_cards.inspect}, total_expired_cards:"\
|
793
|
+
" #{@total_expired_cards.inspect}, total_fraud_cards: #{@total_fraud_cards.inspect},"\
|
794
|
+
" total_new_cards: #{@total_new_cards.inspect}, total_renewal_pending_cards:"\
|
795
|
+
" #{@total_renewal_pending_cards.inspect}, total_replaced_cards:"\
|
796
|
+
" #{@total_replaced_cards.inspect}, total_temporary_block_cards_by_customer:"\
|
797
|
+
" #{@total_temporary_block_cards_by_customer.inspect}, total_temporary_block_cards_by_shell:"\
|
798
|
+
" #{@total_temporary_block_cards_by_shell.inspect}, vat_amount: #{@vat_amount.inspect},"\
|
799
|
+
" is_partner_card: #{@is_partner_card.inspect}, tolls_customer_id:"\
|
800
|
+
" #{@tolls_customer_id.inspect}, tolls_colco_country_type_id:"\
|
801
|
+
" #{@tolls_colco_country_type_id.inspect}, contracts: #{@contracts.inspect},"\
|
802
|
+
" is_consortium_member: #{@is_consortium_member.inspect}>"
|
803
|
+
end
|
725
804
|
end
|
726
805
|
end
|
@@ -60,5 +60,18 @@ module ShellDataReportingApIs
|
|
60
60
|
Accounts.new(account_id,
|
61
61
|
account_number)
|
62
62
|
end
|
63
|
+
|
64
|
+
# Provides a human-readable string representation of the object.
|
65
|
+
def to_s
|
66
|
+
class_name = self.class.name.split('::').last
|
67
|
+
"<#{class_name} account_id: #{@account_id}, account_number: #{@account_number}>"
|
68
|
+
end
|
69
|
+
|
70
|
+
# Provides a debugging-friendly string with detailed object information.
|
71
|
+
def inspect
|
72
|
+
class_name = self.class.name.split('::').last
|
73
|
+
"<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
|
74
|
+
" #{@account_number.inspect}>"
|
75
|
+
end
|
63
76
|
end
|
64
77
|
end
|
@@ -163,5 +163,26 @@ module ShellDataReportingApIs
|
|
163
163
|
email_address,
|
164
164
|
fax)
|
165
165
|
end
|
166
|
+
|
167
|
+
# Provides a human-readable string representation of the object.
|
168
|
+
def to_s
|
169
|
+
class_name = self.class.name.split('::').last
|
170
|
+
"<#{class_name} address_id: #{@address_id}, address_line1: #{@address_line1},"\
|
171
|
+
" address_line2: #{@address_line2}, address_line3: #{@address_line3}, zip_code:"\
|
172
|
+
" #{@zip_code}, city: #{@city}, region_id: #{@region_id}, country_iso_code:"\
|
173
|
+
" #{@country_iso_code}, country: #{@country}, telephone: #{@telephone}, email_address:"\
|
174
|
+
" #{@email_address}, fax: #{@fax}>"
|
175
|
+
end
|
176
|
+
|
177
|
+
# Provides a debugging-friendly string with detailed object information.
|
178
|
+
def inspect
|
179
|
+
class_name = self.class.name.split('::').last
|
180
|
+
"<#{class_name} address_id: #{@address_id.inspect}, address_line1:"\
|
181
|
+
" #{@address_line1.inspect}, address_line2: #{@address_line2.inspect}, address_line3:"\
|
182
|
+
" #{@address_line3.inspect}, zip_code: #{@zip_code.inspect}, city: #{@city.inspect},"\
|
183
|
+
" region_id: #{@region_id.inspect}, country_iso_code: #{@country_iso_code.inspect}, country:"\
|
184
|
+
" #{@country.inspect}, telephone: #{@telephone.inspect}, email_address:"\
|
185
|
+
" #{@email_address.inspect}, fax: #{@fax.inspect}>"
|
186
|
+
end
|
166
187
|
end
|
167
188
|
end
|
@@ -94,5 +94,23 @@ module ShellDataReportingApIs
|
|
94
94
|
associated_account_short_name,
|
95
95
|
associated_account_full_name)
|
96
96
|
end
|
97
|
+
|
98
|
+
# Provides a human-readable string representation of the object.
|
99
|
+
def to_s
|
100
|
+
class_name = self.class.name.split('::').last
|
101
|
+
"<#{class_name} associated_account_id: #{@associated_account_id},"\
|
102
|
+
" associated_account_number: #{@associated_account_number}, associated_account_short_name:"\
|
103
|
+
" #{@associated_account_short_name}, associated_account_full_name:"\
|
104
|
+
" #{@associated_account_full_name}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} associated_account_id: #{@associated_account_id.inspect},"\
|
111
|
+
" associated_account_number: #{@associated_account_number.inspect},"\
|
112
|
+
" associated_account_short_name: #{@associated_account_short_name.inspect},"\
|
113
|
+
" associated_account_full_name: #{@associated_account_full_name.inspect}>"
|
114
|
+
end
|
97
115
|
end
|
98
116
|
end
|
@@ -244,5 +244,26 @@ module ShellDataReportingApIs
|
|
244
244
|
from_date,
|
245
245
|
to_date)
|
246
246
|
end
|
247
|
+
|
248
|
+
# Provides a human-readable string representation of the object.
|
249
|
+
def to_s
|
250
|
+
class_name = self.class.name.split('::').last
|
251
|
+
"<#{class_name} status: #{@status}, payer_number: #{@payer_number}, payer_id: #{@payer_id},"\
|
252
|
+
" account_number: #{@account_number}, col_co_code: #{@col_co_code}, col_co_id:"\
|
253
|
+
" #{@col_co_id}, accounts: #{@accounts}, page_size: #{@page_size}, requested_operation:"\
|
254
|
+
" #{@requested_operation}, sort_order: #{@sort_order}, search_text: #{@search_text},"\
|
255
|
+
" current_page: #{@current_page}, from_date: #{@from_date}, to_date: #{@to_date}>"
|
256
|
+
end
|
257
|
+
|
258
|
+
# Provides a debugging-friendly string with detailed object information.
|
259
|
+
def inspect
|
260
|
+
class_name = self.class.name.split('::').last
|
261
|
+
"<#{class_name} status: #{@status.inspect}, payer_number: #{@payer_number.inspect},"\
|
262
|
+
" payer_id: #{@payer_id.inspect}, account_number: #{@account_number.inspect}, col_co_code:"\
|
263
|
+
" #{@col_co_code.inspect}, col_co_id: #{@col_co_id.inspect}, accounts: #{@accounts.inspect},"\
|
264
|
+
" page_size: #{@page_size.inspect}, requested_operation: #{@requested_operation.inspect},"\
|
265
|
+
" sort_order: #{@sort_order.inspect}, search_text: #{@search_text.inspect}, current_page:"\
|
266
|
+
" #{@current_page.inspect}, from_date: #{@from_date.inspect}, to_date: #{@to_date.inspect}>"
|
267
|
+
end
|
247
268
|
end
|
248
269
|
end
|
@@ -103,5 +103,21 @@ module ShellDataReportingApIs
|
|
103
103
|
error,
|
104
104
|
request_id)
|
105
105
|
end
|
106
|
+
|
107
|
+
# Provides a human-readable string representation of the object.
|
108
|
+
def to_s
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} audits: #{@audits}, current_page: #{@current_page}, row_count:"\
|
111
|
+
" #{@row_count}, total_pages: #{@total_pages}, error: #{@error}, request_id:"\
|
112
|
+
" #{@request_id}>"
|
113
|
+
end
|
114
|
+
|
115
|
+
# Provides a debugging-friendly string with detailed object information.
|
116
|
+
def inspect
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} audits: #{@audits.inspect}, current_page: #{@current_page.inspect},"\
|
119
|
+
" row_count: #{@row_count.inspect}, total_pages: #{@total_pages.inspect}, error:"\
|
120
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
121
|
+
end
|
106
122
|
end
|
107
123
|
end
|
@@ -433,5 +433,51 @@ module ShellDataReportingApIs
|
|
433
433
|
sub_request_reference,
|
434
434
|
user_display_name)
|
435
435
|
end
|
436
|
+
|
437
|
+
# Provides a human-readable string representation of the object.
|
438
|
+
def to_s
|
439
|
+
class_name = self.class.name.split('::').last
|
440
|
+
"<#{class_name} account_id: #{@account_id}, account_number: #{@account_number},"\
|
441
|
+
" additional_information1: #{@additional_information1}, additional_information2:"\
|
442
|
+
" #{@additional_information2}, additional_information3: #{@additional_information3},"\
|
443
|
+
" additional_information4: #{@additional_information4}, additional_information5:"\
|
444
|
+
" #{@additional_information5}, additional_information6: #{@additional_information6},"\
|
445
|
+
" additional_information7: #{@additional_information7}, additional_information8:"\
|
446
|
+
" #{@additional_information8}, additional_information9: #{@additional_information9},"\
|
447
|
+
" card_group_id: #{@card_group_id}, card_group_name: #{@card_group_name}, card_id:"\
|
448
|
+
" #{@card_id}, col_co_code: #{@col_co_code}, col_co_id: #{@col_co_id}, error_code:"\
|
449
|
+
" #{@error_code}, error_string: #{@error_string}, global_request_id: #{@global_request_id},"\
|
450
|
+
" pan: #{@pan}, payer_id: #{@payer_id}, payer_number: #{@payer_number}, processed_on:"\
|
451
|
+
" #{@processed_on}, requested_by: #{@requested_by}, requested_operation:"\
|
452
|
+
" #{@requested_operation}, request_reference: #{@request_reference}, request_type:"\
|
453
|
+
" #{@request_type}, status: #{@status}, submitted_on: #{@submitted_on},"\
|
454
|
+
" sub_request_reference: #{@sub_request_reference}, user_display_name:"\
|
455
|
+
" #{@user_display_name}>"
|
456
|
+
end
|
457
|
+
|
458
|
+
# Provides a debugging-friendly string with detailed object information.
|
459
|
+
def inspect
|
460
|
+
class_name = self.class.name.split('::').last
|
461
|
+
"<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
|
462
|
+
" #{@account_number.inspect}, additional_information1: #{@additional_information1.inspect},"\
|
463
|
+
" additional_information2: #{@additional_information2.inspect}, additional_information3:"\
|
464
|
+
" #{@additional_information3.inspect}, additional_information4:"\
|
465
|
+
" #{@additional_information4.inspect}, additional_information5:"\
|
466
|
+
" #{@additional_information5.inspect}, additional_information6:"\
|
467
|
+
" #{@additional_information6.inspect}, additional_information7:"\
|
468
|
+
" #{@additional_information7.inspect}, additional_information8:"\
|
469
|
+
" #{@additional_information8.inspect}, additional_information9:"\
|
470
|
+
" #{@additional_information9.inspect}, card_group_id: #{@card_group_id.inspect},"\
|
471
|
+
" card_group_name: #{@card_group_name.inspect}, card_id: #{@card_id.inspect}, col_co_code:"\
|
472
|
+
" #{@col_co_code.inspect}, col_co_id: #{@col_co_id.inspect}, error_code:"\
|
473
|
+
" #{@error_code.inspect}, error_string: #{@error_string.inspect}, global_request_id:"\
|
474
|
+
" #{@global_request_id.inspect}, pan: #{@pan.inspect}, payer_id: #{@payer_id.inspect},"\
|
475
|
+
" payer_number: #{@payer_number.inspect}, processed_on: #{@processed_on.inspect},"\
|
476
|
+
" requested_by: #{@requested_by.inspect}, requested_operation:"\
|
477
|
+
" #{@requested_operation.inspect}, request_reference: #{@request_reference.inspect},"\
|
478
|
+
" request_type: #{@request_type.inspect}, status: #{@status.inspect}, submitted_on:"\
|
479
|
+
" #{@submitted_on.inspect}, sub_request_reference: #{@sub_request_reference.inspect},"\
|
480
|
+
" user_display_name: #{@user_display_name.inspect}>"
|
481
|
+
end
|
436
482
|
end
|
437
483
|
end
|
@@ -180,5 +180,27 @@ module ShellDataReportingApIs
|
|
180
180
|
swift_code,
|
181
181
|
bank_type)
|
182
182
|
end
|
183
|
+
|
184
|
+
# Provides a human-readable string representation of the object.
|
185
|
+
def to_s
|
186
|
+
class_name = self.class.name.split('::').last
|
187
|
+
"<#{class_name} account_number: #{@account_number}, bank_name: #{@bank_name}, account_name:"\
|
188
|
+
" #{@account_name}, date_effective: #{@date_effective}, date_terminated:"\
|
189
|
+
" #{@date_terminated}, iban: #{@iban}, currency_code: #{@currency_code}, currency_symbol:"\
|
190
|
+
" #{@currency_symbol}, country_iso_code: #{@country_iso_code}, country: #{@country},"\
|
191
|
+
" sort_code: #{@sort_code}, swift_code: #{@swift_code}, bank_type: #{@bank_type}>"
|
192
|
+
end
|
193
|
+
|
194
|
+
# Provides a debugging-friendly string with detailed object information.
|
195
|
+
def inspect
|
196
|
+
class_name = self.class.name.split('::').last
|
197
|
+
"<#{class_name} account_number: #{@account_number.inspect}, bank_name:"\
|
198
|
+
" #{@bank_name.inspect}, account_name: #{@account_name.inspect}, date_effective:"\
|
199
|
+
" #{@date_effective.inspect}, date_terminated: #{@date_terminated.inspect}, iban:"\
|
200
|
+
" #{@iban.inspect}, currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
201
|
+
" #{@currency_symbol.inspect}, country_iso_code: #{@country_iso_code.inspect}, country:"\
|
202
|
+
" #{@country.inspect}, sort_code: #{@sort_code.inspect}, swift_code: #{@swift_code.inspect},"\
|
203
|
+
" bank_type: #{@bank_type.inspect}>"
|
204
|
+
end
|
183
205
|
end
|
184
206
|
end
|
@@ -406,5 +406,50 @@ module ShellDataReportingApIs
|
|
406
406
|
associated_accounts,
|
407
407
|
fee_rule_products)
|
408
408
|
end
|
409
|
+
|
410
|
+
# Provides a human-readable string representation of the object.
|
411
|
+
def to_s
|
412
|
+
class_name = self.class.name.split('::').last
|
413
|
+
"<#{class_name} pricing_account_id: #{@pricing_account_id}, pricing_account_number:"\
|
414
|
+
" #{@pricing_account_number}, pricing_account_short_name: #{@pricing_account_short_name},"\
|
415
|
+
" pricing_account_full_name: #{@pricing_account_full_name}, fee_rule_id: #{@fee_rule_id},"\
|
416
|
+
" fee_rule_description: #{@fee_rule_description}, fee_rule_date_effective:"\
|
417
|
+
" #{@fee_rule_date_effective}, fee_rule_date_terminated: #{@fee_rule_date_terminated},"\
|
418
|
+
" bonus_paid_to: #{@bonus_paid_to}, bonus_paid_to_account_id: #{@bonus_paid_to_account_id},"\
|
419
|
+
" bonus_paid_to_account_number: #{@bonus_paid_to_account_number},"\
|
420
|
+
" bonus_paid_to_account_short_name: #{@bonus_paid_to_account_short_name},"\
|
421
|
+
" bonus_paid_to_account_full_name: #{@bonus_paid_to_account_full_name}, frequency:"\
|
422
|
+
" #{@frequency}, next_calculation_date: #{@next_calculation_date}, previous_calculated_date:"\
|
423
|
+
" #{@previous_calculated_date}, fee_rule_basis: #{@fee_rule_basis}, fee_rule_currency_code:"\
|
424
|
+
" #{@fee_rule_currency_code}, fee_rule_currency_symbol: #{@fee_rule_currency_symbol},"\
|
425
|
+
" fee_rule_available_from: #{@fee_rule_available_from}, fee_rule_available_to:"\
|
426
|
+
" #{@fee_rule_available_to}, fee_rule_locations: #{@fee_rule_locations}, fee_rule_tiers:"\
|
427
|
+
" #{@fee_rule_tiers}, associated_accounts: #{@associated_accounts}, fee_rule_products:"\
|
428
|
+
" #{@fee_rule_products}>"
|
429
|
+
end
|
430
|
+
|
431
|
+
# Provides a debugging-friendly string with detailed object information.
|
432
|
+
def inspect
|
433
|
+
class_name = self.class.name.split('::').last
|
434
|
+
"<#{class_name} pricing_account_id: #{@pricing_account_id.inspect}, pricing_account_number:"\
|
435
|
+
" #{@pricing_account_number.inspect}, pricing_account_short_name:"\
|
436
|
+
" #{@pricing_account_short_name.inspect}, pricing_account_full_name:"\
|
437
|
+
" #{@pricing_account_full_name.inspect}, fee_rule_id: #{@fee_rule_id.inspect},"\
|
438
|
+
" fee_rule_description: #{@fee_rule_description.inspect}, fee_rule_date_effective:"\
|
439
|
+
" #{@fee_rule_date_effective.inspect}, fee_rule_date_terminated:"\
|
440
|
+
" #{@fee_rule_date_terminated.inspect}, bonus_paid_to: #{@bonus_paid_to.inspect},"\
|
441
|
+
" bonus_paid_to_account_id: #{@bonus_paid_to_account_id.inspect},"\
|
442
|
+
" bonus_paid_to_account_number: #{@bonus_paid_to_account_number.inspect},"\
|
443
|
+
" bonus_paid_to_account_short_name: #{@bonus_paid_to_account_short_name.inspect},"\
|
444
|
+
" bonus_paid_to_account_full_name: #{@bonus_paid_to_account_full_name.inspect}, frequency:"\
|
445
|
+
" #{@frequency.inspect}, next_calculation_date: #{@next_calculation_date.inspect},"\
|
446
|
+
" previous_calculated_date: #{@previous_calculated_date.inspect}, fee_rule_basis:"\
|
447
|
+
" #{@fee_rule_basis.inspect}, fee_rule_currency_code: #{@fee_rule_currency_code.inspect},"\
|
448
|
+
" fee_rule_currency_symbol: #{@fee_rule_currency_symbol.inspect}, fee_rule_available_from:"\
|
449
|
+
" #{@fee_rule_available_from.inspect}, fee_rule_available_to:"\
|
450
|
+
" #{@fee_rule_available_to.inspect}, fee_rule_locations: #{@fee_rule_locations.inspect},"\
|
451
|
+
" fee_rule_tiers: #{@fee_rule_tiers.inspect}, associated_accounts:"\
|
452
|
+
" #{@associated_accounts.inspect}, fee_rule_products: #{@fee_rule_products.inspect}>"
|
453
|
+
end
|
409
454
|
end
|
410
455
|
end
|